From 5779eb0855a25bbad68d369170465b3045c3f50a Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 4 Jan 2017 12:12:39 +0100 Subject: [PATCH] Added UI principles. --- .../app/controllers/layout_ref.coffee | 10 ++++++++ .../app/views/layout_ref/index.jst.eco | 1 + .../app/views/layout_ref/ui.jst.eco | 23 +++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 app/assets/javascripts/app/views/layout_ref/ui.jst.eco diff --git a/app/assets/javascripts/app/controllers/layout_ref.coffee b/app/assets/javascripts/app/controllers/layout_ref.coffee index 576122660..54e800d00 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.coffee +++ b/app/assets/javascripts/app/controllers/layout_ref.coffee @@ -2193,6 +2193,16 @@ class TwitterConversationRef extends App.ControllerContent App.Config.set( 'layout_ref/twitter_conversation', TwitterConversationRef, 'Routes' ) +class UI extends App.ControllerContent + constructor: -> + super + @render() + + render: -> + @html App.view('layout_ref/ui')() + +App.Config.set( 'layout_ref/ui', UI, 'Routes' ) + class ChatToTicketRef extends App.ControllerContent elements: diff --git a/app/assets/javascripts/app/views/layout_ref/index.jst.eco b/app/assets/javascripts/app/views/layout_ref/index.jst.eco index 1f1130877..adc833eac 100644 --- a/app/assets/javascripts/app/views/layout_ref/index.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/index.jst.eco @@ -3,6 +3,7 @@

Layout Reference