aboutsummaryrefslogtreecommitdiff
path: root/templates/index.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/index.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/index.rs.html')
-rw-r--r--templates/index.rs.html21
1 files changed, 4 insertions, 17 deletions
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};
@()
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <title>NCCd Dashboard</title>
- <link rel="stylesheet" href="/static/@style_css.name"/>
-
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- </head>
-
- <body>
-
- <div class="container">
+@:header_html()
<h1>NCCd (Network Communications Control Daemon)</h1>
- <h3>Please <a href="/auth/login">Log in</a></h3>
-
- </body>
-</html>
+ <h3>Please <a href="/dash/auth/login">Log in</a></h3>
+@:footer_html()