aboutsummaryrefslogtreecommitdiff
path: root/templates/login.rs.html
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-07-19 19:49:39 -0400
committerCara Salter <cara@devcara.com>2022-07-19 19:49:39 -0400
commitc742b752140ab0eee6e353c779bd897042ba6739 (patch)
tree58953fdcaedb7e6c458a29dd980b8f97fb1af2a7 /templates/login.rs.html
parent1bd04149f8f6133b817a37a37a91397750c76c1b (diff)
downloadnccd-c742b752140ab0eee6e353c779bd897042ba6739.tar.gz
nccd-c742b752140ab0eee6e353c779bd897042ba6739.zip
Big login system
Still needs cookies, but those are coming! (and should be set anyways!)
Diffstat (limited to 'templates/login.rs.html')
-rw-r--r--templates/login.rs.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/login.rs.html b/templates/login.rs.html
new file mode 100644
index 0000000..122e2b8
--- /dev/null
+++ b/templates/login.rs.html
@@ -0,0 +1,22 @@
+@use super::{header_html, footer_html};
+
+@()
+
+@:header_html()
+<h1>NCCd Login</h1>
+<form method="POST">
+ <div>
+ <label for="username">Email</label>
+ <input type="text" name="email">
+ </div>
+ <br/>
+ <div>
+ <label for="password">Password</label>
+ <input type="password" name="password">
+ </div>
+ <div>
+ <button type="submit" class="accent">Submit</button>
+</form>
+
+Or try <a href="/dash/auth/register">creating an account</a>
+@:footer_html()