diff --git a/app/assets/images/sprite.svg b/app/assets/images/sprite.svg new file mode 100644 index 000000000..71ccbd44e --- /dev/null +++ b/app/assets/images/sprite.svg @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/app/assets/javascripts/app/controllers/navigation.js.coffee b/app/assets/javascripts/app/controllers/navigation.js.coffee index 62c30caf4..0a06528bd 100644 --- a/app/assets/javascripts/app/controllers/navigation.js.coffee +++ b/app/assets/javascripts/app/controllers/navigation.js.coffee @@ -1,4 +1,6 @@ class App.Navigation extends App.Controller + className: 'navigation flex vertical' + constructor: -> super @render() diff --git a/app/assets/javascripts/app/controllers/notify.js.coffee b/app/assets/javascripts/app/controllers/notify.js.coffee index 60104dd36..4f164a157 100644 --- a/app/assets/javascripts/app/controllers/notify.js.coffee +++ b/app/assets/javascripts/app/controllers/notify.js.coffee @@ -1,5 +1,4 @@ class App.Notify extends Spine.Controller - className: 'container' events: 'click .alert': 'destroy' diff --git a/app/assets/javascripts/app/lib/app_post/interface_handle.js.coffee b/app/assets/javascripts/app/lib/app_post/interface_handle.js.coffee index 49c372518..1f57e568b 100644 --- a/app/assets/javascripts/app/lib/app_post/interface_handle.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/interface_handle.js.coffee @@ -22,13 +22,13 @@ class App.Run extends App.Controller App.Auth.loginCheck() # start navbars - @setupWidget( 'Navigations', 'nav', @el.find('nav') ) + @setupWidget( 'Navigations', 'nav', @el.find('#nav') ) # start widgets - @setupWidget( 'Widgets', 'widget', @el.find('section') ) + @setupWidget( 'Widgets', 'widget', @el ) # start widgets - @setupWidget( 'Footers', 'footer', @el.find('footer') ) + # @setupWidget( 'Footers', 'footer', @el.find('footer') ) # bind to fill selected text into App.ClipBoard.bind( @el ) @@ -47,7 +47,7 @@ class App.Run extends App.Controller App.Event.trigger( event + ':ready') class App.Content extends App.Controller - className: 'content' + className: 'content flex' constructor: -> super diff --git a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco index 2462ec549..f6514f22c 100644 --- a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco +++ b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco @@ -1,4 +1,4 @@ -