aboutsummaryrefslogtreecommitdiff
path: root/templates/login.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-06 09:33:11 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-06 09:34:06 +0800
commitc9b4eee4c589b8b40c02d0c96f887ec991580a24 (patch)
tree0ab3f2a22e9c4ca430573559d5712a4a7a6903a3 /templates/login.tmpl
parentMove the Go stuff to ./forged/ (diff)
downloadforge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.tar.gz
forge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.tar.zst
forge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.zip
Restructure static/templates into forged
Diffstat (limited to 'templates/login.tmpl')
-rw-r--r--templates/login.tmpl59
1 files changed, 0 insertions, 59 deletions
diff --git a/templates/login.tmpl b/templates/login.tmpl
deleted file mode 100644
index 1e26c82..0000000
--- a/templates/login.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-{{/*
- SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
-*/}}
-{{- define "login" -}}
-<!DOCTYPE html>
-<html lang="en">
- <head>
- {{- template "head_common" . -}}
- <title>Login &ndash; {{ .global.forge_title -}}</title>
- </head>
- <body class="index">
- {{- .login_error -}}
- <div class="padding-wrapper">
- <form method="POST" enctype="application/x-www-form-urlencoded">
- <table>
- <thead>
- <tr>
- <th class="title-row" colspan="2">
- Password authentication
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th scope="row">Username</th>
- <td class="tdinput">
- <input id="usernameinput" name="username" type="text" />
- </td>
- </tr>
- <tr>
- <th scope="row">Password</th>
- <td class="tdinput">
- <input id="passwordinput" name="password" type="password" />
- </td>
- </tr>
- </tbody>
- <tfoot>
- <tr>
- <td class="th-like" colspan="2">
- <div class="flex-justify">
- <div class="left">
- </div>
- <div class="right">
- <input class="btn-primary" type="submit" value="Submit" />
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- </table>
- </form>
- </div>
- <footer>
- {{- template "footer" . -}}
- </footer>
- </body>
-</html>
-{{- end -}}