diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-05 03:07:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-05 03:07:30 +0900 |
| commit | 9ff9c151e5defd9eed5cba3c88bc341b4360d09c (patch) | |
| tree | bf5b9e721274ffa58df66823d39f9ceadebc9f98 /backend/admin/templates/game_edit.html | |
| parent | ff959dadb1f990173b9df3105ccfc96b1c6c092e (diff) | |
| parent | 498ad23eaaae1e856c71f44ad0bf3912a6d7e5b7 (diff) | |
| download | phperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.tar.gz phperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.tar.zst phperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.zip | |
Merge branch 'feat/multiplayer-mode'
Diffstat (limited to 'backend/admin/templates/game_edit.html')
| -rw-r--r-- | backend/admin/templates/game_edit.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/backend/admin/templates/game_edit.html b/backend/admin/templates/game_edit.html index 8bc5410..764b577 100644 --- a/backend/admin/templates/game_edit.html +++ b/backend/admin/templates/game_edit.html @@ -15,11 +15,18 @@ <input type="text" name="display_name" value="{{ .Game.DisplayName }}" required> </div> <div> + <label>Game Type</label> + <select name="game_type" required> + <option value="1v1"{{ if eq .Game.GameType "1v1" }} selected{{ end }}>1v1</option> + <option value="multiplayer"{{ if eq .Game.GameType "multiplayer" }} selected{{ end }}>Multiplayer</option> + </select> + </div> + <div> <label>State</label> - <select> + <select name="state" required> <option value="closed"{{ if eq .Game.State "closed" }} selected{{ end }}>Closed</option> - <option value="waiting_entries"{{ if eq .Game.State "waiting_entries" }} selected{{ end }}>WaitingEntries</option> - <option value="waiting_start"{{ if eq .Game.State "waiting_start" }} selected{{ end }}>WaitingStart</option> + <option value="waiting_entries"{{ if eq .Game.State "waiting_entries" }} selected{{ end }}>Waiting Entries</option> + <option value="waiting_start"{{ if eq .Game.State "waiting_start" }} selected{{ end }}>Waiting Start</option> <option value="prepare"{{ if eq .Game.State "prepare" }} selected{{ end }}>Prepare</option> <option value="starting"{{ if eq .Game.State "starting" }} selected{{ end }}>Starting</option> <option value="gaming"{{ if eq .Game.State "gaming" }} selected{{ end }}>Gaming</option> |
