mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
standardise buttons: .btn base class (border-radius 10px, padding var(--space-xs))
This commit is contained in:
@@ -66,7 +66,7 @@ $juryIdx = max(count($juryLecteurs), 1);
|
||||
<input type="checkbox" name="jury_lecteurs_ext[0]" value="1"
|
||||
aria-label="Lecteur·ice 1 — externe"> Externe
|
||||
</label>
|
||||
<button type="button" class="admin-btn-remove" onclick="removeJuryRow(this)"
|
||||
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove" onclick="removeJuryRow(this)"
|
||||
aria-label="Supprimer le lecteur·ice 1"><span aria-hidden="true">✕</span></button>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
@@ -81,13 +81,13 @@ $juryIdx = max(count($juryLecteurs), 1);
|
||||
<?= $lm['is_external'] ? 'checked' : '' ?>
|
||||
aria-label="Lecteur·ice <?= $lNum ?> — externe"> Externe
|
||||
</label>
|
||||
<button type="button" class="admin-btn-remove" onclick="removeJuryRow(this)"
|
||||
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove" onclick="removeJuryRow(this)"
|
||||
aria-label="Supprimer le lecteur·ice <?= $lNum ?>"><span aria-hidden="true">✕</span></button>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<button type="button" class="admin-btn-secondary admin-add-jury-btn"
|
||||
<button type="button" class="btn btn--secondary admin-add-jury-btn"
|
||||
onclick="addJuryRow()">+ Ajouter un·e lecteur·ice</button>
|
||||
</fieldset>
|
||||
</fieldset>
|
||||
@@ -104,7 +104,7 @@ $juryIdx = max(count($juryLecteurs), 1);
|
||||
+ '<input type="checkbox" name="jury_lecteurs_ext[' + juryIdx + ']" value="1"'
|
||||
+ ' aria-label="Lecteur\u00b7ice ' + n + ' \u2014 externe"> Externe'
|
||||
+ '</label>'
|
||||
+ '<button type="button" class="admin-btn-remove" onclick="removeJuryRow(this)"'
|
||||
+ '<button type="button" class="btn btn--sm btn--ghost admin-btn-remove" onclick="removeJuryRow(this)"'
|
||||
+ ' aria-label="Supprimer le lecteur\u00b7ice ' + n + '"><span aria-hidden="true">\u2715</span></button>';
|
||||
list.appendChild(div);
|
||||
juryIdx++;
|
||||
|
||||
Reference in New Issue
Block a user