diff options
Diffstat (limited to 'backend/admin/templates')
| -rw-r--r-- | backend/admin/templates/base.html | 6 | ||||
| -rw-r--r-- | backend/admin/templates/dashboard.html | 10 | ||||
| -rw-r--r-- | backend/admin/templates/game_edit.html | 4 | ||||
| -rw-r--r-- | backend/admin/templates/games.html | 2 | ||||
| -rw-r--r-- | backend/admin/templates/online_qualifying_ranking.html | 2 | ||||
| -rw-r--r-- | backend/admin/templates/user_edit.html | 2 | ||||
| -rw-r--r-- | backend/admin/templates/users.html | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/backend/admin/templates/base.html b/backend/admin/templates/base.html index 08c7dc5..653acc6 100644 --- a/backend/admin/templates/base.html +++ b/backend/admin/templates/base.html @@ -2,9 +2,9 @@ <html> <head> <title>ADMIN {{ .Title }} | PHPerKaigi 2025 Albatross</title> - <link rel="icon" href="{{ .BasePath }}/favicon.svg"> - <link rel="stylesheet" href="{{ .BasePath }}/admin/css/normalize.css"> - <link rel="stylesheet" href="{{ .BasePath }}/admin/css/sakura.css"> + <link rel="icon" href="{{ .BasePath }}favicon.svg"> + <link rel="stylesheet" href="{{ .BasePath }}admin/css/normalize.css"> + <link rel="stylesheet" href="{{ .BasePath }}admin/css/sakura.css"> </head> <body> <section> diff --git a/backend/admin/templates/dashboard.html b/backend/admin/templates/dashboard.html index 92133b6..dcc71ba 100644 --- a/backend/admin/templates/dashboard.html +++ b/backend/admin/templates/dashboard.html @@ -2,18 +2,18 @@ {{ define "content" }} <p> - <a href="{{ .BasePath }}/admin/users">Users</a> + <a href="{{ .BasePath }}admin/users">Users</a> </p> <p> - <a href="{{ .BasePath }}/admin/games">Games</a> + <a href="{{ .BasePath }}admin/games">Games</a> </p> <p> - <a href="{{ .BasePath }}/admin/online-qualifying-ranking?game_1=7&game_2=8">Online Qualifying Ranking</a> + <a href="{{ .BasePath }}admin/online-qualifying-ranking?game_1=7&game_2=8">Online Qualifying Ranking</a> </p> -<form method="post" action="{{ .BasePath }}/admin/fix"> +<form method="post" action="{{ .BasePath }}admin/fix"> <button type="submit">fix</button> </form> -<form method="post" action="{{ .BasePath }}/logout"> +<form method="post" action="{{ .BasePath }}logout"> <button type="submit">Logout</button> </form> {{ end }} diff --git a/backend/admin/templates/game_edit.html b/backend/admin/templates/game_edit.html index 0d92c95..2d769c4 100644 --- a/backend/admin/templates/game_edit.html +++ b/backend/admin/templates/game_edit.html @@ -1,7 +1,7 @@ {{ template "base.html" . }} {{ define "breadcrumb" }} -<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a> | <a href="{{ .BasePath }}/admin/games">Games</a> +<a href="{{ .BasePath }}admin/dashboard">Dashboard</a> | <a href="{{ .BasePath }}admin/games">Games</a> {{ end }} {{ define "content" }} @@ -59,7 +59,7 @@ <button type="submit">Save</button> </div> <div> - <button type="submit" formaction="{{ .BasePath }}/admin/games/{{ .Game.GameID }}/start">Start</button> + <button type="submit" formaction="{{ .BasePath }}admin/games/{{ .Game.GameID }}/start">Start</button> </div> </form> {{ end }} diff --git a/backend/admin/templates/games.html b/backend/admin/templates/games.html index 3be6726..b5c512a 100644 --- a/backend/admin/templates/games.html +++ b/backend/admin/templates/games.html @@ -1,7 +1,7 @@ {{ template "base.html" . }} {{ define "breadcrumb" }} -<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a> +<a href="{{ .BasePath }}admin/dashboard">Dashboard</a> {{ end }} {{ define "content" }} diff --git a/backend/admin/templates/online_qualifying_ranking.html b/backend/admin/templates/online_qualifying_ranking.html index 039687e..663b68e 100644 --- a/backend/admin/templates/online_qualifying_ranking.html +++ b/backend/admin/templates/online_qualifying_ranking.html @@ -1,7 +1,7 @@ {{ template "base.html" . }} {{ define "breadcrumb" }} -<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a> +<a href="{{ .BasePath }}admin/dashboard">Dashboard</a> {{ end }} {{ define "content" }} diff --git a/backend/admin/templates/user_edit.html b/backend/admin/templates/user_edit.html index 6942204..4c1016b 100644 --- a/backend/admin/templates/user_edit.html +++ b/backend/admin/templates/user_edit.html @@ -1,7 +1,7 @@ {{ template "base.html" . }} {{ define "breadcrumb" }} -<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a> | <a href="{{ .BasePath }}/admin/users">Users</a> +<a href="{{ .BasePath }}admin/dashboard">Dashboard</a> | <a href="{{ .BasePath }}admin/users">Users</a> {{ end }} {{ define "content" }} diff --git a/backend/admin/templates/users.html b/backend/admin/templates/users.html index 36fae0d..4b8e6dc 100644 --- a/backend/admin/templates/users.html +++ b/backend/admin/templates/users.html @@ -1,7 +1,7 @@ {{ template "base.html" . }} {{ define "breadcrumb" }} -<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a> +<a href="{{ .BasePath }}admin/dashboard">Dashboard</a> {{ end }} {{ define "content" }} |
