feat(config): support *_MB env vars for upload size limits
- Add `applyMegabytesOrBytesEnv` to accept size settings in either bytes or MB - Prefer `*_BYTES` when set, otherwise convert `*_MB` to bytes with overflow guard - Add coverage for MB-based environment overrides - Introduce `static/js/upload-popups.js` to lazy-load and cache popup templatesfeat(config): support *_MB env vars for upload size limits - Add `applyMegabytesOrBytesEnv` to accept size settings in either bytes or MB - Prefer `*_BYTES` when set, otherwise convert `*_MB` to bytes with overflow guard - Add coverage for MB-based environment overrides - Introduce `static/js/upload-popups.js` to lazy-load and cache popup templates
This commit is contained in:
7
static/popups/copy-failed.html
Normal file
7
static/popups/copy-failed.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<h3>Clipboard access failed</h3>
|
||||
<p>The browser refused clipboard access. Copy it manually from the field below.</p>
|
||||
<textarea class="copy-fallback-text" readonly>{{ value }}</textarea>
|
||||
<div class="copy-fallback-actions">
|
||||
{{ openLink }}
|
||||
<button class="win98-button" type="button" id="fallback-close">Close</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user