FEA: christmas design

This commit is contained in:
Keanu D?lle 2021-12-02 19:01:09 +01:00
parent cf28c8493f
commit e592c88768
2 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,8 @@ pub fn get_context(settings: &State<Settings>, member: Member, alert: Option<Ale
}; };
let footer = Footer { scripts: vec![Script{ let footer = Footer { scripts: vec![Script{
path: "/js/dashboard.js".to_string() path: "/js/dashboard.js".to_string()
}] }; }
] };
let mut sidebar = Sidebar::new(member.clone()); let mut sidebar = Sidebar::new(member.clone());
sidebar.summary.active = true; sidebar.summary.active = true;

View File

@ -1,5 +1,5 @@
use crate::helper::sitebuilder::model::alerts::Alert; use crate::helper::sitebuilder::model::alerts::Alert;
use crate::helper::sitebuilder::model::general::{Footer, Header, Stylesheet}; use crate::helper::sitebuilder::model::general::{Footer, Header, Script, Stylesheet};
use crate::modules::welcome::model::welcome_module::WelcomeModule; use crate::modules::welcome::model::welcome_module::WelcomeModule;
pub fn get_context(alert: Option<Alert>) -> WelcomeModule { pub fn get_context(alert: Option<Alert>) -> WelcomeModule {
@ -10,7 +10,9 @@ pub fn get_context(alert: Option<Alert>) -> WelcomeModule {
path: "/css/errms.css".to_string(), path: "/css/errms.css".to_string(),
}], }],
}; };
let footer = Footer { scripts: vec![] }; let footer = Footer { scripts: vec![Script{
path: "/js/lib/snowstorm-min.js".to_string()
}] };
WelcomeModule { WelcomeModule {
header, header,