FEA: christmas design
This commit is contained in:
parent
cf28c8493f
commit
e592c88768
|
@ -16,7 +16,8 @@ pub fn get_context(settings: &State<Settings>, member: Member, alert: Option<Ale
|
|||
};
|
||||
let footer = Footer { scripts: vec![Script{
|
||||
path: "/js/dashboard.js".to_string()
|
||||
}] };
|
||||
}
|
||||
] };
|
||||
|
||||
let mut sidebar = Sidebar::new(member.clone());
|
||||
sidebar.summary.active = true;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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;
|
||||
|
||||
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(),
|
||||
}],
|
||||
};
|
||||
let footer = Footer { scripts: vec![] };
|
||||
let footer = Footer { scripts: vec![Script{
|
||||
path: "/js/lib/snowstorm-min.js".to_string()
|
||||
}] };
|
||||
|
||||
WelcomeModule {
|
||||
header,
|
||||
|
|
Loading…
Reference in New Issue