Rajout de la colonne Emballé et modifs de style
This commit is contained in:
@@ -20,14 +20,14 @@
|
||||
<br>
|
||||
|
||||
<div class="tableau">
|
||||
<ul>
|
||||
<ul style="display: none">
|
||||
<li> </li>
|
||||
<li> </li>
|
||||
<li> </li>
|
||||
<li>Qui va l'offrir ?</li>
|
||||
<li> </li>
|
||||
<li>Qui l'achète ?</li>
|
||||
<li>Statut</li>
|
||||
<li>Noël ou son anniv' ?</li>
|
||||
<li>Emballé ?</li>
|
||||
</ul>
|
||||
{{#each cadeaux}}
|
||||
<ul>
|
||||
@@ -45,24 +45,19 @@
|
||||
<li>
|
||||
<div class="form-check form-switch">
|
||||
{{#if this.achete}}
|
||||
<input class="form-check-input" type="checkbox" id="flexAcheteCheckedDisabled-{{this.id}}" checked disabled>
|
||||
<label class="form-check-label" for="flexAcheteCheckedDisabled-{{this.id}}">Déja acheté</label>
|
||||
<label class="form-check-label">Déja acheté{{#equals this.responsableAchat "Les parents"}}{{#unless this.paye}}<br>A rembourser{{/unless}}{{/equals}}</label>
|
||||
{{else}}
|
||||
<input class="form-check-input" type="checkbox" id="flexAcheteDisabled-{{this.id}}" disabled>
|
||||
<label class="form-check-label" for="flexAcheteDisabled-{{this.id}}">A acheter</label>
|
||||
<label class="form-check-label">A acheter{{#equals this.responsableAchat "Les parents"}}{{#unless this.paye}}<br>A rembourser{{/unless}}{{/equals}}</label>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="form-check form-switch">
|
||||
{{#if this.paye}}
|
||||
<input class="form-check-input" type="checkbox" id="flexPayeCheckedDisabled-{{this.id}}" checked disabled>
|
||||
<label class="form-check-label" for="flexPayeCheckedDisabled-{{this.id}}">Déja payé</label>
|
||||
{{else}}
|
||||
<input class="form-check-input" type="checkbox" id="flexPayeDisabled-{{this.id}}" disabled>
|
||||
<label class="form-check-label" for="flexPayeDisabled-{{this.id}}">A payer</label>
|
||||
{{/if}}
|
||||
</div>
|
||||
<li>{{#if this.responsable_achat}}{{this.responsableAchat}}{{/if}}</li>
|
||||
</div>
|
||||
<li>{{#if this.pourNoel}}Noël{{else}}Anniversaire{{/if}}</li>
|
||||
<li>
|
||||
{{#if this.emballe}}
|
||||
<label class="form-check-label">Déja emballé</label>
|
||||
{{else}}
|
||||
<label class="form-check-label">A emballer</label>
|
||||
{{/if}}
|
||||
</li>
|
||||
</ul>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user