diff --git a/app/public/assets/css/form.css b/app/public/assets/css/form.css
index e5cf911..6fa68c1 100644
--- a/app/public/assets/css/form.css
+++ b/app/public/assets/css/form.css
@@ -1413,21 +1413,23 @@ legend {
.admin-file-list-item,
.recap-files-list-item {
list-style: none;
+ display: flex;
+ align-items: center;
+ gap: var(--space-s);
}
-.admin-file-figure,
-.recap-file-figure {
+.admin-file-figure {
display: flex;
align-items: flex-start;
gap: var(--space-s);
- background: var(--bg-secondary, rgba(149, 87, 181, 0.05));
+ background: var(--bg-secondary);
border-radius: var(--radius);
padding: var(--space-s);
margin: 0;
+ flex: 1;
}
-.admin-file-icon,
-.recap-file-icon {
+.admin-file-icon {
font-size: 1.5rem;
flex-shrink: 0;
width: 2.5rem;
@@ -1439,39 +1441,40 @@ legend {
border-radius: var(--radius);
}
-.admin-file-thumb,
-.recap-file-thumb {
- max-width: 160px;
- max-height: 120px;
+.admin-file-thumb {
+ max-width: 120px;
+ max-height: 90px;
object-fit: cover;
border-radius: var(--radius);
flex-shrink: 0;
}
-.admin-file-caption,
-.recap-file-caption {
+.admin-file-caption {
flex: 1;
display: flex;
flex-direction: column;
gap: var(--space-3xs);
}
-.admin-file-name,
-.recap-file-name {
+.admin-file-name-row {
+ display: flex;
+ align-items: center;
+ gap: var(--space-2xs);
+}
+
+.admin-file-name {
font-weight: 600;
font-size: var(--step--1);
color: var(--text-primary);
}
-.admin-file-peertube-id,
-.recap-file-peertube-id {
+.admin-file-peertube-id {
font-size: var(--step--2);
color: var(--text-tertiary);
font-family: monospace;
}
-.admin-file-meta-row,
-.recap-file-meta-row {
+.admin-file-meta-row {
display: flex;
gap: var(--space-xs);
align-items: center;
@@ -1479,18 +1482,8 @@ legend {
color: var(--text-tertiary);
}
-.recap-file-label {
+.admin-file-label {
font-size: var(--step--1);
color: var(--text-secondary);
font-style: italic;
}
-
-.admin-file-label-input {
- font-size: var(--step--2);
- padding: var(--space-3xs) var(--space-2xs);
- border: 1px solid var(--accent-muted);
- border-radius: var(--radius);
- background: var(--bg-primary);
- color: var(--text-primary);
- margin-top: var(--space-3xs);
-}
diff --git a/app/public/partage/fichiers-fragment.php b/app/public/partage/fichiers-fragment.php
index f55ccbf..fc58345 100644
--- a/app/public/partage/fichiers-fragment.php
+++ b/app/public/partage/fichiers-fragment.php
@@ -87,11 +87,15 @@ $websiteLabel = htmlspecialchars($_POST['website_label'] ?? '');
alt="Couverture actuelle" class="admin-file-thumb">
Couverture
-
+
+
= $_fIcon ?>
-
- = htmlspecialchars($_f["file_name"] ?? basename($_f["file_path"])) ?>
-
+
ID : = htmlspecialchars(substr($_fPath, strlen("peertube_ids:"))) ?>
@@ -132,16 +138,15 @@ $websiteLabel = htmlspecialchars($_POST['website_label'] ?? '');
= number_format($_f["file_size"] / 1024 / 1024, 2) ?> MB
- ]"
- value="= htmlspecialchars($_f["display_label"] ?? "") ?>"
- placeholder="Légende / description (optionnel)"
- class="admin-file-label-input">
" disabled>
+ class="admin-icon-btn admin-icon-btn--delete"
+ title="Supprimer"
+ onclick="this.previousElementSibling.disabled=false;this.closest('li').style.opacity='0.4';this.disabled=true;">
+
+
diff --git a/app/templates/admin/acces.php b/app/templates/admin/acces.php
index dcea4e0..0943d86 100644
--- a/app/templates/admin/acces.php
+++ b/app/templates/admin/acces.php
@@ -1091,6 +1091,19 @@
+%%%%%%% diff from: somsyvxz 249f7943 "Bulk bar anti-shift, tags icons, AP no-wrap, credits reorder" (rebased revision)
+\\\\\\\ to: yupunuzo c830a93c "refactor licence fragment: Libre→CC2r+licence, Interne→opt-in want_license, Interdit→none" (rebased revision)
++ $linkName = $link['name'] ?? '';
+++ $linkExpiresVal = $link['expires_at'] ? date('Y-m-d\TH:i', strtotime($link['expires_at'])) : '';
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff from: yupunuzo c830a93c "refactor licence fragment: Libre→CC2r+licence, Interne→opt-in want_license, Interdit→none" (rebased revision)
+\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ to: somsyvxz 249f7943 "Bulk bar anti-shift, tags icons, AP no-wrap, credits reorder" (rebased revision)
+- $linkName = $link['name'] ?? '';
+- $linkExpiresVal = $link['expires_at'] ? date('Y-m-d\TH:i', strtotime($link['expires_at'])) : '';
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff from: somsyvxz 14a3cd10 "Bulk bar anti-shift, tags icons, AP no-wrap, credits reorder" (rebase destination)
+\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ to: ovpvxorx 7358c7fd "exhaustive recap: all fields, figures for files, PeerTube ID display, same in edit form" (rebased revision)
+ $linkName = $link['name'] ?? '';
+ $linkExpiresVal = $link['expires_at'] ? date('Y-m-d\TH:i', strtotime($link['expires_at'])) : '';
+ $linkLockedYear = $link['locked_year'] ?? null;
++%%%%%%% diff from: somsyvxz 249f7943 "Bulk bar anti-shift, tags icons, AP no-wrap, credits reorder" (rebased revision)
++\\\\\\\ to: ovpvxorx 2aa6ba2c "exhaustive recap: all fields, figures for files, PeerTube ID display, same in edit form" (rebased revision)
+++ $linkName = $link['name'] ?? '';
++ $linkExpiresVal = $link['expires_at'] ? date('Y-m-d\TH:i', strtotime($link['expires_at'])) : '';
?>
diff --git a/app/templates/admin/recapitulatif.php b/app/templates/admin/recapitulatif.php
index a65ac9c..e908c68 100644
--- a/app/templates/admin/recapitulatif.php
+++ b/app/templates/admin/recapitulatif.php
@@ -230,34 +230,30 @@
};
?>
-
+
-
+
- = $typeIcon ?>
+ = $typeIcon ?>
-
-
-
-
= $fileName ?>
-
-
= $fileName ?>
+
+
-
- ID : = htmlspecialchars($_ptUuid) ?>
-
+ ID : = htmlspecialchars($_ptUuid) ?>
- = htmlspecialchars($displayLabel) ?>
+ = htmlspecialchars($displayLabel) ?>
-
- = formatFileSize($f['file_size']) ?>
- = date('d/m/Y H:i', strtotime($f['uploaded_at'])) ?>
-
+
+ = formatFileSize($f['file_size']) ?>
+ = date('d/m/Y H:i', strtotime($f['uploaded_at'])) ?>
+