feat(server): add box file listing and download routes
Introduce `/box/:id` to render a box page with file metadata, plus endpoints to download individual files and a “download all” ZIP. Add helpers to safely list box contents, stream files into a ZIP response, and infer MIME types/icons for better UI and correct downloads.feat(server): add box file listing and download routes Introduce `/box/:id` to render a box page with file metadata, plus endpoints to download individual files and a “download all” ZIP. Add helpers to safely list box contents, stream files into a ZIP response, and infer MIME types/icons for better UI and correct downloads.
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
<div class="upload-file-list" aria-live="polite" aria-label="Selected files">
|
||||
<p class="upload-empty-state">No files selected</p>
|
||||
</div>
|
||||
|
||||
<div class="upload-result" aria-live="polite">
|
||||
<span class="upload-result-label">Folder link</span>
|
||||
<a id="upload-box-link" class="upload-result-link is-empty" href="#" aria-disabled="true">Waiting for upload</a>
|
||||
<button id="upload-share-button" class="win98-button upload-share-button" type="button" disabled>Share</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="upload-actions">
|
||||
|
||||
Reference in New Issue
Block a user