diff options
author | cel 🌸 <cel@blos.sm> | 2023-12-12 14:14:30 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-12-12 14:14:30 +0000 |
commit | 370a25e5a0cbb95e2aa1cec55305b22aeaf99aa0 (patch) | |
tree | 665163bc58c8e94320b843b1983376d9a67f99bf /templates | |
parent | 5dc4774ed3380762b4d7aadc86193af6073c456a (diff) | |
download | pinussy-370a25e5a0cbb95e2aa1cec55305b22aeaf99aa0.tar.gz pinussy-370a25e5a0cbb95e2aa1cec55305b22aeaf99aa0.tar.bz2 pinussy-370a25e5a0cbb95e2aa1cec55305b22aeaf99aa0.zip |
initial refactor
Diffstat (limited to '')
-rw-r--r-- | templates/base.rs.html | 2 | ||||
-rw-r--r-- | templates/home.rs.html | 1 | ||||
-rw-r--r-- | templates/login.rs.html | 2 | ||||
-rw-r--r-- | templates/signup.rs.html | 2 | ||||
-rw-r--r-- | templates/users.rs.html | 2 |
5 files changed, 4 insertions, 5 deletions
diff --git a/templates/base.rs.html b/templates/base.rs.html index 0bf70eb..434eb47 100644 --- a/templates/base.rs.html +++ b/templates/base.rs.html @@ -1,5 +1,5 @@ @use super::statics::*; -@use crate::Notification; +@use crate::notification::Notification; @(user: Option<String>, notification: Option<Notification>, body: Content) diff --git a/templates/home.rs.html b/templates/home.rs.html index 882b2ed..6726646 100644 --- a/templates/home.rs.html +++ b/templates/home.rs.html @@ -1,5 +1,4 @@ @use super::base_html; -@use crate::User; @(user: Option<String>) diff --git a/templates/login.rs.html b/templates/login.rs.html index 8547bd0..10efaf3 100644 --- a/templates/login.rs.html +++ b/templates/login.rs.html @@ -1,5 +1,5 @@ @use super::base_html; -@use crate::Notification; +@use crate::notification::Notification; @(notification: Option<Notification>) diff --git a/templates/signup.rs.html b/templates/signup.rs.html index 4823698..179ec98 100644 --- a/templates/signup.rs.html +++ b/templates/signup.rs.html @@ -1,5 +1,5 @@ @use super::base_html; -@use crate::Notification; +@use crate::notification::Notification; @(notification: Option<Notification>) diff --git a/templates/users.rs.html b/templates/users.rs.html index c5b98f9..b1a7b8d 100644 --- a/templates/users.rs.html +++ b/templates/users.rs.html @@ -1,5 +1,5 @@ @use super::base_html; -@use crate::User; +@use crate::users::User; @(users: Vec<User>) |