aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/login.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-16 12:57:30 +0100
committerSimon Ser <contact@emersion.fr>2019-12-16 12:58:21 +0100
commite93346ffa90f6c09a9a57b48c6607925dc7ff46e (patch)
tree5e1f356017c763a604cc8bcf247759037ae51d74 /themes/sourcehut/login.html
parentd897eeee5c4d163891d0b6a8f85d328ccada7575 (diff)
downloadalps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.tar.gz
alps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.zip
Remove the public/ directory
Now that all templates are provided by plugins, there's no need to have a public/ directory. Themes can be in /themes instead of /public/themes.
Diffstat (limited to 'themes/sourcehut/login.html')
-rw-r--r--themes/sourcehut/login.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/themes/sourcehut/login.html b/themes/sourcehut/login.html
new file mode 100644
index 0000000..08074fe
--- /dev/null
+++ b/themes/sourcehut/login.html
@@ -0,0 +1,37 @@
+{{template "head.html"}}
+<nav class="container navbar navbar-light navbar-expand-sm">
+ <div class="col-md-12">
+ <a class="navbar-brand" href="/">
+ koushin
+ <span class="text-danger">webmail</span>
+ </a>
+ </div>
+</nav>
+
+<div class="container">
+ <form method="post" action="/login" class="col-md-6">
+ <div class="form-group">
+ <label for="username">Username</label>
+ <input
+ class="form-control"
+ type="text"
+ name="username"
+ id="username"
+ autofocus />
+ </div>
+ <div class="form-group">
+ <label for="password">Password</label>
+ <input
+ class="form-control"
+ type="password"
+ name="password"
+ id="password" />
+ </div>
+ <button
+ type="submit"
+ class="btn btn-primary"
+ >Log in</button>
+ </form>
+</div>
+
+{{template "foot.html"}}