Add css for received dossier, show up to gestionnaire 3 buttons green, orange, red to switch dossier in final states
This commit is contained in:
parent
d9b59eb70c
commit
3ad0d1e9cd
2 changed files with 26 additions and 5 deletions
|
@ -49,6 +49,27 @@
|
||||||
border: none;
|
border: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
.close-dossier, .refuse-dossier, .forget-dossier {
|
||||||
|
border: 1px solid #FFFFFF;
|
||||||
|
border-radius: 25px;
|
||||||
|
margin: 5px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
width: 60px;
|
||||||
|
}
|
||||||
|
.close-dossier:hover, .refuse-dossier:hover, .forget-dossier:hover {
|
||||||
|
color: #000000;
|
||||||
|
border-color: #000000;
|
||||||
|
}
|
||||||
|
.close-dossier {
|
||||||
|
background-color: #2A9E2A;
|
||||||
|
}
|
||||||
|
.refuse-dossier {
|
||||||
|
background-color: #E4594F;
|
||||||
|
}
|
||||||
|
.forget-dossier {
|
||||||
|
background-color: #FF8300;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#menu-block {
|
#menu-block {
|
||||||
#switch-buttons {
|
#switch-buttons {
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
= 'Accuser réception'.upcase
|
= 'Accuser réception'.upcase
|
||||||
- elsif @facade.dossier.received?
|
- 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
|
= 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
|
%button.action.close-dossier
|
||||||
%i.fa.fa-check
|
%i.fa.fa-check
|
||||||
= form_tag(url_for({controller: 'backoffice/dossiers', action: :refuse, dossier_id: @facade.dossier.id}), class: 'form-inline action_button', method: 'POST', style: 'display:inline', 'data-toggle' => :tooltip, title: 'Refuser') do
|
|
||||||
%button.action
|
|
||||||
%i.fa.fa-times
|
|
||||||
= form_tag(url_for({controller: 'backoffice/dossiers', action: :without_continuation, dossier_id: @facade.dossier.id}), class: 'form-inline action_button', method: 'POST', style: 'display:inline', 'data-toggle' => :tooltip, title: 'Classer sans suite') do
|
= form_tag(url_for({controller: 'backoffice/dossiers', action: :without_continuation, dossier_id: @facade.dossier.id}), class: 'form-inline action_button', method: 'POST', style: 'display:inline', 'data-toggle' => :tooltip, title: 'Classer sans suite') do
|
||||||
%button.action
|
%button.action.forget-dossier
|
||||||
%i.fa.fa-circle-o
|
%i.fa.fa-circle-o
|
||||||
|
= form_tag(url_for({controller: 'backoffice/dossiers', action: :refuse, dossier_id: @facade.dossier.id}), class: 'form-inline action_button', method: 'POST', style: 'display:inline', 'data-toggle' => :tooltip, title: 'Refuser') do
|
||||||
|
%button.action.refuse-dossier
|
||||||
|
%i.fa.fa-times
|
||||||
|
|
||||||
%div#menu-block
|
%div#menu-block
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue