2017-06-14 14:42:09 +02:00
|
|
|
|
.patron
|
2017-07-06 14:14:16 +02:00
|
|
|
|
.container
|
2017-07-27 16:16:14 +02:00
|
|
|
|
%h1 Icones
|
|
|
|
|
|
2017-12-12 14:51:44 +01:00
|
|
|
|
%span.icon.follow
|
|
|
|
|
%span.icon.unfollow
|
|
|
|
|
%span.icon.archive
|
|
|
|
|
%span.icon.unarchive
|
|
|
|
|
%span.icon.folder
|
|
|
|
|
%span.icon.accept
|
|
|
|
|
%span.icon.refuse
|
|
|
|
|
%span.icon.without-continuation
|
|
|
|
|
%span.icon.edit
|
|
|
|
|
%span.icon.in-progress
|
|
|
|
|
%span.icon.bubble
|
|
|
|
|
%span.icon.attachment
|
|
|
|
|
%span.icon.lock
|
|
|
|
|
%span.icon.printer
|
2017-07-27 16:16:14 +02:00
|
|
|
|
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Formulaires
|
2017-06-14 17:39:46 +02:00
|
|
|
|
|
2017-06-20 11:13:24 +02:00
|
|
|
|
%form.form
|
2017-08-02 14:56:08 +02:00
|
|
|
|
= form_for @dossier, url: '', html: { class: 'form' } do |f|
|
|
|
|
|
= f.fields_for :champs do |champ_form|
|
|
|
|
|
- champ = champ_form.object
|
2018-02-27 18:36:29 +01:00
|
|
|
|
= render partial: "shared/dossiers/editable_champs/editable_champ",
|
2017-12-07 14:37:34 +01:00
|
|
|
|
locals: { champ: champ, form: champ_form, seen_at: nil }
|
2017-08-02 14:56:08 +02:00
|
|
|
|
|
|
|
|
|
%input{ type: "password", value: "12345678" }
|
|
|
|
|
.send-wrapper
|
|
|
|
|
= f.submit 'Enregistrer un brouillon (formnovalidate)', formnovalidate: true, class: 'button send'
|
|
|
|
|
= f.submit 'Envoyer', class: 'button send'
|
2017-06-14 17:39:46 +02:00
|
|
|
|
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Boutons
|
2017-06-14 14:42:09 +02:00
|
|
|
|
|
2017-06-20 11:13:24 +02:00
|
|
|
|
%p
|
|
|
|
|
= link_to ".button", "#", class: "button"
|
2017-06-14 14:42:09 +02:00
|
|
|
|
|
2017-06-20 11:13:24 +02:00
|
|
|
|
= link_to ".button.primary", "#", class: "button primary"
|
2017-06-14 14:42:09 +02:00
|
|
|
|
|
2017-06-26 11:40:28 +02:00
|
|
|
|
= link_to ".button.secondary", "#", class: "button secondary"
|
|
|
|
|
|
2017-11-24 10:37:27 +01:00
|
|
|
|
= link_to ".button.accepted", "#", class: "button accepted"
|
2017-09-14 10:36:01 +02:00
|
|
|
|
|
2017-12-12 14:53:36 +01:00
|
|
|
|
= link_to "#", class: "button" do
|
|
|
|
|
%span.icon.follow
|
|
|
|
|
= "Bouton avec icone et texte"
|
|
|
|
|
|
|
|
|
|
= link_to "#", class: "button icon-only" do
|
|
|
|
|
%span.icon.follow
|
|
|
|
|
|
|
|
|
|
%p
|
2017-06-20 11:13:24 +02:00
|
|
|
|
= link_to ".button.large", "#", class: "button large"
|
2017-06-14 14:42:09 +02:00
|
|
|
|
|
2017-06-20 11:13:24 +02:00
|
|
|
|
= link_to ".button.large.primary", "#", class: "button large primary"
|
2017-06-14 14:57:30 +02:00
|
|
|
|
|
2017-06-20 11:13:24 +02:00
|
|
|
|
%p
|
|
|
|
|
= link_to ".button.primary.expand", "#", class: "button primary expand"
|
|
|
|
|
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Labels
|
2017-07-03 16:29:29 +02:00
|
|
|
|
|
|
|
|
|
%span.label .label
|
2018-03-29 10:39:43 +02:00
|
|
|
|
%span.label.brouillon .label.brouillon
|
2017-07-27 14:53:18 +02:00
|
|
|
|
%span.label.instruction .label.instruction
|
|
|
|
|
%span.label.construction .label.construction
|
2017-11-24 10:37:27 +01:00
|
|
|
|
%span.label.accepted .label.accepted
|
2017-07-27 14:53:18 +02:00
|
|
|
|
%span.label.refused .label.refused
|
|
|
|
|
%span.label.without-continuation .label.without-continuation
|
2017-07-03 16:29:29 +02:00
|
|
|
|
|
2017-09-20 15:47:57 +02:00
|
|
|
|
%h1 Badges
|
|
|
|
|
|
|
|
|
|
%span.badge 1
|
|
|
|
|
%span.badge.warning 1
|
|
|
|
|
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Cards
|
2017-07-06 15:49:29 +02:00
|
|
|
|
|
|
|
|
|
.card
|
|
|
|
|
.card-title
|
|
|
|
|
Titre de la carte
|
|
|
|
|
Et voici le contenu de la carte
|
|
|
|
|
|
|
|
|
|
.card.featured
|
|
|
|
|
.card-title
|
|
|
|
|
Titre de la carte mise en avant
|
|
|
|
|
Et voici le contenu de la carte
|
|
|
|
|
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Table
|
2017-07-06 16:25:51 +02:00
|
|
|
|
|
2017-07-27 16:02:35 +02:00
|
|
|
|
%table.table
|
|
|
|
|
%thead
|
|
|
|
|
%tr
|
|
|
|
|
%th Header 1
|
|
|
|
|
%th Header 2
|
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
%td Table Data 1
|
|
|
|
|
%td Table Data 2
|
|
|
|
|
%tr
|
2017-07-27 16:27:29 +02:00
|
|
|
|
%td Table Data 3
|
|
|
|
|
%td Table Data 4
|
|
|
|
|
|
|
|
|
|
%h2 Hoverable (.table.hoverable)
|
|
|
|
|
|
|
|
|
|
%table.table.hoverable
|
|
|
|
|
%thead
|
|
|
|
|
%tr
|
|
|
|
|
%th Header 1
|
|
|
|
|
%th Header 2
|
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
%td Table Data 1
|
|
|
|
|
%td Table Data 2
|
|
|
|
|
%tr
|
2017-07-27 16:02:35 +02:00
|
|
|
|
%td Table Data 3
|
|
|
|
|
%td Table Data 4
|
|
|
|
|
|
2017-07-27 15:30:25 +02:00
|
|
|
|
%h2 Vertical layout (.table.vertical)
|
|
|
|
|
|
|
|
|
|
%table.table.vertical
|
2017-07-06 16:25:51 +02:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
%th Header 1
|
|
|
|
|
%td Table Data 1
|
|
|
|
|
%tr
|
|
|
|
|
%th Header 2
|
|
|
|
|
%td Table Data 2
|
2017-07-11 16:50:29 +02:00
|
|
|
|
%tr
|
|
|
|
|
%th.header-section{ colspan: 2 } Header section
|
2017-07-06 16:25:51 +02:00
|
|
|
|
%tr
|
|
|
|
|
%th Header 3
|
|
|
|
|
%td Table Data 3
|
|
|
|
|
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Header
|
2017-11-30 16:49:01 +01:00
|
|
|
|
.accompagnateur-header
|
2017-07-18 15:03:04 +02:00
|
|
|
|
.container
|
|
|
|
|
Titre
|
|
|
|
|
%ul.tabs
|
2017-08-28 10:51:40 +02:00
|
|
|
|
%li.active
|
|
|
|
|
= link_to "Onglet actif", "#"
|
2017-07-18 15:03:04 +02:00
|
|
|
|
%li
|
2017-08-28 10:51:40 +02:00
|
|
|
|
= link_to "Onglet inactif", "#"
|
2017-07-18 15:03:04 +02:00
|
|
|
|
%li
|
2017-08-28 10:51:40 +02:00
|
|
|
|
= link_to "#" do
|
|
|
|
|
Onglet avec badge
|
|
|
|
|
%span.badge 2
|
2017-07-18 15:03:04 +02:00
|
|
|
|
|
|
|
|
|
.container
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Breadcrumbs
|
2017-07-18 15:38:31 +02:00
|
|
|
|
|
|
|
|
|
%ul.breadcrumbs
|
|
|
|
|
%li
|
|
|
|
|
= link_to "Procédure 123", "#"
|
|
|
|
|
%li
|
|
|
|
|
= "Dossier n° 38"
|
|
|
|
|
|
|
|
|
|
|
2017-07-18 15:39:21 +02:00
|
|
|
|
%h1 Layout deux colonnes
|
2017-06-20 11:13:24 +02:00
|
|
|
|
|
|
|
|
|
.two-columns
|
|
|
|
|
.columns-container
|
|
|
|
|
.column
|
|
|
|
|
Insérer ici le contenu de la colonne 1
|
|
|
|
|
.column
|
|
|
|
|
Insérer ici le contenu de la colonne 2
|
2017-09-06 14:08:03 +02:00
|
|
|
|
|
|
|
|
|
.container
|
|
|
|
|
%section.ask-avis
|
|
|
|
|
%h1 Inviter une personne à donner son avis
|
2017-09-20 10:51:06 +02:00
|
|
|
|
%p.avis-notice L'invité pourra consulter, donner un avis sur le dossier et contribuer au fil de messagerie, mais il ne pourra le modifier.
|
2017-09-06 14:08:03 +02:00
|
|
|
|
|
|
|
|
|
= form_for Avis.new, url: '/', html: { class: 'form' } do |f|
|
|
|
|
|
= f.email_field :email, placeholder: 'Adresse email', required: true
|
|
|
|
|
= f.text_area :introduction, rows: 3, value: 'Bonjour, merci de me donner votre avis sur ce dossier.', required: true
|
|
|
|
|
.send-wrapper
|
|
|
|
|
= f.submit 'Demander un avis', class: 'button send'
|
|
|
|
|
|
|
|
|
|
%section.list-avis
|
|
|
|
|
%h1.title
|
|
|
|
|
Avis des invités
|
|
|
|
|
%span.count 1
|
|
|
|
|
|
|
|
|
|
%ul
|
|
|
|
|
%li.one-avis
|
|
|
|
|
%h2.claimant
|
|
|
|
|
Vous
|
|
|
|
|
%span.date Demande d'avis envoyée le 12/01/2012
|
|
|
|
|
%p Bonjour, merci de me donner votre avis sur ce dossier.
|
|
|
|
|
|
|
|
|
|
.answer.flex.align-start
|
2017-10-16 18:29:40 +02:00
|
|
|
|
.icon.bubble.avis-icon
|
2017-09-06 14:08:03 +02:00
|
|
|
|
.width-100
|
|
|
|
|
%h2.gestionnaire
|
2018-02-28 16:13:14 +01:00
|
|
|
|
contact@demarches-simplifiees.fr
|
2017-09-06 14:08:03 +02:00
|
|
|
|
%span.date Réponse donnée le 13/01/2012
|
|
|
|
|
%p Je donne un avis favorable
|
2017-09-20 17:07:09 +02:00
|
|
|
|
|
|
|
|
|
.container
|
|
|
|
|
%h2.empty-text Aucun dossier
|