feat: server settings and snapshot upload in UI
CI / test (push) Successful in 27s

This commit is contained in:
strsv committed 2026-11-09 04:00:30 +03:00
1 parent ffe9e76a5b
commit e9d6fb8207
9 files changed
+472 -16

No files matched your search

+28
View File
@@ -520,6 +520,34 @@ try {
<div class="dp-note" id="updateNote">проверка тегов Gitea</div>
<button id="checkUpdates" class="ghost" type="button">проверить</button>
</article>
<article class="service-card" id="serverCard">
<h2>Сервер</h2>
<div class="server-fields">
<label>URL <input id="serverUrl" type="url" placeholder="https://steambase.strsv.ru"></label>
<label>Handle <input id="serverHandle" placeholder="strsv"></label>
<label>Upload-токен <input id="serverToken" type="password" placeholder="не задан"></label>
</div>
<div class="refresh-actions">
<button id="serverSave" class="ghost" type="button">сохранить</button>
<button id="serverTest" class="ghost" type="button">проверить</button>
<a id="serverShowcase" class="link hidden" target="_blank" rel="noopener">открыть витрину</a>
</div>
<div class="dp-note" id="serverNote">сервер не настроен</div>
<div class="refresh-actions">
<label class="check"><input type="checkbox" id="serverNotes" checked> заметки</label>
<label class="check"><input type="checkbox" id="serverDlc"> DLC в каталоге</label>
<button id="serverUpload" class="ghost" type="button">загрузить снимок</button>
</div>
<div class="dp-head">Задача <span id="serverStatus">нет задачи</span></div>
<div class="bar"><i id="serverBar"></i></div>
<pre id="serverLog" class="hltb-log" hidden></pre>
<div class="refresh-actions">
<button id="serverPause" class="ghost" type="button" hidden>пауза</button>
<button id="serverCancel" class="ghost" type="button" hidden>отменить</button>
<button id="serverRetry" class="ghost" type="button" hidden>повторить</button>
</div>
</article>
</div>
</div>
</section>