This commit is contained in:
Xavier J 2015-12-08 18:34:43 +01:00
parent 6a471fe867
commit c2fbb246e7
2 changed files with 48 additions and 21 deletions

View file

@ -32,6 +32,31 @@ body {
max-height: 100%;
}
#beta {
text-align: center;
text-transform: uppercase;
position: absolute;
top: 26px;
right: -35px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 150px;
background-color: #008cba;
color: #fff;
padding: 5px;
font-size: 15px;
font-weight: 700;
z-index: 10;
}
#sign_out {
decorate: none;
box-shadow: none;
float: right;
margin-top: 8px;
margin-right: 80px;
}
.alert.alert-success,
.alert.alert-danger {
margin-top: -20px
@ -141,7 +166,6 @@ div.pagination {
color: #a94442;
}
#confirm {
display: none;
}

View file

@ -8,23 +8,26 @@
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
#beta
Beta
%div
%div.navbar
= image_tag('marianne_small.png', class: 'logo')
%a{href: '/', class:'btn btn-lg'}
='TPS'
#sign_out
-if gestionnaire_signed_in?
%div{style: 'decorate:none; box-shadow:none; float:right; margin-top:8px'}
%div
= current_gestionnaire.email
= link_to "Déconnexion", '/gestionnaires/sign_out', method: :delete, :class => 'btn btn-md'
-elsif administrateur_signed_in?
%div{style: 'decorate:none; box-shadow:none; float:right; margin-top:8px'}
%div
= current_administrateur.email
= link_to "Déconnexion", '/administrateurs/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'}
%div.user
-if current_user.loged_in_with_france_connect
= image_tag('logo_FC_02_small.png', class: 'logo_fc_small')
-else