Admin area using side nav

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-12-21 00:23:17 +02:00
parent b667a45942
commit abd83baeab
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 11 additions and 8 deletions

View File

@ -1,13 +1,16 @@
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Admin area"
%body{class: "#{app_theme} admin", :'data-page' => body_data_page}
%body{class: "#{app_theme} sidenav admin", :'data-page' => body_data_page}
= render "layouts/broadcast"
= render "layouts/head_panel", title: "Admin area"
%nav.main-nav.navbar-collapse.collapse
.container= render 'layouts/nav/admin'
.container
.page-with-sidebar
.sidebar-wrapper
= render 'layouts/nav/admin'
.content-wrapper
.container-fluid
.content
= render "layouts/flash"
.clearfix
= yield
= yield :embedded_scripts

View File

@ -1,4 +1,4 @@
%ul
%ul.nav-sidebar.navbar-collapse.collapse
= nav_link(controller: :dashboard, html_options: {class: 'home'}) do
= link_to admin_root_path, title: "Stats" do
Overview