use backoffice-header in views
This commit is contained in:
parent
c0eeec82c4
commit
9aac9ba7cd
3 changed files with 62 additions and 70 deletions
|
@ -3,14 +3,6 @@
|
|||
@import "constants";
|
||||
|
||||
#procedure-show {
|
||||
.header {
|
||||
background-color: $light-grey;
|
||||
padding-top: $default-padding;
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.procedure-logo {
|
||||
margin-right: $default-padding;
|
||||
}
|
||||
|
@ -71,7 +63,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dossiers-table {
|
||||
margin: (2 * $default-padding) auto;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
.container
|
||||
.backoffice-header
|
||||
.container
|
||||
%ul.tabs
|
||||
%li
|
||||
= link_to "Demande", "#", class: ("selected" if request.path == dossier_path(dossier.procedure, dossier))
|
||||
= link_to "Demande", "#", class: ("selected" if current_page?(dossier_path(dossier.procedure, dossier)))
|
||||
%li
|
||||
= link_to "Instruction", "#"
|
||||
%li
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#procedure-show
|
||||
.header
|
||||
.container
|
||||
.backoffice-header
|
||||
.container.flex
|
||||
- if @procedure.logo.present?
|
||||
= image_tag @procedure.logo, height: 40, class: 'procedure-logo'
|
||||
|
||||
|
|
Loading…
Reference in a new issue