Files
agomizi1cmandClaude Opus 5.5 22ee28ba03 Add a settings page for profit display and default stack
- Per-device toggle to hide your own net and the net ranking at tables
- Default starting stack set in settings; creating a table saves the
  stack, SB and BB used as the next defaults
- Number fields on create and settings select all on focus

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 12:31:32 +09:00

91 lines
4.5 KiB
HTML

<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f2f2f7">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000000">
<meta name="robots" content="noindex, nofollow">
<title>Hold'em Night</title>
<link rel="icon" href="/assets/favicon.ico">
<link rel="stylesheet" href="/assets/style.css">
</head>
<body class="page-lobby">
<header class="nav-bar" id="nav">
<div class="nav-inner"><span class="nav-title"></span></div>
</header>
<main class="wrap">
<div class="hero">
<div class="app-mark small" aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M12 2.2c-2.3 3.1-7.6 6.3-7.6 10.4a4.1 4.1 0 0 0 7 2.9c-.1 2.3-1 4-2.6 5.3h6.4c-1.6-1.3-2.5-3-2.6-5.3a4.1 4.1 0 0 0 7-2.9c0-4.1-5.3-7.3-7.6-10.4z"/></svg>
</div>
<div>
<h1 class="large-title" id="large-title">Hold'em Night</h1>
<p class="brand-sub">PRIVATE CLUB</p>
</div>
</div>
<section class="group">
<div class="group-header">プロフィール</div>
<div class="list">
<div class="cell field-cell">
<label for="name">名前</label>
<input id="name" type="text" maxlength="12" placeholder="例: とらのすけ" autocomplete="nickname">
</div>
<a class="cell cell-link" href="/stats">
<span class="cell-icon tone-blue"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3.5l8 8.5-8 8.5-8-8.5z"/><path d="M12 8l4 4-4 4-4-4z"/></svg></span>
<span class="cell-title">統計<span class="cell-sub">プレイスタイル・VPIP・PFR など</span></span>
<svg class="i chevron" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg>
</a>
<a class="cell cell-link" href="/settings">
<span class="cell-icon tone-gray"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h9M17 7h3M4 17h3M11 17h9"/><circle cx="15" cy="7" r="2"/><circle cx="9" cy="17" r="2"/></svg></span>
<span class="cell-title">設定<span class="cell-sub">収支の表示・開始スタック</span></span>
<svg class="i chevron" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg>
</a>
</div>
<div class="error-text" id="name-error" role="alert"></div>
</section>
<div class="lobby-actions">
<button id="create" class="btn btn-tint btn-lg btn-block" type="button">
<svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>テーブルを作成
</button>
</div>
<!-- 管理者だけに表示 -->
<section class="group" id="admin-group" hidden>
<div class="group-header">管理者</div>
<div class="list">
<a id="range-link" class="cell cell-link" href="/range">
<span class="cell-icon tone-purple"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="6.5" height="6.5" rx="1.5"/><rect x="13.5" y="4" width="6.5" height="6.5" rx="1.5"/><rect x="4" y="13.5" width="6.5" height="6.5" rx="1.5"/><rect x="13.5" y="13.5" width="6.5" height="6.5" rx="1.5"/></svg></span>
<span class="cell-title">ハンドレンジ学習</span>
<svg class="i chevron" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg>
</a>
<a id="review-link" class="cell cell-link" href="/review">
<span class="cell-icon tone-orange"><svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 20v-8M12 20V5M19 20v-9"/></svg></span>
<span class="cell-title">CPU戦のレビュー</span>
<svg class="i chevron" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg>
</a>
</div>
</section>
<section class="group">
<div class="group-header">
<span>開催中のテーブル</span>
<span id="count"></span>
</div>
<div class="list" id="list">
<div class="empty">読み込み中…</div>
</div>
<div class="group-footer" id="list-footer" hidden>行を左へスワイプすると削除できます(管理者)。</div>
</section>
</main>
<script src="/socket.io/socket.io.js"></script>
<script src="/assets/fluid.js"></script>
<script src="/assets/common.js"></script>
<script src="/assets/lobby.js"></script>
</body>
</html>