Adding tips to left pannel for dossiers#show
This commit is contained in:
parent
53f4c52435
commit
409ce10c65
2 changed files with 31 additions and 3 deletions
|
@ -36,5 +36,28 @@
|
|||
#menu-block {
|
||||
}
|
||||
#infos-block {
|
||||
.split-hr {
|
||||
border-bottom: 1px solid #FFFFFF;
|
||||
width: 200px;
|
||||
margin: 20px 0 20px 0;
|
||||
}
|
||||
.dossier-state {
|
||||
text-align: center;
|
||||
font-size: 25px;
|
||||
width: 200px;
|
||||
}
|
||||
.tips {
|
||||
margin: 0 10px 0 5px;
|
||||
.fa {
|
||||
color: #FFFFFF;
|
||||
font-size: 40px;
|
||||
width: inherit;
|
||||
padding: 5px;
|
||||
}
|
||||
.notice {
|
||||
font-size: 18px;
|
||||
display: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,18 +2,17 @@
|
|||
%div.infos
|
||||
%div #{@facade.dossier.nom_projet}
|
||||
%div= t('dynamics.dossiers.numéro') + @facade.dossier.id.to_s
|
||||
%div= @facade.dossier.display_state
|
||||
|
||||
%div#action-block
|
||||
- if gestionnaire_signed_in?
|
||||
- if !@facade.dossier.read_only?
|
||||
= form_tag(url_for({controller: 'backoffice/dossiers', action: :valid, dossier_id: @facade.dossier.id}), class: 'form-inline', method: 'POST') do
|
||||
%button.action{'data-toggle' => :tooltip, title: 'En cliquant ici, vous figez le dossier et autorisez le dépôt du dossier pour instruction.'}
|
||||
= 'Déclarer complet'
|
||||
= 'Déclarer complet'.upcase
|
||||
- elsif @facade.dossier.submitted?
|
||||
= form_tag(url_for({controller: 'backoffice/dossiers', action: :receive, dossier_id: @facade.dossier.id}), class: 'form-inline', method: 'POST') do
|
||||
%button.action
|
||||
= 'Accuser réception'
|
||||
= 'Accuser réception'.upcase
|
||||
- elsif @facade.dossier.received?
|
||||
= form_tag(url_for({controller: 'backoffice/dossiers', action: :close, dossier_id: @facade.dossier.id}), class: 'form-inline action_button', method: 'POST', style: 'display:inline', 'data-toggle' => :tooltip, title: 'Accepter') do
|
||||
%button.action
|
||||
|
@ -28,3 +27,9 @@
|
|||
%div#menu-block
|
||||
|
||||
%div#infos-block
|
||||
%div.split-hr
|
||||
%div.dossier-state= @facade.dossier.display_state
|
||||
%div.split-hr
|
||||
%div.tips
|
||||
%i.fa.fa-lightbulb-o
|
||||
%div.notice= "Ceci est un bloc destiné à contenir des informations sur ce que êtes censé pouvoir faire à ce stade de traitement du dossier."
|
||||
|
|
Loading…
Reference in a new issue