diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-28 03:56:10 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-28 03:56:10 +0100 |
commit | f4bc9620a9701db17cb8f651643f65c984e65c27 (patch) | |
tree | 373ecda59f2135b45ba1fda41dcc9ab06560886a /app/views/layouts/admin.html.haml | |
parent | 04bce0cdf28402c3433403f399ee10113f6f5fdf (diff) |
Update settings to re-use admin layout, one big navigation tree, improve settings forms
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r-- | app/views/layouts/admin.html.haml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index 11f76a1de..750d6036f 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -1,14 +1,17 @@ - content_for :header_tags do = javascript_include_tag 'application_public' - + - content_for :content do .admin-wrapper - .sidebar - = link_to root_path do - = image_tag 'logo.png', class: 'logo' + .sidebar-wrapper + .sidebar + = link_to root_path do + = image_tag 'logo.png', class: 'logo' - = render_navigation - .content - = yield + = render_navigation + .content-wrapper + .content + %h2= yield :page_title + = yield -= render template: "layouts/application" += render template: "layouts/application", locals: { body_classes: 'admin' } |