mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
fix: various padding, layouts and visual issues
- fixed padding in the tfe.php page - fixed the layout in admin/index.php toolbar top - the gap issued with the table theader - rearranged button order in the toolbar top
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
<!-- Title + filters + stats + import all in one toolbar row -->
|
||||
<div class="admin-list-toolbar admin-list-toolbar--list">
|
||||
<div class="admin-toolbar-top">
|
||||
<div class="admin-toolbar-title-row">
|
||||
<h1>Liste des TFE</h1>
|
||||
<div class="admin-stats">
|
||||
<fieldset class="admin-stat">
|
||||
@@ -20,22 +19,6 @@
|
||||
<span class="admin-stat__number"><?= $stats['pending'] ?></span>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class="admin-btn-group">
|
||||
<a href="/admin/add.php" class="btn btn--primary btn--sm"><?= icon('plus-circle') ?> Ajouter un TFE</a>
|
||||
<?php if ($trashCount > 0): ?>
|
||||
<a href="/admin/index.php?tab=trash" class="btn btn--sm <?= $tab === 'trash' ? 'btn--primary' : 'btn--secondary' ?>">
|
||||
Corbeille (<?= $trashCount ?>)
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<a href="/admin/cleanup.php" class="btn btn--sm btn--secondary">
|
||||
<?= icon('trash') ?> Nettoyer<?= $tmpTotalCount > 0 ? " ($tmpTotalCount)" : '' ?>
|
||||
</a>
|
||||
<button type="button" class="btn btn--primary btn--sm" id="import-dialog-btn"
|
||||
onclick="document.getElementById('import-dialog').showModal(); window.XamxamInitFilePonds()">
|
||||
<?= icon('tray-arrow-up') ?> Importer
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form id="admin-filter-form" class="admin-filters" method="get" action="/admin/"
|
||||
@@ -74,6 +57,21 @@
|
||||
<?php if ($searchQuery || $yearFilter || $orientationFilter || $apFilter): ?>
|
||||
<a href="/admin/" class="btn btn--secondary btn--sm admin-filters-reset">✕ Réinitialiser</a>
|
||||
<?php endif; ?>
|
||||
<div class="admin-btn-group">
|
||||
<a href="/admin/add.php" class="btn btn--primary btn--sm"><?= icon('plus-circle') ?> Ajouter un TFE</a>
|
||||
<button type="button" class="btn btn--primary btn--sm" id="import-dialog-btn"
|
||||
onclick="document.getElementById('import-dialog').showModal(); window.XamxamInitFilePonds()">
|
||||
<?= icon('tray-arrow-up') ?> Importer
|
||||
</button>
|
||||
<?php if ($trashCount > 0): ?>
|
||||
<a href="/admin/index.php?tab=trash" class="btn btn--sm <?= $tab === 'trash' ? 'btn--primary' : 'btn--secondary' ?>">
|
||||
Corbeille (<?= $trashCount ?>)
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<a href="/admin/cleanup.php" class="btn btn--sm btn--secondary">
|
||||
<?= icon('trash') ?> Nettoyer<?= $tmpTotalCount > 0 ? " ($tmpTotalCount)" : '' ?>
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!-- Loading indicator bar -->
|
||||
|
||||
Reference in New Issue
Block a user