Improved view

This commit is contained in:
Anry Das 2025-10-12 15:25:44 +03:00
parent 202a3eb383
commit 74c658b2dd
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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)})&nbsp;<a href="/dn/${file.file_id}">Direct link to file</a></div> <div><strong>${file.original_name}</strong> (${formatBytes(file.size)})&nbsp;<a href="/dn/${file.file_id}" title="Direct link">&#11015;</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>