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

@@ -196,6 +196,9 @@ const i18n = createI18n({
download: '下载',
reward_active: '奖励生效中!',
market_closed: '暂未开盘',
match_phase_closed_pending: '封盘待结算',
match_phase_settled: '已结算',
view_match: '查看赛况',
expand_market: '展开玩法',
collapse_market: '收起玩法',
market_cs: '波胆',
@@ -502,6 +505,9 @@ const i18n = createI18n({
download: 'Download',
reward_active: 'Reward active!',
market_closed: 'Not open',
match_phase_closed_pending: 'Closed pending',
match_phase_settled: 'Settled',
view_match: 'View match',
expand_market: 'Expand',
collapse_market: 'Collapse',
market_cs: 'Correct Score',
@@ -814,6 +820,9 @@ const i18n = createI18n({
download: 'Muat turun',
reward_active: 'Ganjaran aktif!',
market_closed: 'Belum dibuka',
match_phase_closed_pending: 'Ditutup menunggu',
match_phase_settled: 'Selesai',
view_match: 'Lihat perlawanan',
expand_market: 'Kembang',
collapse_market: 'Tutup',
market_cs: 'Skor Tepat',