aboutsummaryrefslogtreecommitdiff
path: root/src/web.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-05-04 17:33:10 +0200
committermetamuffin <metamuffin@disroot.org>2024-05-04 17:33:10 +0200
commit49470348afb49ceab9fece12eac5f73e20815d00 (patch)
treea9af7352e4d47ebdd149ae0d17a4e2eca1e03430 /src/web.rs
parenta4d49095d1fa40fc7152d069006d1121300235bb (diff)
downloadstatuspage-49470348afb49ceab9fece12eac5f73e20815d00.tar
statuspage-49470348afb49ceab9fece12eac5f73e20815d00.tar.bz2
statuspage-49470348afb49ceab9fece12eac5f73e20815d00.tar.zst
mention date and software in footer
Diffstat (limited to 'src/web.rs')
-rw-r--r--src/web.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/web.rs b/src/web.rs
index 8aa7a2a..c7bff3d 100644
--- a/src/web.rs
+++ b/src/web.rs
@@ -1,5 +1,5 @@
use crate::{log::LOG, Check, Config, Service, Status, STATUS};
-use chrono::SubsecRound;
+use chrono::{SubsecRound, Utc};
use markup::{doctype, Render};
use std::{collections::BTreeMap, ops::Deref, sync::Arc};
@@ -47,6 +47,9 @@ pub async fn make_html_page(config: Arc<Config>) -> String {
}
}
}
+ footer {
+ "Generated " @Utc::now().to_rfc2822() " by " a[href="https://codeberg.org/metamuffin/statuspage"]{ "statuspage" } "."
+ }
}
}
}