simpleadmin-web/internal/web/assets/admin.html
Astra 6324fc7f81 Names on offline penalties, mobile menu close, player drawer tidy, IP-ban bypass flag
Bans and comms saved without a player name (SimpleAdmin's offline css_addban etc.) show the
player's latest name from sa_players_ips, and the panel writes that name onto new rows it claims.
The mobile sidebar closes from a Close button, the backdrop or Escape, since it covers the Menu
button. The public player drawer drops "Right now" and "Free to play and talk." and puts the
Steam profile link after the SteamID. Adds @css/bypassipban to the permission checkboxes.
2026-09-28 11:23:14 +01:00

57 lines
2.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Staff panel</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<div class="app">
<nav class="nav" id="nav" aria-label="Main">
<button class="btn sm ghost nav-close" type="button" id="nav-close" aria-label="Close menu">Close</button>
<a class="brand" href="#overview">
<svg class="brand-mark" viewBox="0 0 32 32" aria-hidden="true">
<path d="M16 2 28 7v9c0 7-5 12-12 14C9 28 4 23 4 16V7z" fill="none" stroke="#fe113d" stroke-width="2.5"/>
<path d="M11 16h10M16 11v10" stroke="#e6e8ee" stroke-width="2.5" stroke-linecap="round"/>
</svg>
<span class="brand-name site-name"></span>
</a>
<div class="server-pick" id="server-pick">
<b>Loading…</b>
<small>&nbsp;</small>
</div>
<ul id="nav-links"></ul>
<a class="public-link" href="/">View the public site</a>
<div class="me" id="me">
<span class="avatar">?</span>
<div><b>&nbsp;</b><small>&nbsp;</small></div>
<button class="btn sm ghost" type="button" id="signout">Sign out</button>
</div>
</nav>
<div class="nav-backdrop" id="nav-backdrop" aria-hidden="true"></div>
<div>
<div class="mobile-bar">
<button class="btn sm ghost" type="button" id="menu-btn" aria-controls="nav" aria-expanded="false">Menu</button>
<span class="brand-name site-name" style="font-size:19px"></span>
</div>
<main id="view" tabindex="-1"></main>
</div>
</div>
<div id="drawer-root"></div>
<dialog id="modal"></dialog>
<div id="toast-root" aria-live="polite"></div>
<script src="/static/common.js"></script>
<script src="/static/admin.js"></script>
</body>
</html>