From e33bfff4db95586a3140b5e71a7d3dba2c72f694 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 6 Sep 2025 00:32:03 +0900 Subject: feat(backend): add admin page for problems --- backend/admin/templates/dashboard.html | 3 +++ backend/admin/templates/problem_edit.html | 36 +++++++++++++++++++++++++++++++ backend/admin/templates/problem_new.html | 32 +++++++++++++++++++++++++++ backend/admin/templates/problems.html | 20 +++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 backend/admin/templates/problem_edit.html create mode 100644 backend/admin/templates/problem_new.html create mode 100644 backend/admin/templates/problems.html (limited to 'backend/admin/templates') diff --git a/backend/admin/templates/dashboard.html b/backend/admin/templates/dashboard.html index dcc71ba..1ea40c9 100644 --- a/backend/admin/templates/dashboard.html +++ b/backend/admin/templates/dashboard.html @@ -7,6 +7,9 @@

Games

+

+ Problems +

Online Qualifying Ranking

diff --git a/backend/admin/templates/problem_edit.html b/backend/admin/templates/problem_edit.html new file mode 100644 index 0000000..cc700f4 --- /dev/null +++ b/backend/admin/templates/problem_edit.html @@ -0,0 +1,36 @@ +{{ template "base.html" . }} + +{{ define "breadcrumb" }} +Dashboard | Problems +{{ end }} + +{{ define "content" }} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+{{ end }} diff --git a/backend/admin/templates/problem_new.html b/backend/admin/templates/problem_new.html new file mode 100644 index 0000000..ed8ad2a --- /dev/null +++ b/backend/admin/templates/problem_new.html @@ -0,0 +1,32 @@ +{{ template "base.html" . }} + +{{ define "breadcrumb" }} +Dashboard | Problems +{{ end }} + +{{ define "content" }} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+{{ end }} diff --git a/backend/admin/templates/problems.html b/backend/admin/templates/problems.html new file mode 100644 index 0000000..120789e --- /dev/null +++ b/backend/admin/templates/problems.html @@ -0,0 +1,20 @@ +{{ template "base.html" . }} + +{{ define "breadcrumb" }} +Dashboard +{{ end }} + +{{ define "content" }} +
+ Create New Problem +
+ +{{ end }} -- cgit v1.2.3-70-g09d2