Libera la versión de desarrollo 0.0.14
This commit is contained in:
parent
6b38e4b8ae
commit
b3854fe393
5 changed files with 10 additions and 8 deletions
|
|
@ -8,7 +8,13 @@ impl AppTrait for Drust {
|
|||
&pagetop_admin::Admin,
|
||||
&pagetop_user::User,
|
||||
&pagetop_node::Node,
|
||||
&demopage::Demopage,
|
||||
&pagetop::base::module::demopage::Demopage,
|
||||
]
|
||||
}
|
||||
|
||||
fn themes(&self) -> Vec<&'static dyn ThemeTrait> {
|
||||
vec![
|
||||
&pagetop::base::theme::bulmix::Bulmix,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "pagetop"
|
||||
version = "0.0.12"
|
||||
version = "0.0.14"
|
||||
edition = "2021"
|
||||
|
||||
authors = [
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ impl ModuleTrait for Demopage {
|
|||
|
||||
async fn demo() -> app::Result<Markup> {
|
||||
Page::new()
|
||||
.using_theme("Bulmix")
|
||||
.with_title(l("page_title").as_str())
|
||||
.add_to("content", hello_world())
|
||||
.add_to("content", hello_world_original())
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ impl Application {
|
|||
&base::theme::aliner::Aliner,
|
||||
&base::theme::minimal::Minimal,
|
||||
&base::theme::bootsier::Bootsier,
|
||||
&base::theme::bulmix::Bulmix,
|
||||
]);
|
||||
// Registra los temas de la aplicación.
|
||||
theme::all::register_themes(app.themes());
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
//! Re-exporta recursos comunes.
|
||||
|
||||
// Macros.
|
||||
// Macros, globals and helpers.
|
||||
pub use crate::{
|
||||
args,
|
||||
concat_string,
|
||||
theme_static_files,
|
||||
util,
|
||||
};
|
||||
|
||||
pub use crate::config::SETTINGS;
|
||||
|
|
@ -33,6 +34,3 @@ pub use crate::core::app::application::Application;
|
|||
pub use crate::response::page::*;
|
||||
|
||||
pub use crate::base::component::*;
|
||||
pub use crate::base::module::demopage;
|
||||
|
||||
pub use crate::util;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue