lib/generators/tmatt_cms/templates/views/layouts/dashboard.html.haml in tmatt_cms-0.1.7 vs lib/generators/tmatt_cms/templates/views/layouts/dashboard.html.haml in tmatt_cms-0.1.8

- old
+ new

@@ -1,19 +1,16 @@ !!! +- html_tag class: 'no-js', lang: 'en' do -- content_for :custom_stylesheets do - = stylesheet_link_tag 'utils/jasny-bootstrap.css' + = render 'head_dashboard' -- html_tag class: 'no-js', lang: 'en' do - = render 'head' - %body{ class: "#{controller.controller_name} #{controller.action_name} dashboard #{('admin' if admin_user_signed_in?)}" } - #main + %body{ class: "#{controller.controller_name} #{controller.action_name} dashboard #{('admin' if admin_signed_in?)}" } + #main.main-blur = render 'chromeframe' = render 'dashboard/partial/sidebar' - .padd-side-lg + = flash_tag + .padd.hidden-xs.hidden-md.hidden-lg + .padd-2 = yield - = render 'javascripts' - = yield :js - = yield :custom_javascripts - = javascript_include_tag 'utils/jasny-bootstrap.js' +