Streaming log page with colors

Using the ansi-to-html crate.
This commit is contained in:
2023-06-06 21:14:29 -04:00
parent 6713a7a440
commit 786f3a194f
7 changed files with 50 additions and 36 deletions

View File

@@ -38,13 +38,13 @@ impl Layout {
html lang="en" {
head {
meta charset="utf-8";
title { "crawlnicle" }
title { (self.title) }
script type="module" {
r#"import * as Turbo from 'https://cdn.skypack.dev/@hotwired/turbo';"#
}
}
body {
(header())
(header(&self.title))
turbo-frame id="main" data-turbo-action="advance" {
(template)
}