From c742b752140ab0eee6e353c779bd897042ba6739 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Tue, 19 Jul 2022 19:49:39 -0400 Subject: Big login system Still needs cookies, but those are coming! (and should be set anyways!) --- templates/footer.rs.html | 7 +++++++ templates/header.rs.html | 14 ++++++++++++++ templates/index.rs.html | 21 ++++----------------- templates/login.rs.html | 22 ++++++++++++++++++++++ templates/register.rs.html | 27 +++++++++++++++++++++++++++ 5 files changed, 74 insertions(+), 17 deletions(-) create mode 100644 templates/footer.rs.html create mode 100644 templates/header.rs.html create mode 100644 templates/login.rs.html create mode 100644 templates/register.rs.html (limited to 'templates') diff --git a/templates/footer.rs.html b/templates/footer.rs.html new file mode 100644 index 0000000..41c4d4e --- /dev/null +++ b/templates/footer.rs.html @@ -0,0 +1,7 @@ + +@() + + + + + diff --git a/templates/header.rs.html b/templates/header.rs.html new file mode 100644 index 0000000..9384bcb --- /dev/null +++ b/templates/header.rs.html @@ -0,0 +1,14 @@ +@use super::statics::style_css; +@() + + + + NCCd Dashboard + + + + + + + +
diff --git a/templates/index.rs.html b/templates/index.rs.html index 2971d13..4fb701c 100644 --- a/templates/index.rs.html +++ b/templates/index.rs.html @@ -1,21 +1,8 @@ -@use super::statics::style_css; +@use super::{header_html, footer_html}; @() - - - - NCCd Dashboard - - - - - - - -
+@:header_html()

NCCd (Network Communications Control Daemon)

-

Please Log in

- - - +

Please Log in

+@:footer_html() 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() +

NCCd Login

+
+
+ + +
+
+
+ + +
+
+ + + +Or try creating an account +@:footer_html() diff --git a/templates/register.rs.html b/templates/register.rs.html new file mode 100644 index 0000000..5c2e3f2 --- /dev/null +++ b/templates/register.rs.html @@ -0,0 +1,27 @@ +@use super::{header_html, footer_html}; + +@() + +@:header_html() +

Create your NCCd Account

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ Submit +
+Or try logging in +@:footer_html() -- cgit v1.2.3