aboutsummaryrefslogtreecommitdiff
path: root/forged/templates/login.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-12 08:41:09 +0800
committerRunxi Yu <me@runxiyu.org>2025-08-12 08:41:09 +0800
commit6cceade2da5425a2a1c46ac032263c961e81affb (patch)
treee183ad90d4fd2109d66d57498b3a43649f098fae /forged/templates/login.tmpl
parentRemove hr and forge name footer from error page templates (diff)
downloadforge-6cceade2da5425a2a1c46ac032263c961e81affb.tar.gz
forge-6cceade2da5425a2a1c46ac032263c961e81affb.tar.zst
forge-6cceade2da5425a2a1c46ac032263c961e81affb.zip
Sticky footer
Diffstat (limited to 'forged/templates/login.tmpl')
-rw-r--r--forged/templates/login.tmpl82
1 files changed, 42 insertions, 40 deletions
diff --git a/forged/templates/login.tmpl b/forged/templates/login.tmpl
index 1e26c82..980b863 100644
--- a/forged/templates/login.tmpl
+++ b/forged/templates/login.tmpl
@@ -10,47 +10,49 @@
<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">
+ <main>
+ {{- .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>
- <div class="right">
- <input class="btn-primary" type="submit" value="Submit" />
- </div>
- </div>
- </td>
- </tr>
- </tfoot>
- </table>
- </form>
- </div>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+ </form>
+ </div>
+ </main>
<footer>
{{- template "footer" . -}}
</footer>