feat: add HLTB status page and refresh installs incrementally
CI / test (push) Successful in 2m57s

This commit is contained in:
strsv committed 2026-11-06 23:14:54 +03:00
1 parent d92c7a1964
commit 31f94997d5
13 files changed
+255 -9

No files matched your search

+37
View File
@@ -30,6 +30,8 @@ try {
aria-selected="true" aria-controls="libraryView" tabindex="0">Библиотека</button>
<button class="tab" id="tabRecommend" role="tab" data-view="recommend"
aria-selected="false" aria-controls="recommendView" tabindex="-1">Рекомендации</button>
<button class="tab" id="tabHltb" role="tab" data-view="hltb"
aria-selected="false" aria-controls="hltbView" tabindex="-1">HLTB</button>
</nav>
<div class="stats" id="stats"></div>
<button id="themeToggle" class="icon-btn theme-toggle" type="button"
@@ -343,6 +345,41 @@ try {
</div>
<div id="recoGrid" class="grid"></div>
</section>
<section id="hltbView" class="hidden" role="tabpanel" aria-labelledby="tabHltb">
<div class="hltb-page">
<div class="hltb-head">
<h1>HLTB: проверенные игры</h1>
<div class="muted" id="hltbSummary"></div>
</div>
<div class="toolbar hltb-toolbar">
<input id="hltbSearch" type="search" placeholder="Поиск по названию…"
autocomplete="off" aria-label="Поиск в HLTB">
<select id="hltbFilter" aria-label="Статус HLTB">
<option value="">все</option>
<option value="match">совпало</option>
<option value="miss">не найдено</option>
</select>
<button id="hltbReload" class="ghost" type="button">обновить</button>
</div>
<div class="hltb-table-wrap">
<table class="game-table hltb-table" aria-label="Проверенные HLTB игры">
<thead><tr>
<th>Игра</th>
<th>Статус</th>
<th>Main</th>
<th>+Extra</th>
<th>100%</th>
<th>HLTB ID</th>
<th>Проверено</th>
<th>Обновлено</th>
</tr></thead>
<tbody id="hltbBody"></tbody>
</table>
</div>
<button id="hltbMore" class="more hidden" type="button">показать ещё</button>
</div>
</section>
</main>
<dialog id="modal" class="modal" aria-labelledby="modalTitle">