diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-13 01:52:16 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-13 01:52:16 +0800 |
commit | b2f5ebdc623c5cf278215ef2da0ecefaba2f5d65 (patch) | |
tree | 08be901cc463e45418e3ffff3d0b3be16ff27f23 /templates/login.html.tmpl | |
parent | _header.html: Add header (diff) | |
download | forge-b2f5ebdc623c5cf278215ef2da0ecefaba2f5d65.tar.gz forge-b2f5ebdc623c5cf278215ef2da0ecefaba2f5d65.tar.zst forge-b2f5ebdc623c5cf278215ef2da0ecefaba2f5d65.zip |
login: Stub login page
Diffstat (limited to 'templates/login.html.tmpl')
-rw-r--r-- | templates/login.html.tmpl | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/templates/login.html.tmpl b/templates/login.html.tmpl new file mode 100644 index 0000000..ca9d87e --- /dev/null +++ b/templates/login.html.tmpl @@ -0,0 +1,54 @@ +{{- define "login" -}} +<!DOCTYPE html> +<html lang="en"> + <head> + {{ template "head_common" . }} + <title>Login – Lindenii Forge</title> + </head> + <body class="index"> + <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 -}} |