feat: split admin dashboard, improve match ops, and player closed-match UX

Admin: add match/player overview sub-nav; refine settlement flow and league
match management UI; improve action button enabled/disabled styles; enhance
logo upload and outright odds sync.

API: expose matchPhase/bettingOpen for closed matches; league publish guards;
settlement preview with auto score save; outright team auto-sync.

Player: watermark for closed/settled states; keep match and bet details visible;
remove default login credentials.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-10 13:00:14 +08:00
parent 6124313369
commit 03f54ca689
43 changed files with 2787 additions and 519 deletions

View File

@@ -53,25 +53,27 @@ function isActive(path: string) {
align-items: center;
gap: 4px;
margin-bottom: 16px;
padding: 4px;
padding: 6px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
flex-shrink: 0;
min-height: 48px;
box-sizing: border-box;
}
.matches-subnav--embedded {
margin-bottom: 0;
padding: 0 12px 0 0;
padding: 0 14px 0 0;
border: none;
border-right: 1px solid rgba(255, 255, 255, 0.08);
background: transparent;
flex-shrink: 0;
height: 32px;
height: 44px;
box-sizing: border-box;
}
.matches-subnav__item {
padding: 0 12px;
height: 32px;
padding: 0 14px;
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;