系统更新增加客户端「全部更新」,依次远程更新所有启用实例。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -166,7 +166,9 @@
|
||||
<h3>客户端远程更新</h3>
|
||||
<p class="muted field-hint">经 Bridge 探测版本并下发更新;客户端需已具备 <code>/api/hub/update</code></p>
|
||||
<div class="settings-actions">
|
||||
<button type="button" class="settings-primary" id="client-update-all">全部更新</button>
|
||||
<button type="button" class="btn-secondary" id="client-update-refresh">刷新列表</button>
|
||||
<span class="update-status muted" id="client-update-all-status"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-wrap">
|
||||
@@ -183,7 +185,7 @@
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ url_for('static', filename='settings_backup.js') }}?v=2"></script>
|
||||
<script src="{{ url_for('static', filename='settings_update.js') }}?v=4"></script>
|
||||
<script src="{{ url_for('static', filename='settings_update.js') }}?v=5"></script>
|
||||
<script>
|
||||
HubSettingsBackup.boot();
|
||||
HubSettingsUpdate.boot();
|
||||
|
||||
Reference in New Issue
Block a user