Add default navbar and left panel

This commit is contained in:
Xavier J 2016-11-28 10:15:11 +01:00
parent 74809b33ce
commit f4b483976c
6 changed files with 12 additions and 2 deletions

View file

@ -15,7 +15,10 @@
%div.col-lg-10.col-md-10.no-padding
%div#navbar-body
%div.row
= render partial: @navbar_url
-begin
= render partial: @navbar_url
-rescue
= render partial: 'layouts/navbars/navbar_default'
%div.col-lg-1.col-md-1.log-options
%span.fa.fa-sign-out

View file

@ -26,7 +26,10 @@
= render partial: "layouts/navbar"
%div.row.no-margin
%div.col-lg-2.col-md-2#left-pannel
= render partial: @left_pannel_url
- begin
= render partial: @left_pannel_url
-rescue
= render partial: 'layouts/left_panels/left_panel_default'
%div.col-lg-10.col-md-10#main-container
%div.row
= render partial: 'layouts/flash_messages'

View file

@ -0,0 +1,2 @@
%div
Default Left Panel

View file

@ -0,0 +1,2 @@
.col-lg-10.col-md-10
Default navbar