Move logs view from dev_panel page to a logs page

This commit is contained in:
Greg Burri 2025-04-26 16:26:35 +02:00
parent 1bb0f05fc0
commit b0f0633338
7 changed files with 110 additions and 42 deletions

View file

@ -60,6 +60,13 @@ pub struct HomeTemplate {
pub struct DevPanelTemplate {
pub context: Context,
pub recipes: Recipes,
}
#[derive(Template)]
#[template(path = "logs.html")]
pub struct LogsTemplate {
pub context: Context,
pub recipes: Recipes,
pub log: Log,
pub current_log_file: String,
}