diff options
| author | Jomar Milan <jomarm@jomarm.com> | 2026-05-30 14:32:51 -0700 |
|---|---|---|
| committer | Jomar Milan <jomarm@jomarm.com> | 2026-05-30 14:32:51 -0700 |
| commit | 21be142ed526c5ec88c14c3ea6cad043a075a2b9 (patch) | |
| tree | c51a223be5a439e1c8fa3dc4238cce04a14ed5ee /src/template.rs | |
| parent | 453ba51e78024fed7d22f984959b050182badffd (diff) | |
Add unimplemented color selection box
Diffstat (limited to 'src/template.rs')
| -rw-r--r-- | src/template.rs | 6 |
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 |
