Merge pull request #674 from sgmap/design_switch

New_design: add design switch button
This commit is contained in:
LeSim 2017-08-29 15:27:01 +02:00 committed by Mathieu Magnin
commit a8b5e53fc5
5 changed files with 27 additions and 2 deletions

View file

@ -28,6 +28,7 @@
.header-tabs {
li {
display: inline-block;
padding: $default-padding;
}
a {
@ -39,6 +40,10 @@
color: $blue;
border-bottom: 2px solid $blue;
}
&:not(.active):hover {
background-color: $light-grey;
}
}
}

View file

@ -1,6 +1,21 @@
.new-design-button {
color: #FFFFFF;
display: block;
font-size: 20px;
margin: 16px 0;
padding: 8px;
text-align: center;
border: 1px solid #FFFFFF;
border-radius: 15px;
&:hover {
background-color: #668ABD;
color: #FFFFFF;
}
}
#search-block {
margin: 15px 10px 0 10px;
height: 30px;
}
#search-button {

View file

@ -9,6 +9,8 @@
%ul.header-tabs
%li
= link_to "Procédures", procedures_path, class: "active"
%li
= link_to "Ancienne interface", backoffice_dossiers_path
%ul.header-right-content
- if gestionnaire_signed_in?

View file

@ -12,7 +12,7 @@
Usager
- if gestionnaire_signed_in?
%li
= link_to(procedures_path) do
= link_to(backoffice_dossiers_path) do
%i.fa.fa-user
 
Accompagnateur

View file

@ -1,3 +1,6 @@
- if gestionnaire_signed_in?
= link_to 'nouvelle interface', procedures_path, class: 'new-design-button'
#search-area
= form_tag(backoffice_dossiers_search_url, method: :get) do
.input-group