Add default navbar and left panel
This commit is contained in:
parent
74809b33ce
commit
f4b483976c
6 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
%div
|
||||
Default Left Panel
|
2
app/views/layouts/navbars/_navbar_default.html.haml
Normal file
2
app/views/layouts/navbars/_navbar_default.html.haml
Normal file
|
@ -0,0 +1,2 @@
|
|||
.col-lg-10.col-md-10
|
||||
Default navbar
|
Loading…
Reference in a new issue