Move logs view from dev_panel page to a logs page
This commit is contained in:
parent
1bb0f05fc0
commit
b0f0633338
7 changed files with 110 additions and 42 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue