beta tag
This commit is contained in:
parent
6a471fe867
commit
c2fbb246e7
2 changed files with 48 additions and 21 deletions
|
@ -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
|
||||
|
@ -129,19 +154,18 @@ div.pagination {
|
|||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.btn-nav.text-info:hover{
|
||||
.btn-nav.text-info:hover {
|
||||
color: #23527c;
|
||||
}
|
||||
|
||||
.btn-nav.text-success:hover{
|
||||
.btn-nav.text-success:hover {
|
||||
color: #3c763d;
|
||||
}
|
||||
|
||||
.btn-nav.text-danger:hover{
|
||||
.btn-nav.text-danger:hover {
|
||||
color: #a94442;
|
||||
}
|
||||
|
||||
|
||||
#confirm {
|
||||
display:none;
|
||||
display: none;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue