Upload via GUI (32 Dateien)

This commit is contained in:
2026-11-01 11:17:07 +00:00
parent e1c6f8dfca
commit 53f8bf0577
7 changed files with 626 additions and 491 deletions
+9
View File
@@ -7,3 +7,12 @@ function toggleTheme() {
document.querySelectorAll('.theme-only').forEach(function (el) { el.style.display = type.value === 'theme' ? '' : 'none'; });
}
if (type) { type.addEventListener('change', toggleTheme); toggleTheme(); }
// Bei ZIP-Paketen (WordPress, Chrome) kann die Versionsnummer leer bleiben: sie wird aus dem Paket gelesen
var platform = document.getElementById('platform');
function toggleVersion() {
var zip = platform.options[platform.selectedIndex].dataset.zip === '1';
document.getElementById('appversion').required = !zip;
document.getElementById('versionhint').hidden = !zip;
}
if (platform) { platform.addEventListener('change', toggleVersion); toggleVersion(); }
+5
View File
@@ -132,3 +132,8 @@ details.card p { overflow-wrap: anywhere; }
.cols.two td.actions { padding-right: 12px; }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cols.three { grid-template-columns: 1fr; } }
.previewrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.thumb-sm { width: 96px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--line); }
.thumb-sm.none { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; border: 1px dashed var(--line); opacity: .7; }
.previewrow input[type=file] { max-width: 230px; }