Updater: channel-aware apply, UI polish, cache-bust
This commit is contained in:
@@ -87,6 +87,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="changelogModal" class="modal hidden">
|
||||
<div class="modal-card wide">
|
||||
<div class="panel-header sticky">
|
||||
<div>
|
||||
<p class="eyebrow">Changelog</p>
|
||||
<h3 id="changelogTitle">Release notes</h3>
|
||||
</div>
|
||||
<button id="changelogClose" class="ghost icon-btn close-btn" title="Close changelog">
|
||||
×
|
||||
</button>
|
||||
</div>
|
||||
<pre id="changelogBody" class="log-box" aria-live="polite"></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="releaseModal" class="modal hidden">
|
||||
<div class="modal-card wide">
|
||||
<div class="panel-header sticky">
|
||||
@@ -102,15 +117,16 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="controls column">
|
||||
<div class="control-card">
|
||||
<div class="control-card release-versions">
|
||||
<div>
|
||||
<p class="hint quiet">Current version</p>
|
||||
<h3 id="releaseCurrent">n/a</h3>
|
||||
</div>
|
||||
<div>
|
||||
<div class="align-right">
|
||||
<p class="hint quiet">Latest available</p>
|
||||
<h3 id="releaseLatest">—</h3>
|
||||
<p id="releaseStatusMsg" class="hint status-msg"></p>
|
||||
<button id="releaseChangelogBtn" class="ghost small" title="View changelog">Changelog</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-actions split-row">
|
||||
@@ -118,7 +134,7 @@
|
||||
Check
|
||||
</button>
|
||||
<button id="releaseApplyBtn" title="Download and install the latest release">
|
||||
Download & install
|
||||
Upgrade
|
||||
</button>
|
||||
<button id="releaseRollbackBtn" class="ghost" title="Rollback to previous backup">
|
||||
Rollback
|
||||
@@ -127,8 +143,24 @@
|
||||
<input type="checkbox" id="releaseAutoCheck" />
|
||||
<span>Auto-check daily</span>
|
||||
</label>
|
||||
<label class="checkbox-row inline">
|
||||
<input type="checkbox" id="releaseChannelToggle" />
|
||||
<span>Allow dev builds</span>
|
||||
</label>
|
||||
</div>
|
||||
<div id="releaseProgress" class="hint status-msg"></div>
|
||||
<div class="log-card">
|
||||
<div class="log-header">
|
||||
<span class="hint quiet">Update console</span>
|
||||
<div class="log-actions">
|
||||
<button id="releaseLogCopy" class="ghost icon-btn" title="Copy log" aria-label="Copy log">
|
||||
⧉
|
||||
</button>
|
||||
<span id="releaseLogStatus" class="hint quiet"></span>
|
||||
</div>
|
||||
</div>
|
||||
<pre id="releaseLog" class="log-box" aria-live="polite"></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -182,6 +214,22 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="confirmModal" class="modal hidden">
|
||||
<div class="modal-card">
|
||||
<div class="panel-header">
|
||||
<div>
|
||||
<p class="eyebrow">Confirm action</p>
|
||||
<h3 id="confirmTitle">Are you sure?</h3>
|
||||
<p id="confirmBody" class="hint"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-actions right">
|
||||
<button id="confirmCancel" class="ghost">Cancel</button>
|
||||
<button id="confirmOk">Continue</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="addServiceModal" class="modal hidden">
|
||||
<div class="modal-card wide">
|
||||
<div class="panel-header sticky">
|
||||
@@ -678,7 +726,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="module" src="assets/main.js"></script>
|
||||
<script type="module" src="assets/main.js?v=20251213d"></script>
|
||||
<div id="toastContainer" class="toast-container"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user