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:
@@ -39,6 +39,27 @@
|
||||
|
||||
<input id="file-upload" class="upload-input" type="file" name="files" multiple>
|
||||
|
||||
<fieldset class="upload-options">
|
||||
<legend>Box options</legend>
|
||||
<label class="upload-option-row" for="upload-retention">
|
||||
<span>Keep files</span>
|
||||
<select id="upload-retention" class="upload-select" name="retention">
|
||||
{{ range .RetentionOptions }}
|
||||
<option value="{{ .Key }}" {{ if eq .Key $.DefaultRetention }}selected{{ end }}>{{ .Label }}</option>
|
||||
{{ end }}
|
||||
</select>
|
||||
</label>
|
||||
<label class="upload-check-row" for="upload-password-enabled">
|
||||
<input id="upload-password-enabled" type="checkbox">
|
||||
<span>Password protect this box</span>
|
||||
</label>
|
||||
<input id="upload-password" class="upload-text-input" type="password" autocomplete="new-password" placeholder="Password" disabled>
|
||||
<label class="upload-check-row" for="upload-zip-enabled">
|
||||
<input id="upload-zip-enabled" type="checkbox" checked>
|
||||
<span>Allow Download Zip</span>
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<div class="upload-details">
|
||||
<span class="upload-detail-label">Selected Files</span>
|
||||
<span id="upload-file-count" class="upload-file-count">0 files</span>
|
||||
|
||||
Reference in New Issue
Block a user