Style: fix backoffice navbar
This commit is contained in:
parent
7b877dc28f
commit
43e6f15c5f
6 changed files with 20 additions and 22 deletions
|
@ -34,7 +34,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#navbar-body {
|
#navbar-body {
|
||||||
height: 60px;
|
min-height: 60px;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
box-shadow: 0 1px 2px 0 rgba(50,50,50,0.5);
|
box-shadow: 0 1px 2px 0 rgba(50,50,50,0.5);
|
||||||
padding-left: 50px;
|
padding-left: 50px;
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 58px;
|
line-height: 58px;
|
||||||
height: 58px;
|
min-height: 58px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
color: #666666;
|
color: #666666;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-right: 1px solid #C8C6C8;
|
border-right: 1px solid #C8C6C8;
|
||||||
height: 60px;
|
min-height: 60px;
|
||||||
.dropdown-toggle {
|
.dropdown-toggle {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
%div.col-lg-8.col-md-8.col-sm-8.col-xs-8.main-info
|
.col-xs-7.main-info
|
||||||
|
|
||||||
%div.col-lg-3.col-md-3.col-sm-3.col-xs-3.options
|
.col-xs-3.options
|
||||||
%div{ style: "decorate:none; display: flex;box-shadow:none; float:right; display: flex; margin-top: 5px" }
|
%div{ style: "decorate:none; display: flex;box-shadow:none; float:right; display: flex; margin-top: 5px" }
|
||||||
%div{ style: "vertical-align: middle; margin-right: 10px; margin-top: auto; margin-bottom: auto;" }
|
%div{ style: "vertical-align: middle; margin-right: 10px; margin-top: auto; margin-bottom: auto;" }
|
||||||
= current_administrateur.email
|
= current_administrateur.email
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%div.col-lg-8.col-md-8.col-sm-8.col-xs-8.main-info
|
.col-xs-7.main-info
|
||||||
= @facade_data_view.procedure_id.nil? ? "Tous les dossiers" : @facade_data_view.procedure.libelle
|
= @facade_data_view.procedure_id.nil? ? "Tous les dossiers" : @facade_data_view.procedure.libelle
|
||||||
%div.col-lg-3.col-md-3.col-sm-3.col-xs-3.options
|
%div.col-lg-3.col-md-3.col-sm-3.col-xs-3.options
|
||||||
%div.row
|
%div.row
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
%div.col-lg-8.col-md-8.col-sm-8.col-xs-8.main-info
|
.col-xs-7.main-info
|
||||||
%span{ 'data-toggle' => :tooltip, "data-placement" => :bottom, title: @facade.dossier.procedure.libelle }
|
%span{ 'data-toggle' => :tooltip, "data-placement" => :bottom, title: @facade.dossier.procedure.libelle }
|
||||||
= @facade.dossier.procedure.libelle
|
= @facade.dossier.procedure.libelle
|
||||||
%div.col-lg-3.col-md-3.col-sm-3.col-xs-3.options
|
.col-xs-3.options
|
||||||
%div.row
|
.row
|
||||||
%div.col-lg-12.col-md-12.col-sm-12.col-xs-12
|
.col-xs-12
|
||||||
- if current_gestionnaire.follow?(@facade.dossier.id)
|
- if current_gestionnaire.follow?(@facade.dossier.id)
|
||||||
= link_to backoffice_dossier_follow_path(dossier_id: @facade.dossier.id), "data-method" => :put, class: "button-navbar-action",id: "suivre_dossier_#{@facade.dossier.id}" do
|
= link_to backoffice_dossier_follow_path(dossier_id: @facade.dossier.id), "data-method" => :put, class: "button-navbar-action",id: "suivre_dossier_#{@facade.dossier.id}" do
|
||||||
%i.fa.fa-user-times
|
%i.fa.fa-user-times
|
||||||
|
@ -12,14 +12,14 @@
|
||||||
= link_to backoffice_dossier_follow_path(dossier_id: @facade.dossier.id), 'data-method' => :put, class: 'button-navbar-action', id: "suivre_dossier_#{@facade.dossier.id}" do
|
= link_to backoffice_dossier_follow_path(dossier_id: @facade.dossier.id), 'data-method' => :put, class: 'button-navbar-action', id: "suivre_dossier_#{@facade.dossier.id}" do
|
||||||
%i.fa.fa-user-plus
|
%i.fa.fa-user-plus
|
||||||
Suivre le dossier
|
Suivre le dossier
|
||||||
%div.row
|
.row
|
||||||
%div.col-lg-12.col-md-12.col-sm-12.col-xs-12
|
.col-xs-12
|
||||||
%div#invitations.dropdown-toggle{ 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false }
|
#invitations.dropdown-toggle{ 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false }
|
||||||
%i.fa.fa-user
|
%i.fa.fa-user
|
||||||
= t('utils.involved')
|
= t('utils.involved')
|
||||||
.badge.progress-bar-info
|
.badge.progress-bar-info
|
||||||
= @facade.dossier.invites.count
|
= @facade.dossier.invites.count
|
||||||
%div.dropdown-menu.dropdown-menu-right.dropdown-pannel
|
.dropdown-menu.dropdown-menu-right.dropdown-pannel
|
||||||
%h4= t('dynamics.dossiers.followers.title')
|
%h4= t('dynamics.dossiers.followers.title')
|
||||||
%ul
|
%ul
|
||||||
- unless @facade.followers.empty?
|
- unless @facade.followers.empty?
|
||||||
|
|
|
@ -1,17 +1,15 @@
|
||||||
-#%span.fa.fa-sign-out
|
|
||||||
|
|
||||||
-if user_signed_in?
|
-if user_signed_in?
|
||||||
.col-lg-1.col-md-1.col-sm-1.col-xs-1#sign_out.no-padding
|
#sign_out.col-xs-2.no-padding
|
||||||
= render partial: 'users/login_banner'
|
= render partial: 'users/login_banner'
|
||||||
= render partial: 'layouts/credentials'
|
= render partial: 'layouts/credentials'
|
||||||
-elsif gestionnaire_signed_in?
|
-elsif gestionnaire_signed_in?
|
||||||
.col-lg-1.col-md-1.col-sm-1.col-xs-1#sign_out.no-padding
|
#sign_out.col-xs-2.no-padding
|
||||||
= render partial: 'gestionnaires/login_banner'
|
= render partial: 'gestionnaires/login_banner'
|
||||||
= render partial: 'layouts/credentials'
|
= render partial: 'layouts/credentials'
|
||||||
-elsif administrateur_signed_in?
|
-elsif administrateur_signed_in?
|
||||||
.col-lg-1.col-md-1.col-sm-1.col-xs-1#sign_out.no-padding
|
#sign_out.col-xs-2.no-padding
|
||||||
= render partial: 'administrateurs/login_banner'
|
= render partial: 'administrateurs/login_banner'
|
||||||
= render partial: 'layouts/credentials'
|
= render partial: 'layouts/credentials'
|
||||||
-else
|
-else
|
||||||
.col-lg-1.col-md-1.col-sm-1.col-xs-1#sign_in
|
#sign_in.col-xs-2
|
||||||
= link_to "Connexion", '/users/sign_in', :class => 'btn btn-lg'
|
= link_to "Connexion", '/users/sign_in', :class => 'btn btn-lg'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%div.col-lg-8.col-md-8.col-sm-8.col-xs-8.main-info
|
.col-xs-7.main-info
|
||||||
%span{ 'data-toggle' => :tooltip, "data-placement" => :bottom, title: @facade.dossier.procedure.libelle }
|
%span{ 'data-toggle' => :tooltip, "data-placement" => :bottom, title: @facade.dossier.procedure.libelle }
|
||||||
= @facade.dossier.procedure.libelle.truncate(60)
|
= @facade.dossier.procedure.libelle.truncate(60)
|
||||||
%div.col-lg-3.col-md-3.col-sm-3.col-xs-3.options
|
%div.col-lg-3.col-md-3.col-sm-3.col-xs-3.options
|
||||||
|
|
Loading…
Reference in a new issue