📥 Add download buttons for individual files and a "Download All from Server" option
This commit is contained in:
@@ -119,10 +119,23 @@
|
||||
:key="file.filename"
|
||||
class="file-item"
|
||||
>
|
||||
<span class="file-name">{{ file.filename }}</span>
|
||||
<span class="file-size">{{ file.sizeKb }} KB</span>
|
||||
<div class="file-info">
|
||||
<span class="file-name">{{ file.filename }}</span>
|
||||
<span class="file-size">{{ file.sizeKb }} KB</span>
|
||||
</div>
|
||||
<button
|
||||
@click="downloadFromServer(file.filename)"
|
||||
class="btn btn-small btn-success"
|
||||
>
|
||||
📥
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="serverStatus.totalFiles > 0" class="button-group" style="margin-top: 1rem;">
|
||||
<button @click="downloadAllFromServer" class="btn btn-primary">
|
||||
📦 Download All from Server
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user