Minor html/css change
This commit is contained in:
parent
d3ab6f8619
commit
2e2424ec3f
2 changed files with 26 additions and 25 deletions
|
@ -1,6 +1,17 @@
|
||||||
#switch-menu {
|
#switch-menu {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 10px;
|
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
z-index: 300;
|
z-index: 300;
|
||||||
|
color:#ffffff;
|
||||||
|
list-style: none;
|
||||||
|
text-decoration : none;
|
||||||
|
padding-left: 20px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#switch-menu a, #switch-menu a:link , #switch-menu a:visited , #switch-menu a:hover {
|
||||||
|
text-decoration : none;
|
||||||
|
color:#ffffff;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,15 @@
|
||||||
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
|
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
|
||||||
#switch-menu.dropdown.dropup
|
%ul#switch-menu
|
||||||
%button.btn.btn-default.dropdown-toggle{ type: :button, 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false }
|
%li Tester en tant que...
|
||||||
%i.fa.fa-toggle-on
|
- if user_signed_in?
|
||||||
%span.caret
|
%li
|
||||||
%ul.dropdown-menu.dropdown-menu-left
|
= link_to(dossiers_path, id: :menu_item_procedure, title:'Aller dans votre espace usager. Vous pourrez revenir ici ensuite') do
|
||||||
- if user_signed_in?
|
%i.fa.fa-users
|
||||||
%li
|
|
||||||
= link_to(dossiers_path, id: :menu_item_procedure) do
|
Usager
|
||||||
%i.fa.fa-user
|
- if gestionnaire_signed_in?
|
||||||
|
%li
|
||||||
Usager
|
= link_to(gestionnaire_procedures_path, title:'Aller dans votre espace instructeur. Vous pourrez revenir ici ensuite.') do
|
||||||
- if gestionnaire_signed_in?
|
%i.fa.fa-user
|
||||||
%li
|
|
||||||
= link_to(gestionnaire_procedures_path) do
|
Instructeur
|
||||||
%i.fa.fa-user
|
|
||||||
|
|
||||||
Instructeur
|
|
||||||
|
|
||||||
- if administrateur_signed_in?
|
|
||||||
%li
|
|
||||||
= link_to(admin_procedures_path) do
|
|
||||||
%i.fa.fa-user
|
|
||||||
|
|
||||||
Administrateur
|
|
||||||
|
|
Loading…
Reference in a new issue