From 370a25e5a0cbb95e2aa1cec55305b22aeaf99aa0 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 12 Dec 2023 14:14:30 +0000 Subject: initial refactor --- templates/base.rs.html | 2 +- templates/home.rs.html | 1 - templates/login.rs.html | 2 +- templates/signup.rs.html | 2 +- templates/users.rs.html | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) (limited to 'templates') 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, notification: Option, 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) 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) 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) 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) -- cgit