aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-15 00:32:39 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-15 00:32:39 +0800
commitd5416d850c9b697bc8fb189841e1c1e622494f5e (patch)
treeb877df54a6fbef112b0d32796f514b66177c9976 /templates/login.html.tmpl
parentMakefile, resources.go: Add vendor directory to serve library source (diff)
downloadforge-d5416d850c9b697bc8fb189841e1c1e622494f5e.tar.gz
forge-d5416d850c9b697bc8fb189841e1c1e622494f5e.tar.zst
forge-d5416d850c9b697bc8fb189841e1c1e622494f5e.zip
templates: *.html.tmpl -> *.tmpl
Diffstat (limited to 'templates/login.html.tmpl')
-rw-r--r--templates/login.html.tmpl55
1 files changed, 0 insertions, 55 deletions
diff --git a/templates/login.html.tmpl b/templates/login.html.tmpl
deleted file mode 100644
index 3b0e74a..0000000
--- a/templates/login.html.tmpl
+++ /dev/null
@@ -1,55 +0,0 @@
-{{- 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 -}}