aboutsummaryrefslogtreecommitdiff
path: root/templates/index.rs.html
diff options
context:
space:
mode:
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()