New application layout struct for pages

This commit is contained in:
JC 2016-11-21 14:12:59 +01:00
parent 200a99dbae
commit f5ec476416
2 changed files with 17 additions and 15 deletions

View file

@ -28,4 +28,4 @@
#backoffice_dossier_show .nav-tabs { #backoffice_dossier_show .nav-tabs {
display: none; display: none;
} }
} }

View file

@ -1,4 +1,3 @@
!!!
%html %html
%head %head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
@ -22,20 +21,23 @@
="<![endif]-->".html_safe ="<![endif]-->".html_safe
%div#wrap %div#wrap
%div#header.navbar .row
=render partial: "layouts/navbar" %div#header.navbar
=render partial: "layouts/navbar"
#flash_message.center .row
- if flash.notice #left-pannel
.alert.alert-success #main_div
= flash.notice .row
- if flash.alert #flash_message.center
.alert.alert-danger - if flash.notice
= flash.alert .alert.alert-success
#main_div.main_div = flash.notice
= yield - if flash.alert
.alert.alert-danger
%br = flash.alert
.row
= yield
#footer #footer
.container.center .container.center