Redesign admin roles menu

This commit is contained in:
Chaïb Martinez 2019-02-12 16:18:29 +01:00 committed by Mathieu Magnin
parent b532d6521e
commit 221ed952d1
2 changed files with 14 additions and 15 deletions

View file

@ -2,16 +2,16 @@
position: fixed; position: fixed;
bottom: 10px; bottom: 10px;
z-index: 300; z-index: 300;
color:#ffffff; color: #FFFFFF;
list-style: none; list-style: none;
text-decoration : none; text-decoration: none;
padding-left: 20px; padding-left: 20px;
} }
#switch-menu a, #switch-menu a:link , #switch-menu a:visited , #switch-menu a:hover { #switch-menu a,
text-decoration : none; #switch-menu a:link,
color:#ffffff; #switch-menu a:visited,
#switch-menu a:hover {
text-decoration: none;
color: #FFFFFF;
} }

View file

@ -1,15 +1,14 @@
- if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect? - if SwitchDeviseProfileService.new(warden).multiple_devise_profile_connect?
%ul#switch-menu %ul#switch-menu
%li Changer de rôle... %li
Changer de rôle
- if user_signed_in? - if user_signed_in?
%li %li
= link_to(dossiers_path, id: :menu_item_procedure, title:'Aller dans votre espace usager. Vous pourrez revenir ici ensuite') do = link_to(dossiers_path, id: :menu_item_procedure, title: 'Aller dans votre espace usager. Vous pourrez revenir ici ensuite') do
%i.fa.fa-users %i.fa.fa-users
    Usager
Usager
- if gestionnaire_signed_in? - if gestionnaire_signed_in?
%li %li
= link_to(gestionnaire_procedures_path, title:'Aller dans votre espace instructeur. Vous pourrez revenir ici ensuite.') do = link_to(gestionnaire_procedures_path, title: 'Aller dans votre espace instructeur. Vous pourrez revenir ici ensuite.') do
%i.fa.fa-user %i.fa.fa-user
    Instructeur
Instructeur