♻️ (bootsier): Reorganiza activos estáticos

Compila SCSS, copia JS y fuentes desde `assets/` con prefijo bootsier.
This commit is contained in:
Manuel Cillero 2026-06-20 19:52:21 +02:00
parent dbf0894894
commit d495c05b96
2 changed files with 84 additions and 14 deletions

View file

@ -157,14 +157,19 @@ impl Theme for Bootsier {
fn before_render_page_body(&self, page: &mut Page) {
page.alter_assets(AssetsOp::AddStyleSheet(
StyleSheet::from("/bootsier/bs/bootstrap.min.css")
StyleSheet::from("/bootsier/css/bootsier.min.css")
.with_version(ADMINLTE_VERSION)
.with_weight(-90),
))
.alter_assets(AssetsOp::AddJavaScript(
JavaScript::defer("/bootsier/js/bootsier.bundle.min.js")
.with_version(BOOTSTRAP_VERSION)
.with_weight(-90),
))
.alter_assets(AssetsOp::AddJavaScript(
JavaScript::defer("/bootsier/js/bootstrap.bundle.min.js")
.with_version(BOOTSTRAP_VERSION)
.with_weight(-90),
JavaScript::defer("/bootsier/js/bootsier.extended.min.js")
.with_version(ADMINLTE_VERSION)
.with_weight(-89),
))
.alter_child_in(
&DefaultRegion::Footer,