Improved view
This commit is contained in:
parent
202a3eb383
commit
74c658b2dd
@ -24,7 +24,7 @@
|
|||||||
<div class="message info">
|
<div class="message info">
|
||||||
<strong>Your API Key:</strong>
|
<strong>Your API Key:</strong>
|
||||||
<div class="api-key-display" id="apiKeyDisplay"></div>
|
<div class="api-key-display" id="apiKeyDisplay"></div>
|
||||||
<small>⚠️ Save this key securely! You won't be able to see it again.</small>
|
<small>⚠️ Save this key securely!</small>
|
||||||
</div>
|
</div>
|
||||||
<button onclick="clearKey()" style="background: #dc3545;">Logout</button>
|
<button onclick="clearKey()" style="background: #dc3545;">Logout</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -120,7 +120,7 @@ async function loadFiles() {
|
|||||||
fileList.innerHTML = files.map(file => `
|
fileList.innerHTML = files.map(file => `
|
||||||
<li class="file-item">
|
<li class="file-item">
|
||||||
<div>
|
<div>
|
||||||
<div><strong>${file.original_name}</strong> (${formatBytes(file.size)}) <a href="/dn/${file.file_id}">Direct link to file</a></div>
|
<div><strong>${file.original_name}</strong> (${formatBytes(file.size)}) <a href="/dn/${file.file_id}" title="Direct link">⬇</a></div>
|
||||||
<div class="file-date">Uploaded: ${new Date(file.uploaded_at).toLocaleString()}</div>
|
<div class="file-date">Uploaded: ${new Date(file.uploaded_at).toLocaleString()}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user