Add logging functionality to the dev panel
This commit is contained in:
parent
c8dd82a5e0
commit
812ba9dc3b
6 changed files with 141 additions and 38 deletions
|
|
@ -3,6 +3,7 @@ use askama::Template;
|
|||
use crate::{
|
||||
Context,
|
||||
data::{db, model},
|
||||
log::Log,
|
||||
translation::{self, Sentence, Tr},
|
||||
};
|
||||
|
||||
|
|
@ -58,6 +59,8 @@ pub struct HomeTemplate {
|
|||
pub struct DevPanelTemplate {
|
||||
pub context: Context,
|
||||
pub recipes: Recipes,
|
||||
pub log: Log,
|
||||
pub current_log_file: String,
|
||||
}
|
||||
|
||||
#[derive(Template)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue