diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-01-16 22:18:58 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-01-16 22:18:58 +0100 |
commit | ea68256ae1e15fdcb675dac1ec8e3717a84ed36e (patch) | |
tree | 4777021bb67bb4926fd980a318443c76323ede85 /src | |
parent | 81a61c28619ef9f32e79e5698bc4162ca1ceb82d (diff) | |
download | cats-radio-node-ea68256ae1e15fdcb675dac1ec8e3717a84ed36e.tar.gz cats-radio-node-ea68256ae1e15fdcb675dac1ec8e3717a84ed36e.tar.bz2 cats-radio-node-ea68256ae1e15fdcb675dac1ec8e3717a84ed36e.zip |
Improve CSS
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -109,12 +109,15 @@ async fn dashboard(State(state): State<SharedState>) -> DashboardTemplate<'stati }) .collect(); + let node_startup_time = format!("{} UTC", + node_startup_time.format("%Y-%m-%d %H:%M:%S")); + DashboardTemplate { title: "Dashboard", conf, page: ActivePage::Dashboard, num_received_frames : db.get_num_received_frames(), - node_startup_time : node_startup_time.format("%Y-%m-%d %H:%M:%S").to_string(), + node_startup_time, packets, } } |