All colons must be followed by a single space

This commit is contained in:
gregoirenovel 2017-04-06 17:18:03 +02:00
parent 97df69bcd8
commit 3797015908
58 changed files with 115 additions and 115 deletions

View file

@ -1,17 +1,17 @@
.row{ style:'height: 34px' }
.row{ style: 'height: 34px' }
- unless smart_listing.empty?
%table.table#liste_gestionnaire
%thead
%th Enlever
%th#email{ style:'text-align: right' } Email
%th#email{ style: 'text-align: right' } Email
- @accompagnateurs_assign.each do |accompagnateur|
%tr
%td.col-md-1.col-lg-1.col-sm-1.col-xs-1.col-sm-1.col-xs-1.center
%a.btn.btn-primary{ href: "#{admin_procedure_accompagnateurs_path(procedure_id: @procedure.id, accompagnateur_id: accompagnateur.id, to: AccompagnateurService::NOT_ASSIGN)}", 'data-method' => 'put' }
.fa.fa-arrow-left
%td{ style:'padding-top: 11px; font-size:15px; text-align:right' }= accompagnateur.email
%td{ style: 'padding-top: 11px; font-size: 15px; text-align: right' }= accompagnateur.email
= smart_listing.paginate
= smart_listing.pagination_per_page_links

View file

@ -14,7 +14,7 @@
- @accompagnateurs_not_assign.each do |accompagnateur|
%tr
%td.col-xs-11{ style:'padding-top: 11px; font-size:15px' }= accompagnateur.email
%td.col-xs-11{ style: 'padding-top: 11px; font-size: 15px' }= accompagnateur.email
%td.center
%a.btn.btn-success.gestionnaire-affectation{ href: "#{admin_procedure_accompagnateurs_path(procedure_id: @procedure.id, accompagnateur_id: accompagnateur.id, to: AccompagnateurService::ASSIGN)}", 'data-method' => 'put' }
.fa.fa-arrow-right

View file

@ -17,7 +17,7 @@
.col-xs-2
%br
%br
= f.submit 'Valider', class: 'btn btn-info', style: 'float:left', id: 'add-gestionnaire-email'
= f.submit 'Valider', class: 'btn btn-info', style: 'float: left', id: 'add-gestionnaire-email'
.col-xs-6
%h3.text-success Affectés
= smart_listing_render :accompagnateurs_assign

View file

@ -6,8 +6,8 @@
- @gestionnaires.each do |gestionnaire|
%tr
%td{ style:'padding-top: 11px; font-size:15px' }= gestionnaire.email
%td{ style: 'text-align:right' }
%td{ style: 'padding-top: 11px; font-size: 15px' }= gestionnaire.email
%td{ style: 'text-align: right' }
.delete.btn.btn-sm.fa.fa-trash
.confirm

View file

@ -16,4 +16,4 @@
.col-xs-2
%br
%br
= f.submit 'Valider', class: 'btn btn-info', style: 'float:left'
= f.submit 'Valider', class: 'btn btn-info', style: 'float: left'

View file

@ -1,7 +1,7 @@
= form_for [:admin, @procedure], url: admin_procedure_pieces_justificatives_path(@procedure), remote: true do |f|
#liste_piece_justificative
= render partial: 'fields', locals:{ types_de_piece_justificative: @procedure.types_de_piece_justificative_ordered.decorate, f: f }
= render partial: 'fields', locals: { types_de_piece_justificative: @procedure.types_de_piece_justificative_ordered.decorate, f: f }
= f.submit "Enregistrer", class: 'btn btn-success', id: :save
%hr
#new_type_de_piece_justificative
= render partial: 'fields', locals:{ types_de_piece_justificative: TypeDePieceJustificative.new.decorate, f: f }
= render partial: 'fields', locals: { types_de_piece_justificative: TypeDePieceJustificative.new.decorate, f: f }

View file

@ -17,9 +17,9 @@
%h4 Logo de la procédure
- unless @procedure.logo.blank?
= image_tag @procedure.decorate.logo_img, { style: 'height: 40px; display: inline; margin-right: 6px', id: 'preview_procedure_logo' }
= f.file_field :logo, accept: 'image/png, image/jpg, image/jpeg', style: 'display:inline'
= f.file_field :logo, accept: 'image/png, image/jpg, image/jpeg', style: 'display: inline'
%div{ style:'margin-top:5px' }
%div{ style: 'margin-top: 5px' }
%i
Fichier accepté : JPG / JPEG / PNG
.col-md-6

View file

@ -27,7 +27,7 @@
= text_field_tag('procedure_path', @procedure.default_path,
id: 'procedure_path',
placeholder: 'Chemin vers la procédure',
class:'form-control',
class: 'form-control',
maxlength: 30,
style: 'width: 300px; display: inline')
#path_messages

View file

@ -15,7 +15,7 @@
type: 'email',
placeholder: 'Email administrateur cible',
style: 'width: 300px; margin-left:auto; margin-right:auto' }
%div#not_found_admin.center.text-danger{ style:'display:none; margin-top: 10px' }
%div#not_found_admin.center.text-danger{ style:'display: none; margin-top: 10px' }
Cet administrateur n'existe pas.
.modal-footer
= submit_tag "Envoyer", class: 'btn btn-success'

View file

@ -6,7 +6,7 @@
.carret-right
.carret-down
Procédures
%a{ href:'/admin/procedures/new' }
%a{ href: '/admin/procedures/new' }
%div#new-procedure.col-lg-2.col-md-2.col-sm-2.col-xs-2.action
Nouvelle

View file

@ -5,4 +5,4 @@
#procedure_new.section.section-label
= form_for @procedure, url: { controller: 'admin/procedures', action: :create }, multipart: true do |f|
= render partial: 'informations', locals: { f: f }
= f.submit 'Valider', class: 'btn btn-info', id: 'save-procedure', style: 'float:right'
= f.submit 'Valider', class: 'btn btn-info', id: 'save-procedure', style: 'float: right'

View file

@ -2,31 +2,31 @@
#procedure_show
- unless @facade.procedure.published?
- if @facade.procedure.gestionnaires.size == 0
%a.action_button.btn.btn-success{ style:'float: right; margin-top: 10px', disabled: 'disabled', 'data-toggle' => :tooltip, title: 'Vous ne pouvez pas publier une procédure sans qu\'aucun accompagnateur ne soit affecté à celle-ci.', id: 'publish-procedure' }
%a.action_button.btn.btn-success{ style: 'float: right; margin-top: 10px', disabled: 'disabled', 'data-toggle' => :tooltip, title: 'Vous ne pouvez pas publier une procédure sans qu\'aucun accompagnateur ne soit affecté à celle-ci.', id: 'publish-procedure' }
%i.fa.fa-eraser
Publier
- else
%a.btn.btn-success{ "data-target" => "#publishModal", "data-toggle" => "modal", :type => "button", style:'float: right; margin-top: 10px', id: 'publish-procedure' }
%a.btn.btn-success{ "data-target" => "#publishModal", "data-toggle" => "modal", :type => "button", style: 'float: right; margin-top: 10px', id: 'publish-procedure' }
%i.fa.fa-eraser
Publier
= render partial: '/admin/procedures/modal_publish'
%a#transfer.btn.btn-small.btn-default{ "data-target" => "#transferModal", "data-toggle" => "modal", :type => "button", style:'float: right; margin-top: 10px; margin-right: 10px' }
%a#transfer.btn.btn-small.btn-default{ "data-target" => "#transferModal", "data-toggle" => "modal", :type => "button", style: 'float: right; margin-top: 10px; margin-right: 10px' }
%i.fa.fa-exchange
Transférer
= render partial: '/admin/procedures/modal_transfer'
- if @facade.procedure.archived?
%a#reenable.btn.btn-small.btn-default.text-info{ "data-target" => "#publishModal", "data-toggle" => "modal", :type => "button", style:'float: right; margin-top: 10px' }
%a#reenable.btn.btn-small.btn-default.text-info{ "data-target" => "#publishModal", "data-toggle" => "modal", :type => "button", style: 'float: right; margin-top: 10px' }
%i.fa.fa-eraser
Réactiver
= render partial: '/admin/procedures/modal_publish'
- elsif @facade.procedure.published?
= form_tag admin_procedure_archive_path(procedure_id: @facade.procedure.id, archive: !@facade.procedure.archived?), method: :put, style:'float: right; margin-top: 10px' do
= form_tag admin_procedure_archive_path(procedure_id: @facade.procedure.id, archive: !@facade.procedure.archived?), method: :put, style: 'float: right; margin-top: 10px' do
%button#archive.btn.btn-small.btn-default.text-info{ type: :button }
%i.fa.fa-eraser
Archiver
@ -45,7 +45,7 @@
%div
%h3 Lien procédure
%div{ style:'margin-left:3%' }
%div{ style: 'margin-left: 3%' }
- if @facade.procedure.published?
= link_to @facade.procedure.lien, @facade.procedure.lien, target: '_blank'
- else
@ -55,7 +55,7 @@
%br
%h3 Détails
.row{ style:'margin-right:3%; margin-left:3%;' }
.row{ style: 'margin-right: 3%; margin-left: 3%;' }
.description.col-xs-6.col-md-3.procedure-description
%h4.text-info
= @facade.procedure.libelle
@ -93,7 +93,7 @@
= t('dynamics.admin.procedure.stats.title')
.row
.col-xs-6{ style:'margin-left:3%' }
.col-xs-6{ style: 'margin-left: 3%' }
%h4 Total
%div
= @facade.dossiers_total

View file

@ -25,5 +25,5 @@
%br
%br
.actions
= f.submit "Se connecter", class:'btn btn-primary'
= f.submit "Se connecter", class: 'btn btn-primary'
%br

View file

@ -1,9 +1,9 @@
.filter_framed.panel.panel-primary{ id: "#{filter_framed_id}", style:'width: 300px; height: 100px; position: absolute; top: 0; left: 0; display: none' }
.filter_framed.panel.panel-primary{ id: "#{filter_framed_id}", style: 'width: 300px; height: 100px; position: absolute; top: 0; left: 0; display: none' }
.panel-heading
= preference.libelle
= form_tag @facade_data_view.filter_url, { class: 'panel-body form-inline', method: :post } do
%input.form-control.filter_input{ name: "filter_input[#{preference.table_attr}]", style:'width: 69%', value: "#{preference.filter}" }
%input.form-control.filter_input{ name: "filter_input[#{preference.table_attr}]", style: 'width: 69%', value: "#{preference.filter}" }
%button.btn.btn-sm.btn-success
%i.fa.fa-check
.btn.btn-sm.btn-danger.erase-filter

View file

@ -14,8 +14,8 @@
- else
= smart_listing.sortable preference.libelle, preference.table_attr
- if @facade_data_view.active_filter? preference
%i.filter.fa.fa-filter{ style: "color:#{(preference.filter.blank? ? 'grey' : 'orange')}", id: "filter_#{smart_listing.name.to_s}_#{preference.table_attr.sub('.', '_')}" }
= render partial: 'backoffice/dossiers/filter_framed', locals:{ preference: preference, filter_framed_id: "framed_filter_#{smart_listing.name.to_s}_#{preference.table_attr.sub('.', '_')}" }
%i.filter.fa.fa-filter{ style: "color: #{(preference.filter.blank? ? 'grey' : 'orange')}", id: "filter_#{smart_listing.name.to_s}_#{preference.table_attr.sub('.', '_')}" }
= render partial: 'backoffice/dossiers/filter_framed', locals: { preference: preference, filter_framed_id: "framed_filter_#{smart_listing.name.to_s}_#{preference.table_attr.sub('.', '_')}" }
%th.col-xs-1.center Actions
%th.col-xs-1.center Abonnés
@ -56,7 +56,7 @@
= link_to('Quitter'.html_safe, backoffice_dossier_follow_path(dossier_id: dossier.id), 'data-method' => :put, class: 'btn-sm btn-danger', id: "suivre_dossier_#{dossier.id}")
- else
= link_to('Suivre', backoffice_dossier_follow_path(dossier_id: dossier.id), 'data-method' => :put, class: 'btn-sm btn-primary', id: "suivre_dossier_#{dossier.id}")
%td.center{ style:"color: #{dossier.total_follow == 0 ? 'red' : ''}" }
%td.center{ style: "color: #{dossier.total_follow == 0 ? 'red' : ''}" }
= dossier.total_follow
= smart_listing.paginate

View file

@ -3,7 +3,7 @@
%h3
= t('dynamics.backoffice.pref_list.title')
%p{ style:'margin-top: 15px; margin-bottom: 20px' }
%p{ style: 'margin-top: 15px; margin-bottom: 20px' }
= t('dynamics.backoffice.pref_list.description')
%h4.text-primary
@ -19,7 +19,7 @@
%button.btn.btn-default.btn-xs{ type: :submit, id: "delete_pref_list_#{preference[:table]}_#{preference[:attr]}" }
%i.fa.fa-minus
%h4.text-success{ style:'margin-top: 15px' }
%h4.text-success{ style: 'margin-top: 15px' }
Disponibles
%table

View file

@ -1,9 +1,9 @@
#state_description.row{ style:'width: 50%; margin-left: auto; margin-right: auto' }
#state_description.row{ style: 'width: 50%; margin-left: auto; margin-right: auto' }
.panel.panel-info
.panel-body.center
.row
.col-md-1.col-lg-1.col-sm-1.col-xs-1.col-sm-1.col-xs-1
.fa.fa-info-circle.text-info{ style:'font-size: 2em; margin-top: 20%' }
.fa.fa-info-circle.text-info{ style: 'font-size: 2em; margin-top: 20%' }
.col-xs-11
- if dossiers_list_facade.liste == 'nouveaux'
Tous les dossiers présents dans cette liste sont ceux qui

View file

@ -16,13 +16,13 @@
.row.center
.col-xs-3
= link_to 'Tous les états', '?liste=all_state', class: 'text-info', style:"text-decoration: #{@facade_data_view.liste == 'all_state'? 'underline' : ''}"
= link_to 'Tous les états', '?liste=all_state', class: 'text-info', style: "text-decoration: #{@facade_data_view.liste == 'all_state'? 'underline' : ''}"
.col-xs-3
= link_to 'En construction', '?liste=a_traiter', class: 'text-danger', style:"text-decoration: #{@facade_data_view.liste == 'a_traiter'? 'underline' : ''}"
= link_to 'En construction', '?liste=a_traiter', class: 'text-danger', style: "text-decoration: #{@facade_data_view.liste == 'a_traiter'? 'underline' : ''}"
.col-xs-3
= link_to 'En instruction', '?liste=a_instruire', class: 'text-warning', style:"text-decoration: #{@facade_data_view.liste == 'a_instruire'? 'underline' : ''}"
= link_to 'En instruction', '?liste=a_instruire', class: 'text-warning', style: "text-decoration: #{@facade_data_view.liste == 'a_instruire'? 'underline' : ''}"
.col-xs-3
= link_to 'Terminés', '?liste=termine', class: 'text-success', style:"text-decoration: #{@facade_data_view.liste == 'termine'? 'underline' : ''}"
= link_to 'Terminés', '?liste=termine', class: 'text-success', style: "text-decoration: #{@facade_data_view.liste == 'termine'? 'underline' : ''}"
.default_data_block.default_visible
.row.show-block#follow_dossiers

View file

@ -1,8 +1,8 @@
%br
%div{ style: 'text-align: center; max-width:500px; margin-left:auto; margin-right:auto; padding: 20px;' }
%div{ style: 'text-align: center; max-width: 500px; margin-left: auto; margin-right: auto; padding: 20px;' }
= render partial: 'users/sessions/resume_procedure'
.center{ style:'margin-top: -20px' }
.center{ style: 'margin-top: -20px' }
%h3
La campagne de création de nouveau dossier
%br

View file

@ -16,7 +16,7 @@
%tr
%td= file.user.nil? ? 'Accompagnateur' : file.user.email
%td= file.created_at.localtime
%td= link_to file.original_filename, file.content_url, style:'color: green', target: '_blank'
%td= link_to file.original_filename, file.content_url, style: 'color: green', target: '_blank'
- else
%h4.text-primary
Pas de fichier dans le flux de commentaires.

View file

@ -2,9 +2,9 @@
.col-xs-12
#map.mini{ class: @facade.dossier.procedure.module_api_carto.classes }
%input{ id: 'json_latlngs', type:'hidden', value: "#{@facade.dossier.json_latlngs}" }
%input{ id: 'quartier_prioritaires', type:'hidden', value: "#{@facade.dossier.quartier_prioritaires.to_json}" }
%input{ id: 'cadastres', type:'hidden', value: "#{@facade.dossier.cadastres.to_json}" }
%input{ id: 'json_latlngs', type: 'hidden', value: "#{@facade.dossier.json_latlngs}" }
%input{ id: 'quartier_prioritaires', type: 'hidden', value: "#{@facade.dossier.quartier_prioritaires.to_json}" }
%input{ id: 'cadastres', type: 'hidden', value: "#{@facade.dossier.cadastres.to_json}" }
%script{ type: 'text/javascript' }
= "var dossier_id =#{@facade.dossier.id}"

View file

@ -65,7 +65,7 @@
.col-xs-5.despositaire-info
- if @facade.dossier.cerfa_available?
%a{ href: "#{@facade.dossier.cerfa.last.content_url}", target: '_blank' } Consulter
%span{ style:'margin-left:12px' }
%span{ style: 'margin-left: 12px' }
\-
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => 'cerfa' do
%span.fa.fa-clock-o
@ -84,7 +84,7 @@
%span.text-success Nous l'avons récupéré pour vous.
- elsif !(@pj = @facade.dossier.retrieve_last_piece_justificative_by_type(type_de_piece_justificative.id)).nil?
%a{ href: "#{@pj.content_url}", target: '_blank' } Consulter
%span{ style:'margin-left:12px' }
%span{ style: 'margin-left: 12px' }
\-
- if @facade.dossier.pieces_justificatives.where(type_de_piece_justificative_id: type_de_piece_justificative.id).count > 1
= link_to "", class: "historique", "data-toggle" => "modal", "data-target" => "#PJmodal", :type => "button", "data-modal_title" => 'formulaires', "data-modal_index" => "type_de_pj_#{type_de_piece_justificative.id}" do

View file

@ -8,9 +8,9 @@
.col-xs-5
- if @facade.dossier.cerfa_available?
%a{ href: "#{@facade.dossier.cerfa.last.content_url}", target: '_blank' } Consulter
%span{ style:'margin-left:12px' }
%span{ style: 'margin-left: 12px' }
\-
%a.btn.fa.fa-timer{ style:'color: black; padding-top: 0',
%a.btn.fa.fa-timer{ style: 'color: black; padding-top: 0',
"data-target" => "#PJmodal",
"data-toggle" => "modal",
:type => "button",
@ -34,9 +34,9 @@
-# = 'Pièce fournie'
-# - elsif gestionnaire_signed_in?
%a{ href: "#{@pj.content_url}", target: '_blank' } Consulter
%span{ style:'margin-left:12px' }
%span{ style: 'margin-left: 12px' }
\-
%a.btn.fa.fa-timer{ style:'color: black; padding-top: 0',
%a.btn.fa.fa-timer{ style: 'color: black; padding-top: 0',
"data-target" => "#PJmodal",
"data-toggle" => "modal",
:type => "button",

View file

@ -1,6 +1,6 @@
.row{ style: 'margin-top: -20px' }
.col-xs-12
= form_for @facade.dossier, url: { controller: 'backoffice/private_formulaires', action: :update, dossier_id: @facade.dossier.id }, remote: true do
= render partial: '/users/description/champs', locals:{ private: true }
= render partial: '/users/description/champs', locals: { private: true }
.row.center
= submit_tag :Enregistrer, { class: 'btn-action' }

View file

@ -1,4 +1,4 @@
.default_data_block{ style:'margin-top: 40px' }
.default_data_block{ style: 'margin-top: 40px' }
.row.show-block.clearfix#messages
.header
.col-xs-10.title

View file

@ -7,9 +7,9 @@
%td.col-lg-6.col-md-6.col-sm-6.col-xs-6
- if @facade.dossier.cerfa_available?
%a{ href: "#{@facade.dossier.cerfa.last.content_url}", target: '_blank' } Consulter
%span{ style:'margin-left:12px' }
%span{ style: 'margin-left: 12px' }
\-
%a.btn.fa.fa-timer{ style:'color: black; padding-top: 0',
%a.btn.fa.fa-timer{ style: 'color: black; padding-top: 0',
"data-target" => "#PJmodal",
"data-toggle" => "modal",
:type => "button",
@ -30,9 +30,9 @@
-# = 'Pièce fournie'
-# - elsif gestionnaire_signed_in?
%a{ href: "#{@pj.content_url}", target: '_blank' } Consulter
%span{ style:'margin-left:12px' }
%span{ style: 'margin-left: 12px' }
\-
%a.btn.fa.fa-timer{ style:'color: black; padding-top: 0',
%a.btn.fa.fa-timer{ style: 'color: black; padding-top: 0',
"data-target" => "#PJmodal",
"data-toggle" => "modal",
:type => "button",

View file

@ -1,6 +1,6 @@
= form_tag(url_for({ controller: 'commentaires', action: :create, dossier_id: dossier_facade.dossier.id, champ_id: dossier_facade.champ_id }), class: 'form-inline', method: 'POST', multipart: true) do
%textarea.form-control.wysihtml5{ id: 'texte_commentaire', name: 'texte_commentaire', style: 'width: 100%; margin-bottom:2%', rows: '5', placeholder:"Commentaire" }
%textarea.form-control.wysihtml5{ id: 'texte_commentaire', name: 'texte_commentaire', style: 'width: 100%; margin-bottom: 2%', rows: '5', placeholder: "Commentaire" }
.row
.col-md-6

View file

@ -15,7 +15,7 @@
%h2#titre_procedure.text-info
= @facade.procedure.libelle
%p#description_procedure{ style:'width: 95%;', class: (@facade.entreprise.nil? ? '' : 'mask') }
%p#description_procedure{ style: 'width: 95%;', class: (@facade.entreprise.nil? ? '' : 'mask') }
= h @facade.procedure.description.html_safe
- unless @facade.procedure.lien_site_web.blank?

View file

@ -3,7 +3,7 @@
Mes informations
%br
- unless @facade.entreprise.nil?
.center{ style:'margin-left: -5%' }
.center{ style: 'margin-left: -5%' }
Vous êtes authentifié avec le SIRET
%h3.text-success
@ -15,7 +15,7 @@
.etape.etapes_informations.col-xs-9
.row
- if @facade.entreprise.nil?
#new_siret{ style:'margin-left: 20%; margin-top: 5%' }
#new_siret{ style: 'margin-left: 20%; margin-top: 5%' }
= form_for @facade.dossier, html: { class: 'form-inline' }, url: users_dossier_siret_informations_path(dossier_id: @facade.dossier.id), method: :post, remote: true do |f|
.form-group.form-group-lg
= f.text_field :siret, class: "form-control", placeholder: "Entrez votre Siret", value: @siret
@ -26,15 +26,15 @@
#recap_info_entreprise
= render partial: '/dossiers/infos_entreprise'
%p#insee_infogreffe{ style:'color:grey; float:right' }
%p#insee_infogreffe{ style: 'color: grey; float: right' }
%i
Informations récupérées auprès de l'INSEE et d'INFOGREFFE
%br
= form_for @facade.dossier, url: { controller: '/users/dossiers', action: :update } do |f|
= f.hidden_field :id
%label{ style:'font-weight:normal' }
%label{ style: 'font-weight: normal' }
= f.check_box :autorisation_donnees
J'autorise les décideurs publics à vérifier les informations de mon organisation auprès des administrations concernées. Ces informations resteront strictement confidentielles.
%br
= f.submit 'Etape suivante', class: "btn btn btn-info", style: 'float:right', id: 'etape_suivante', disabled: :disabled
= f.submit 'Etape suivante', class: "btn btn btn-info", style: 'float: right', id: 'etape_suivante', disabled: :disabled

View file

@ -34,7 +34,7 @@
= ff.date_field :birthdate, { class: 'form-control', placeholder: 'jj/mm/aaaa' }
%p
%label{ style:'font-weight:normal' }
%label{ style: 'font-weight: normal' }
= f.check_box :autorisation_donnees
= " ".html_safe
Vos informations personnelles ne seront jamais utilisées dans un but lucratif ou commercial. Elles ne pourront être communiquées à de tiers personnes sans votre accord préalable. Elles pourront en revanche être communiquées aux administrations compétentes afin d'instruire votre dossier, conformément à la déclaration CNIL effectué par le service TPS.

View file

@ -3,7 +3,7 @@
 France Connect - Particulier
%h3 Nouvelle connexion
%h4.text-warning{ style:'margin-left: 20px' } Email déjà utilisé
%h4.text-warning{ style: 'margin-left: 20px' } Email déjà utilisé
%br
%p
@ -20,4 +20,4 @@
= f.password_field :password, class: "form-control", placeholder: "Entrez votre mot de passe"
= hidden_field_tag :fci_id, params[:fci_id]
= hidden_field_tag :salt, params[:salt]
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top:20px;', id: 'valid_new_fcp'
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top: 20px;', id: 'valid_new_fcp'

View file

@ -29,4 +29,4 @@
= f.text_field :email_france_connect, class: "form-control", placeholder: "Entrez votre email"
= hidden_field_tag :fci_id, params[:fci_id]
= hidden_field_tag :salt, params[:salt]
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top:20px;', id: 'valid_new_fcp'
= f.submit 'Terminer', class: %w(btn btn-lg btn-success), style: 'margin-top: 20px;', id: 'valid_new_fcp'

View file

@ -27,5 +27,5 @@
%br
%br
.actions
= f.submit "Changer", class:'btn btn-primary'
= f.submit "Changer", class: 'btn btn-primary'
%br

View file

@ -19,5 +19,5 @@
%br
%br
.actions
= f.submit "Renvoyer", class:'btn btn-primary'
= f.submit "Renvoyer", class: 'btn btn-primary'
%br

View file

@ -24,6 +24,6 @@
%br
%br
.actions
= f.submit "Se connecter", class:'btn btn-primary'
= f.submit "Se connecter", class: 'btn btn-primary'
%br
= render "gestionnaires/shared/links"

View file

@ -1 +1 @@
= submit_tag 'Etape suivante', class: %w(btn btn btn-info), style: 'float:right', id: 'etape_suivante', data: { disable_with: 'Etape suivante', submit: true }
= submit_tag 'Etape suivante', class: %w(btn btn btn-info), style: 'float: right', id: 'etape_suivante', data: { disable_with: 'Etape suivante', submit: true }

View file

@ -1,6 +1,6 @@
= "<!--[if lt IE 10]>".html_safe
.center{ style:'width: 100%; background-color: white; position: fixed; top:0; left:0; z-index: 100000' }
.center{ style: 'width: 100%; background-color: white; position: fixed; top: 0; left: 0; z-index: 100000' }
%h3.text-danger
%b
Votre version d'Internet Explorer est trop ancienne pour être utilisée sur le service TPS. Version minimum : Internet Explorer 10

View file

@ -1,3 +1,3 @@
%div{ style: 'float:right' }
%div{ style: 'float: right' }
%a.btn{ href: "/users/dossiers/#{@dossier.id}/recapitulatif" } Retour
= submit_tag 'Modification terminée', class: %w(btn btn btn-info), id: 'modification_terminee', data: { disable_with: 'Modification terminée', submit: true }

View file

@ -14,7 +14,7 @@
= action_cable_meta_tag
%body
= render partial: 'layouts/support_navigator_banner'
#beta{ class:(Rails.env == 'production' ? '' : 'beta_staging') }
#beta{ class: (Rails.env == 'production' ? '' : 'beta_staging') }
- if Rails.env == 'production'
Beta
- else
@ -47,7 +47,7 @@
= render partial: 'layouts/main_container', locals: { main_container_size: main_container_size }
#mask_search
%h1
%i.fa.fa-times{ style:'position: fixed; top: 10; right: 30; color: white;' }
%i.fa.fa-times{ style: 'position: fixed; top: 10; right: 30; color: white;' }
= render partial: 'layouts/switch_devise_profile_module'
= render partial: 'layouts/notifications_alert'

View file

@ -27,7 +27,7 @@
= truncate(procedure[:libelle], length: 50)
- total_new = @facade_data_view.new_dossier_number procedure[:id]
- if total_new > 0
.badge.progress-bar-success{ title:'Nouveaux dossiers' }
.badge.progress-bar-success{ title: 'Nouveaux dossiers' }
= total_new
- if procedure[:unread_notifications] > 0
.badge.progress-bar-warning{ title: 'Notifications' }

View file

@ -1,7 +1,7 @@
#search_area
= form_tag(backoffice_dossiers_search_url, method: :get) do
.input-group
= text_field_tag('q', "#{@search_terms unless @search_terms.nil?}", id: 'q', placeholder: "Recherchez parmi tous vos dossiers", class:'form-control')
= text_field_tag('q', "#{@search_terms unless @search_terms.nil?}", id: 'q', placeholder: "Recherchez parmi tous vos dossiers", class: 'form-control')
%span.input-group-btn
%button.btn.btn-default{ id:'search_button' }
%button.btn.btn-default{ id: 'search_button' }
%i.fa.fa-search

View file

@ -1,7 +1,7 @@
.col-xs-7.main-info
.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;" }
= current_administrateur.email
.dropdown#admin_menu

View file

@ -19,22 +19,22 @@
#landing_body.max-size
.row#etapes.center
#create_1.col-lg-3.col-md-3.col-sm-3.col-xs-3
%img{ src:image_url('etapes/create_1.png') }
%img{ src: image_url('etapes/create_1.png') }
%br
%h4 Administration
%h3.text-info Je construis ma démarche 100% en ligne
#complet_2.col-lg-3.col-md-3.col-sm-3.col-xs-3
%img{ src:image_url('etapes/complet_2.png') }
%img{ src: image_url('etapes/complet_2.png') }
%br
%h4 Usager
%h3.text-success Je remplis un dossier de manière simplifiée
#message_3.col-lg-3.col-md-3.col-sm-3.col-xs-3
%img{ src:image_url('etapes/message_3.png') }
%img{ src: image_url('etapes/message_3.png') }
%br
%h4 Usager
%h3.text-warning Je dialogue avec mon administration en ligne
#shared_4.col-lg-3.col-md-3.col-sm-3.col-xs-3
%img{ src:image_url('etapes/shared_4.png') }
%img{ src: image_url('etapes/shared_4.png') }
%br
%h4 Usager et Administrations
%h3.text-danger

View file

@ -6,8 +6,8 @@
Positionnez-vous et dessinez sur la carte la zone d'action de votre demande.
%br
.content{ style:'margin-bottom:60px' }
%button#new.btn.btn-md.btn-success{ type:'button' }
.content{ style: 'margin-bottom: 60px' }
%button#new.btn.btn-md.btn-success{ type: 'button' }
%i.fa.fa-pencil
Ajouter une zone
@ -21,8 +21,8 @@
= form_tag(url_for({ controller: :carte, action: :save, dossier_id: @dossier.id }), class: 'form-inline', method: 'POST') do
%br
%input{ type: 'hidden', value: "#{@dossier.json_latlngs}", name: 'json_latlngs', id: 'json_latlngs' }
%input{ id: 'quartier_prioritaires', type:'hidden', value: "#{@dossier.quartier_prioritaires.to_json}" }
%input{ id: 'cadastres', type:'hidden', value: "#{@dossier.cadastres.to_json}" }
%input{ id: 'quartier_prioritaires', type: 'hidden', value: "#{@dossier.quartier_prioritaires.to_json}" }
%input{ id: 'cadastres', type: 'hidden', value: "#{@dossier.cadastres.to_json}" }
- if @dossier.draft?
= render partial: '/layouts/etape_suivante'

View file

@ -14,9 +14,9 @@
- if dossier.cerfa_available?
%span.btn.btn-sm.btn-file.btn-success
Modifier
%input{ type: 'file', name:'cerfa_pdf', id:'cerfa_pdf', accept: PieceJustificative.accept_format, :max_file_size => 6.megabytes }
%input{ type: 'file', name: 'cerfa_pdf', id: 'cerfa_pdf', accept: PieceJustificative.accept_format, :max_file_size => 6.megabytes }
- else
%input{ type: 'file', name:'cerfa_pdf', id:'cerfa_pdf', accept: PieceJustificative.accept_format, :max_file_size => 6.megabytes }
%input{ type: 'file', name: 'cerfa_pdf', id: 'cerfa_pdf', accept: PieceJustificative.accept_format, :max_file_size => 6.megabytes }
- dossier.types_de_piece_justificative.order('order_place ASC').each do |type_de_piece_justificative|
%tr

View file

@ -1,12 +1,12 @@
.container#description_page
- unless @dossier.procedure.lien_notice.blank?
#lien_notice_panel.row{ style:'width: 280px; position: fixed; background-color: white; right: 5%; top: 80px; z-index: 200' }
.panel.panel-info{ style:'margin-bottom:0' }
#lien_notice_panel.row{ style: 'width: 280px; position: fixed; background-color: white; right: 5%; top: 80px; z-index: 200' }
.panel.panel-info{ style: 'margin-bottom: 0' }
.panel-body.center
.row
.col-xs-1
.fa.fa-info-circle.text-info{ style:'font-size: 2em; margin-top: 20%' }
.col-xs-10{ style:'padding-right: 0px' }
.fa.fa-info-circle.text-info{ style: 'font-size: 2em; margin-top: 20%' }
.col-xs-10{ style: 'padding-right: 0px' }
%b
= link_to 'Accéder au guide', @dossier.procedure.lien_notice, { target: '_blank' }
pour remplir pour votre dossier
@ -18,7 +18,7 @@
= form_tag(url_for({ controller: 'users/description', action: :update, dossier_id: @dossier.id }), class: 'form', method: 'POST', multipart: true) do
- unless @champs.nil?
#liste_champs
= render partial: 'users/description/champs', locals:{ private: false }
= render partial: 'users/description/champs', locals: { private: false }
- if !@procedure.lien_demarche.blank? || @procedure.cerfa_flag || @dossier.types_de_piece_justificative.size > 0
%br
@ -33,7 +33,7 @@
-# WTF ?
- route = Rails.application.routes.recognize_path(request.referrer)
- unless route[:controller].match('admin')
%div{ style: 'text-align:right' }
%div{ style: 'text-align: right' }
%h6 Tous les champs portant un * sont obligatoires.
- if !@dossier.can_be_initiated?
@ -42,5 +42,5 @@
- elsif !@dossier.draft?
= render partial: '/layouts/modifications_terminees'
- else
= submit_tag 'Soumettre mon dossier', id: 'suivant', name: 'submit[nouveaux]', class: 'btn btn btn-success', style: 'float:right', disabled: @procedure.archived?, data: { disable_with: 'Soumettre votre dossier', submit: true }
= submit_tag 'Enregistrer un brouillon', id: 'brouillon', name: 'submit[brouillon]', class: 'btn btn-xs btn-default', style: 'float:right; margin-right: 10px; margin-top: 6px', disabled: @procedure.archived?, data: { disable_with: 'Enregistrer un brouillon', submit: true }
= submit_tag 'Soumettre mon dossier', id: 'suivant', name: 'submit[nouveaux]', class: 'btn btn btn-success', style: 'float: right', disabled: @procedure.archived?, data: { disable_with: 'Soumettre votre dossier', submit: true }
= submit_tag 'Enregistrer un brouillon', id: 'brouillon', name: 'submit[brouillon]', class: 'btn btn-xs btn-default', style: 'float: right; margin-right: 10px; margin-top: 6px', disabled: @procedure.archived?, data: { disable_with: 'Enregistrer un brouillon', submit: true }

View file

@ -1 +1 @@
%input{ type: 'checkbox', style:'margin-left: 15px;', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.object.value == 'on') }
%input{ type: 'checkbox', style: 'margin-left: 15px;', name: "champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.object.value == 'on') }

View file

@ -1,4 +1,4 @@
%input.form-control{ name:"champs['#{champ.id}']",
%input.form-control{ name: "champs['#{champ.id}']",
placeholder: champ.libelle,
id: "champs_#{champ.id}",
value: (champ.value.split(/[ ][0-9]*:[0-9]*/).first unless champ.value.nil?),
@ -6,13 +6,13 @@
'data-provide' => champ.data_provide,
'data-date-format' => champ.data_date_format }
%select.form-control{ name:"time_hour['#{champ.id}']", style: 'margin-left: 5px', id:"time_hour_#{champ.id}" }
%select.form-control{ name: "time_hour['#{champ.id}']", style: 'margin-left: 5px', id: "time_hour_#{champ.id}" }
- (0..23).each do |num|
- num = "%.2i" %num
%option{ value: num, selected: (:selected if champ.same_hour?(num)) }
= num
h
%select.form-control{ name:"time_minute['#{champ.id}']", id:"time_minute_#{champ.id}" }
%select.form-control{ name: "time_minute['#{champ.id}']", id: "time_minute_#{champ.id}" }
- (0..59).each do |num|
- num = "%.2i" %num
- if num.to_i%5 == 0

View file

@ -1,2 +1,2 @@
%input{ type: 'hidden', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", value: '' }
%input{ type: 'checkbox', style:'margin-left: 15px;', name:"champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.value == 'on') }
%input{ type: 'hidden', name: "champs['#{champ.id}']", id: "champs_#{champ.id}", value: '' }
%input{ type: 'checkbox', style: 'margin-left: 15px;', name: "champs['#{champ.id}']", id: "champs_#{champ.id}", checked: ('checked' if champ.value == 'on') }

View file

@ -44,7 +44,7 @@
- elsif champ.type_champ == 'explication'
- else
%input.form-control{ name:"champs['#{champ.id}']",
%input.form-control{ name: "champs['#{champ.id}']",
placeholder: champ.libelle,
id: "champs_#{champ.id}",
value: champ.value,
@ -53,5 +53,5 @@
'data-date-format' => champ.data_date_format }
- unless champ.description.empty?
%div{ id:"description_champs_#{champ.id}", class: ('help-block' unless champ.type_champ == 'engagement') }
%div{ id: "description_champs_#{champ.id}", class: ('help-block' unless champ.type_champ == 'engagement') }
= champ.description_with_links

View file

@ -1,4 +1,4 @@
%textarea.form-control.wysihtml5{ name:"champs['#{champ.id}']",
%textarea.form-control.wysihtml5{ name: "champs['#{champ.id}']",
placeholder: champ.description,
id: "champs_#{champ.id}",
row: '6' }

View file

@ -1,9 +1,9 @@
#state_description.row{ style:'width: 55%; margin-left: auto; margin-right: auto' }
#state_description.row{ style: 'width: 55%; margin-left: auto; margin-right: auto' }
.panel.panel-info
.panel-body.center
.row
.col-md-1.col-lg-1.col-sm-1.col-xs-1
.fa.fa-info-circle.text-info{ style:'font-size: 2em; margin-top: 20%' }
.fa.fa-info-circle.text-info{ style: 'font-size: 2em; margin-top: 20%' }
.col-xs-11
- if dossiers_list_facade.liste == 'brouillon'
Les dossiers présents dans cette liste

View file

@ -56,5 +56,5 @@
%br
%br
.actions
= f.submit "Changer", class:'btn btn-primary'
= f.submit "Changer", class: 'btn btn-primary'
%br

View file

@ -48,5 +48,5 @@
%br
%br
.actions
= f.submit "Renvoyer", class:'btn btn-primary'
= f.submit "Renvoyer", class: 'btn btn-primary'
%br

View file

@ -60,5 +60,5 @@
%br
%br
.actions
= f.submit "S'enregistrer", class:'btn btn-primary'
= f.submit "S'enregistrer", class: 'btn btn-primary'
%br

View file

@ -1,7 +1,7 @@
- if @dossier
.panel.panel-default
.panel-body
= link_to 'X', users_no_procedure_url, class: 'btn btn-xs', style:'float: right'
= link_to 'X', users_no_procedure_url, class: 'btn btn-xs', style: 'float: right'
- if @dossier.procedure.euro_flag
#euro_flag.flag

View file

@ -21,7 +21,7 @@
- if devise_mapping.rememberable?
= f.input :remember_me, as: :boolean, label: 'Se souvenir de moi'
.text-center
= f.submit "Se connecter", class:'btn btn-primary'
= f.submit "Se connecter", class: 'btn btn-primary'
- if @user.email != DemoEmails[:gestionnaire] && @user.email != DemoEmails[:admin]
= render "users/shared/links"

View file

@ -11,7 +11,7 @@
%br
= form_tag(url_for({ controller: :dossiers, action: :create }), class: 'form-inline', method: 'POST') do |f|
.form-group.form-group-lg
= text_field_tag :siret, nil, :class => "form-control", :placeholder => "Entrez votre Siret", :id => "siret", :name => "siret", :maxlength => 14, :style => 'margin-bottom:10px', value: @siret
= text_field_tag :siret, nil, :class => "form-control", :placeholder => "Entrez votre Siret", :id => "siret", :name => "siret", :maxlength => 14, :style => 'margin-bottom: 10px', value: @siret
%br
= submit_tag "Commencer", class: %w(btn btn-lg btn-success), style: 'margin-top:20px;', data: { disable_with: "Commencer", submit: true }
= submit_tag "Commencer", class: %w(btn btn-lg btn-success), style: 'margin-top: 20px;', data: { disable_with: "Commencer", submit: true }
%input{ type: 'hidden', value: "#{@procedure.id}", name: 'procedure_id', id: 'procedure_id' }