feat(boxstore): add retention options and box deletion support
Introduce configurable retention options and default selection, store retention when creating manifests, and add a helper to delete box directories to enable expiring/cleanup workflows. Update login and upload styles (new login layout, taller upload window) to support the new UI.feat(boxstore): add retention options and box deletion support Introduce configurable retention options and default selection, store retention when creating manifests, and add a helper to delete box directories to enable expiring/cleanup workflows. Update login and upload styles (new login layout, taller upload window) to support the new UI.
This commit is contained in:
@@ -32,7 +32,9 @@
|
||||
|
||||
<div class="box-toolbar">
|
||||
<a class="win98-button box-toolbar-button" href="/">Upload</a>
|
||||
<a class="win98-button box-toolbar-button" href="{{ .DownloadAll }}">Download Zip</a>
|
||||
{{ if .DownloadAll }}
|
||||
<a class="win98-button box-toolbar-button" href="{{ .DownloadAll }}">Download Zip</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<div class="box-address">
|
||||
@@ -40,6 +42,13 @@
|
||||
<code>/box/{{ .BoxID }}</code>
|
||||
</div>
|
||||
|
||||
{{ if .RetentionLabel }}
|
||||
<div class="box-meta">
|
||||
<span>Retention</span>
|
||||
<span>{{ .RetentionLabel }}</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="win98-panel box-panel" data-box-id="{{ .BoxID }}" data-poll-ms="{{ .PollMS }}">
|
||||
{{ if .Files }}
|
||||
<div class="box-file-grid" aria-label="Uploaded files">
|
||||
|
||||
Reference in New Issue
Block a user