Projet

Général

Profil

0002-bouches-du-rhone-add-proper-padding-instead-of-abusi.patch

Frédéric Péters, 26 mars 2019 21:12

Télécharger (5,15 ko)

Voir les différences:

Subject: [PATCH 2/7] bouches-du-rhone: add proper padding instead of abusing
 textcell class (#31744)

 static/bouches-du-rhone/_custom.scss            | 17 +++++++++++++++++
 .../combo/json/cd13_dossier_contacts.html       |  2 --
 .../combo/json/cd13_dossier_coordonnees.html    |  2 --
 .../combo/json/cd13_dossier_demandes.html       |  2 --
 .../combo/json/cd13_dossier_entete.html         |  2 --
 .../combo/json/cd13_dossier_nom.html            |  2 --
 .../combo/json/cd13_liste_des_dossiers.html     |  2 --
 7 files changed, 17 insertions(+), 12 deletions(-)
static/bouches-du-rhone/_custom.scss
83 83
		}
84 84
	}
85 85
}
86

  
87
div.cd13_dossier_nom,
88
div.cd13_dossier_coordonnees,
89
div.cd13_dossier_entete,
90
div.cd13_dossier_demandes,
91
div.cd13_dossier_contacts {
92
	& > div > div.loading {
93
		padding: 0;
94
	}
95

  
96
	& > div > div {
97
		padding: 1rem;
98
		h3:first-child {
99
			margin-top: 0;
100
		}
101
	}
102
}
templates/variants/bouches-du-rhone/combo/json/cd13_dossier_contacts.html
1 1
{% load combo %}
2 2

  
3 3
{% if json.data.dossier %}
4
<div class="textcell" style="padding: 1rem;">
5 4
<div class="dataview" style="display: block;">
6 5

  
7 6
  {% if json.data.dossier.beneficiaire.entourage %}
......
70 69
Vous n'avez aucun contact d'indiqué.
71 70
  {% endif %}
72 71
</div>
73
</div>
74 72
{% endif %}
templates/variants/bouches-du-rhone/combo/json/cd13_dossier_coordonnees.html
2 2

  
3 3
{% if json.data.dossier %}
4 4

  
5
<div class="textcell" style="padding: 1rem;">
6 5
<div class="dataview" style="display: block;">
7 6
<h3>Coordonnées</h3>
8 7
  {% if json.data.dossier.beneficiaire.email %}
......
30 29
  </div>
31 30
  {% endif %}
32 31
</div>
33
</div>
34 32

  
35 33
{% endif %}
templates/variants/bouches-du-rhone/combo/json/cd13_dossier_demandes.html
1 1
{% load combo %}
2 2
{% if json.data.dossier %}
3 3

  
4
<div class="textcell" style="padding: 1rem;">
5 4
<div class="dataview" style="display: block;">
6 5
{% if  json.data.dossier.demandes %}
7 6
<h3 > Demandes</h3>
......
70 69
</p>
71 70
{% endif %}
72 71
</div>
73
</div>
74 72
{% endif %}
templates/variants/bouches-du-rhone/combo/json/cd13_dossier_entete.html
6 6

  
7 7
{% if json.data.dossier %}
8 8

  
9
<div class="textcell" style="padding: 1rem;">
10 9
<div class="dataview" style="display: block;">
11 10
   <div class="field">
12 11
    <span class="label">Numéro de dossier</span>
......
25 24
  </div>
26 25
  {% endif %}
27 26
</div>
28
</div>
29 27
{% else %}
30 28
<p>Aucune information trouvée.</p>
31 29
{% endif %}
templates/variants/bouches-du-rhone/combo/json/cd13_dossier_nom.html
5 5
{% else %}
6 6

  
7 7
{% if json.data.dossier %}
8
<div class="textcell" style="padding: 1rem;">
9 8
<h2>{{json.data.dossier.beneficiaire.nom}} {{json.data.dossier.beneficiaire.prenom}}</h2>
10
</div>
11 9
{% else %}
12 10
<p>Aucune information trouvée.</p>
13 11
{% endif %}
templates/variants/bouches-du-rhone/combo/json/cd13_liste_des_dossiers.html
1 1
{% load combo %}
2 2

  
3
<div class="cell textcell">
4 3
<h2 style="text-align: center;">Mes dossiers</h2>
5 4

  
6 5
{% if json.data %}
......
73 72
<p style="text-align: center;">Vous n'avez aucun dossier de bénéficiaire associé à votre compte.</p>
74 73

  
75 74
{% endif %}<!-- json.data -->
76
</div>
77
-