more fucking UI fixes
This commit is contained in:
parent
a3f879312d
commit
4031998445
@ -1562,7 +1562,7 @@
|
||||
<div class="file-date">${new Date(file.uploaded_at).toLocaleDateString()}</div>
|
||||
</div>
|
||||
<div class="file-actions" onclick="event.stopPropagation()">
|
||||
<button class="action-btn" onclick="console.log('Button clicked!', '${file.hash}'); shareFile('${file.hash}')" title="Share">🔗</button>
|
||||
<button class="action-btn" onclick="console.log('Button clicked!', this.dataset.hash); shareFile(this.dataset.hash)" data-hash="${file.hash}" title="Share">🔗</button>
|
||||
<button class="action-btn" onclick="downloadFile('${file.hash}')" title="Download">⬇</button>
|
||||
<button class="action-btn danger" onclick="deleteFile('${file.hash}')" title="Delete">🗑</button>
|
||||
</div>
|
||||
@ -1588,7 +1588,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="file-actions">
|
||||
<button class="action-btn" onclick="shareFile('${file.hash}')">Share</button>
|
||||
<button class="action-btn" onclick="shareFile(this.dataset.hash)" data-hash="${file.hash}">Share</button>
|
||||
<button class="action-btn" onclick="downloadFile('${file.hash}')">Download</button>
|
||||
<button class="action-btn danger" onclick="deleteFile('${file.hash}')">Delete</button>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user