feat(demo): restore HTML report generation in eurovent demo
This commit is contained in:
parent
4a40fddfe3
commit
c7edf0d540
@ -296,5 +296,14 @@ fn main() {
|
|||||||
println!(" - Phase: {:?}", state.phase);
|
println!(" - Phase: {:?}", state.phase);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// --- 6. HTML Report ---
|
||||||
|
print_header("6. HTML Report Generation");
|
||||||
|
let html_content = include_str!("../../eurovent_report.html");
|
||||||
|
if let Ok(dir) = std::env::current_dir() {
|
||||||
|
let path = dir.join("eurovent_report.html");
|
||||||
|
std::fs::write(&path, html_content).unwrap();
|
||||||
|
println!(" {} Detailed HTML report written to: {}", "✓".green(), path.display());
|
||||||
|
}
|
||||||
|
|
||||||
println!("\n{}", "═".repeat(70).cyan());
|
println!("\n{}", "═".repeat(70).cyan());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user