Add friend search and online/offline filter, sort online friends first, move the comparison panel above the list, cache comparisons in the browser, add game search and show local/friend hours with installed badges.
This commit is contained in:
1 parent
71ca94d5e3
commit
80aae1a1df
7 files changed
+313
-63
No files matched your search
+19
-5
@@ -407,13 +407,27 @@ try {
|
||||
<h1>Друзья</h1>
|
||||
<div class="muted" id="friendsSummary"></div>
|
||||
</div>
|
||||
<div class="friends-manual">
|
||||
<input id="friendSteamId" type="text" inputmode="numeric" autocomplete="off"
|
||||
placeholder="SteamID64 друга" aria-label="SteamID64 друга">
|
||||
<button id="friendCompareBtn" class="ghost" type="button">сравнить</button>
|
||||
<div class="friends-toolbar">
|
||||
<input id="friendsSearch" type="search" placeholder="Поиск друга…" autocomplete="off"
|
||||
aria-label="Поиск друга">
|
||||
<select id="friendsStatus" aria-label="Статус друзей">
|
||||
<option value="">все</option>
|
||||
<option value="online">онлайн</option>
|
||||
<option value="offline">офлайн</option>
|
||||
</select>
|
||||
<button id="friendsRefresh" class="ghost" type="button">обновить</button>
|
||||
<span class="count" id="friendsCount"></span>
|
||||
</div>
|
||||
<div id="friendsList" class="friends-list"></div>
|
||||
<details class="friends-manual" id="friendsManual">
|
||||
<summary>сравнить по SteamID64</summary>
|
||||
<div class="friends-manual-row">
|
||||
<input id="friendSteamId" type="text" inputmode="numeric" autocomplete="off"
|
||||
placeholder="7656119..." aria-label="SteamID64 друга">
|
||||
<button id="friendCompareBtn" class="ghost" type="button">сравнить</button>
|
||||
</div>
|
||||
</details>
|
||||
<div id="friendCompare" class="friend-compare hidden" aria-live="polite"></div>
|
||||
<div id="friendsList" class="friends-list"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user