aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/restart.html
diff options
context:
space:
mode:
Diffstat (limited to 'backend/admin/templates/restart.html')
-rw-r--r--backend/admin/templates/restart.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/backend/admin/templates/restart.html b/backend/admin/templates/restart.html
new file mode 100644
index 0000000..2bb77e9
--- /dev/null
+++ b/backend/admin/templates/restart.html
@@ -0,0 +1,19 @@
+{{ template "base.html" . }}
+
+{{ define "breadcrumb" }}
+<a href="{{ .BasePath }}admin/dashboard">Dashboard</a>
+{{ end }}
+
+{{ define "content" }}
+<h2>Restart All Games</h2>
+<p>全ゲームの main player を削除し、multiplayer に変更して一括リスタートします。</p>
+<form method="post">
+ <div>
+ <label>終了日時 (JST)</label>
+ <input type="datetime-local" name="end_at" required>
+ </div>
+ <div>
+ <button type="submit">Restart All Games</button>
+ </div>
+</form>
+{{ end }}