Add logging functionality to the dev panel

This commit is contained in:
Greg Burri 2025-04-21 16:52:14 +02:00
parent c8dd82a5e0
commit 812ba9dc3b
6 changed files with 141 additions and 38 deletions

View file

@ -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)]