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:
@@ -6,7 +6,7 @@
|
||||
<div class="thanks-error">
|
||||
<h1>⚠ Oups…</h1>
|
||||
<p><?= htmlspecialchars($error) ?></p>
|
||||
<a href="/admin/add.php?mode=student" class="btn-new-form">← Retour au formulaire</a>
|
||||
<a href="/admin/add.php?mode=student" class="btn btn--primary btn--lg btn-new-form">← Retour au formulaire</a>
|
||||
</div>
|
||||
|
||||
<?php elseif ($thesis): ?>
|
||||
@@ -15,13 +15,13 @@
|
||||
<p class="thanks-message">
|
||||
Ton TFE <strong><?= htmlspecialchars($thesis['title']) ?></strong> a bien été soumis.
|
||||
</p>
|
||||
<a href="/admin/add.php?mode=student" class="btn-new-form">+ Ajouter un nouveau TFE</a>
|
||||
<a href="/admin/add.php?mode=student" class="btn btn--primary btn--lg btn-new-form">+ Ajouter un nouveau TFE</a>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="thanks-error">
|
||||
<h1>Erreur</h1>
|
||||
<p>Aucune donnée à afficher.</p>
|
||||
<a href="/admin/add.php?mode=student" class="btn-new-form">← Retour au formulaire</a>
|
||||
<a href="/admin/add.php?mode=student" class="btn btn--primary btn--lg btn-new-form">← Retour au formulaire</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
<?php if ($error): ?>
|
||||
<p class="toast" role="alert" data-type="error">⚠ <?= htmlspecialchars($error) ?></p>
|
||||
<p><a href="/admin/add.php" class="admin-btn-secondary">Retour au formulaire</a></p>
|
||||
<p><a href="/admin/add.php" class="btn btn--secondary">Retour au formulaire</a></p>
|
||||
|
||||
<?php elseif ($thesis): ?>
|
||||
<section>
|
||||
@@ -123,14 +123,14 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="admin-action-bar">
|
||||
<a href="/admin/edit.php?id=<?= $thesisId ?>" class="admin-btn">Modifier</a>
|
||||
<a href="/admin/add.php" class="admin-btn-secondary">Ajouter un autre TFE</a>
|
||||
<a href="/admin/" class="admin-btn-secondary">Retour à la liste</a>
|
||||
<a href="/admin/edit.php?id=<?= $thesisId ?>" class="btn btn--primary">Modifier</a>
|
||||
<a href="/admin/add.php" class="btn btn--secondary">Ajouter un autre TFE</a>
|
||||
<a href="/admin/" class="btn btn--secondary">Retour à la liste</a>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="admin-muted">Aucune donnée à afficher.</p>
|
||||
<p><a href="/admin/add.php" class="admin-btn-secondary">Retour au formulaire</a></p>
|
||||
<p><a href="/admin/add.php" class="btn btn--secondary">Retour au formulaire</a></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user