summaryrefslogtreecommitdiff
path: root/src/template.rs
diff options
context:
space:
mode:
authorJomar Milan <jomarm@jomarm.com>2026-05-30 14:32:51 -0700
committerJomar Milan <jomarm@jomarm.com>2026-05-30 14:32:51 -0700
commit21be142ed526c5ec88c14c3ea6cad043a075a2b9 (patch)
treec51a223be5a439e1c8fa3dc4238cce04a14ed5ee /src/template.rs
parent453ba51e78024fed7d22f984959b050182badffd (diff)
Add unimplemented color selection box
Diffstat (limited to 'src/template.rs')
-rw-r--r--src/template.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/template.rs b/src/template.rs
index d8b3511..c02a3df 100644
--- a/src/template.rs
+++ b/src/template.rs
@@ -6,4 +6,10 @@ use crate::session::Session;
#[template(path = "index.html")]
pub struct IndexTemplate<'a> {
pub sessions: &'a HashMap<String, Session>
+}
+
+#[derive(Template)]
+#[template(path = "session.html")]
+pub struct SessionTemplate<'a> {
+ pub session: &'a Session
} \ No newline at end of file