2015-11-13 15:23:21 +01:00
|
|
|
%h1 Gestion des dossiers
|
|
|
|
%br
|
|
|
|
|
2015-11-26 15:47:31 +01:00
|
|
|
#onglets
|
|
|
|
%ul.nav.nav-tabs
|
2015-12-24 15:10:20 +01:00
|
|
|
%li{ class: (@a_traiter_class) }
|
2015-12-02 18:03:52 +01:00
|
|
|
%a{:href => "#{url_for backoffice_dossiers_path(liste: 'a_traiter')}"}
|
2015-11-26 15:47:31 +01:00
|
|
|
%h5.text-danger
|
2015-11-26 16:31:53 +01:00
|
|
|
= "À traiter "
|
|
|
|
.badge.progress-bar-danger
|
|
|
|
=@dossiers_a_traiter_total
|
2015-12-24 15:10:20 +01:00
|
|
|
|
|
|
|
%li{ class: (@en_attente_class) }
|
2015-12-02 18:03:52 +01:00
|
|
|
%a{:href => "#{url_for backoffice_dossiers_path(liste: 'en_attente')}"}
|
2015-11-26 15:47:31 +01:00
|
|
|
%h5.text-info
|
2015-11-26 16:31:53 +01:00
|
|
|
="En attente "
|
|
|
|
.badge.progress-bar-info
|
|
|
|
=@dossiers_en_attente_total
|
2015-12-24 15:10:20 +01:00
|
|
|
|
|
|
|
%li{ class: (@termine_class) }
|
2015-12-02 18:03:52 +01:00
|
|
|
%a{:href => "#{url_for backoffice_dossiers_path(liste: 'termine')}"}
|
2015-11-26 15:47:31 +01:00
|
|
|
%h5.text-success
|
2015-11-26 16:31:53 +01:00
|
|
|
= "Terminé"
|
|
|
|
.badge.progress-bar-success
|
|
|
|
=@dossiers_termine_total
|
2015-12-24 15:10:20 +01:00
|
|
|
|
2015-11-26 15:47:31 +01:00
|
|
|
%li#search{class: "#{'active' unless @dossiers_search.nil?}", style:'float:right'}
|
|
|
|
%a
|
|
|
|
= form_tag(backoffice_dossiers_search_url, method: :get) do
|
|
|
|
.input-group{style:'width: 300px'}
|
|
|
|
= text_field_tag('q', "#{@search_terms unless @search_terms.nil? }", id: 'q', placeholder: "Rechercher un dossier ...", class:'form-control')
|
|
|
|
%span.input-group-btn
|
|
|
|
%button.btn.btn-default{ id:'search_button' }
|
|
|
|
%i.fa.fa-search
|
2015-11-13 15:23:21 +01:00
|
|
|
%br
|