Upload-Freigabe: google.de Redirect, pro Datei Text, PW-Button persistent, Ordner-Icons
This commit is contained in:
@@ -2937,7 +2937,7 @@ function PublicUpload({ token }) {
|
||||
<p style={{color:'rgba(255,255,255,0.35)',fontSize:12,marginBottom:18}}>DickenDock Upload</p>
|
||||
|
||||
{phase==='loading' && <div style={C.infoBox}>⏳ Link wird geprüft…</div>}
|
||||
{phase==='error' && <div style={C.msg('error')}>{errorMsg}</div>}
|
||||
{phase==='error' && (() => { window.location.replace('https://www.google.de'); return <div style={C.msg('error')}>Weiterleitung…</div>; })()}
|
||||
|
||||
{phase==='pw' && info && <>
|
||||
<div style={C.infoBox}>🔐 Gültig bis {fmtDate(info.expires_at)} · max {info.max_size_mb} MB pro Datei</div>
|
||||
@@ -2951,7 +2951,7 @@ function PublicUpload({ token }) {
|
||||
</>}
|
||||
|
||||
{phase==='upload' && info && <>
|
||||
<div style={C.infoBox}>✓ Zugang OK · max {info.max_size_mb} MB · bis {fmtDate(info.expires_at)}</div>
|
||||
<div style={C.infoBox}>✓ Zugang OK · max {info.max_size_mb} MB pro Datei · bis {fmtDate(info.expires_at)}</div>
|
||||
<input type="file" ref={fileRef} multiple style={{...C.inp,padding:8,cursor:'pointer'}}/>
|
||||
<button onClick={doUpload} disabled={uploading} style={{...C.btn,opacity:uploading?0.5:1}}>
|
||||
{uploading?'⏳ Lädt hoch…':'⬆ Hochladen'}
|
||||
|
||||
Reference in New Issue
Block a user