Logo france connect navbar

This commit is contained in:
Xavier J 2015-10-08 12:11:01 +02:00
parent 728150b148
commit e678216ca8
5 changed files with 8 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

View file

@ -84,3 +84,7 @@ textarea#description {
input#nom_projet {
width: 100%;
}
.logo_fc_small {
max-width: 27px;
}

View file

@ -19,7 +19,10 @@
= link_to "Déconnexion", '/gestionnaires/sign_out', method: :delete, :class => 'btn btn-md'
- elsif user_signed_in?
%div.user{style: 'decorate:none; box-shadow:none; float:right; margin-top:8px'}
%i.fa.fa-user
-if current_user.loged_in_with_france_connect
%img.logo_fc_small{src: '/assets/logo_FC_02_small.png'}
-else
%i.fa.fa-user
= current_user.email
= link_to "Déconnexion", '/users/sign_out', method: :delete, :class => 'btn btn-md'