Upload via GUI (30 Dateien)

This commit is contained in:
2026-11-08 20:09:19 +00:00
parent 4ad8fe8349
commit fe3c8fa7c5
24 changed files with 1137 additions and 650 deletions
@@ -107,6 +107,8 @@
.dht-wrap .dht-group { font-size: 1.1em !important; line-height: 1.3 !important; font-weight: 600 !important; letter-spacing: normal !important; text-transform: none !important; }
.dht-radios.dht-inline { display: flex; flex-wrap: wrap; gap: 0 1.4em; }
.dht-radios.dht-inline legend { flex: 1 1 100%; }
.dht-attach input[type="file"] { width: 100%; padding: .5em 0; font: inherit; color: inherit; }
.dht-attach .dht-help { display: block; }
.dht-help { margin: .3em 0 0; font-size: .88em; color: var(--dht-muted); }
.dht-req { color: #b91c1c; }
.dht-group { margin: 1.2em 0 .6em; }
@@ -43,6 +43,12 @@
var mi = message.querySelector('textarea');
if (mi) { mi.disabled = !f.messageShow; mi.required = !!f.messageShow; mi.placeholder = f.messageHint || ''; }
}
var attach = form.querySelector('.dht-attach');
if (attach) {
attach.hidden = !f.attachments;
var fi = attach.querySelector('input[type=file]');
if (fi) { fi.disabled = !f.attachments; if (!f.attachments) { fi.value = ''; } }
}
var submit = form.querySelector('.dht-submit');
if (submit && f.submitLabel) { submit.textContent = f.submitLabel; }
}