mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
chore: add explicit spacing to cleanup page article and h1
This commit is contained in:
@@ -1,47 +1,29 @@
|
||||
<main id="main-content" class="admin-main--list">
|
||||
<div class="admin-list-toolbar admin-list-toolbar--list" style="margin-bottom:var(--space-m)">
|
||||
<div class="admin-toolbar-top">
|
||||
<div class="admin-toolbar-title-row">
|
||||
<h1>
|
||||
<a href="/admin/" class="admin-back-btn" title="Retour à la liste"><?= icon('arrow-left-circle') ?></a>
|
||||
Nettoyer les fichiers temporaires
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<main id="main-content">
|
||||
<article style="padding-top:var(--space-m)">
|
||||
<h1 style="margin:0 0 var(--space-xl)">
|
||||
<a href="/admin/" class="admin-back-btn" title="Retour à la liste"><?= icon('arrow-left-circle') ?></a>
|
||||
Nettoyer les fichiers temporaires
|
||||
</h1>
|
||||
|
||||
<article>
|
||||
<section aria-labelledby="tmp-files-title">
|
||||
<h2 id="tmp-files-title">Téléversements et corbeille</h2>
|
||||
<section aria-labelledby="cleanup-tmp-title">
|
||||
<h2 id="cleanup-tmp-title">Fichiers temporaires</h2>
|
||||
<div id="tmp-cleanup-stats-wrapper"
|
||||
hx-get="/admin/actions/cleanup-stats-fragment.php"
|
||||
hx-trigger="load"
|
||||
hx-swap="innerHTML"
|
||||
hx-indicator="#tmp-cleanup-stats-wrapper">
|
||||
<fieldset>
|
||||
<legend>
|
||||
<?= icon('paint-brush-household') ?>
|
||||
Fichiers temporaires
|
||||
</legend>
|
||||
<p style="margin:0;color:var(--text-secondary)">Chargement…</p>
|
||||
</fieldset>
|
||||
<p class="admin-muted">Chargement…</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section aria-labelledby="peertube-title">
|
||||
<h2 id="peertube-title">Vidéos PeerTube</h2>
|
||||
<section aria-labelledby="cleanup-peertube-title">
|
||||
<h2 id="cleanup-peertube-title">Vidéos PeerTube</h2>
|
||||
<div id="peertube-orphans-fragment"
|
||||
hx-get="/admin/actions/peertube-orphans-fragment.php"
|
||||
hx-trigger="load"
|
||||
hx-swap="innerHTML"
|
||||
hx-indicator="#peertube-orphans-fragment">
|
||||
<fieldset>
|
||||
<legend>
|
||||
<?= icon('video') ?>
|
||||
Vidéos PeerTube
|
||||
</legend>
|
||||
<p style="margin:0;color:var(--text-secondary)">Chargement…</p>
|
||||
</fieldset>
|
||||
<p class="admin-muted">Chargement…</p>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
@@ -28,11 +28,9 @@
|
||||
Corbeille (<?= $trashCount ?>)
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($tmpTotalCount > 0): ?>
|
||||
<a href="/admin/cleanup.php" class="btn btn--sm btn--secondary">
|
||||
<?= icon('trash') ?> Nettoyer (<?= $tmpTotalCount ?>)
|
||||
<?= icon('trash') ?> Nettoyer<?= $tmpTotalCount > 0 ? " ($tmpTotalCount)" : '' ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<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
|
||||
|
||||
Reference in New Issue
Block a user