style: Clippy in ueberblick.rs (#1197)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GmHhg7qE8FdhchzsBrwgjZ
This commit is contained in:
@ -379,6 +379,7 @@ pub(super) async fn html(state: &AppState) -> String {
|
||||
} else {
|
||||
""
|
||||
};
|
||||
let inst_html = format!("<div class=\"breit\">{}</div>", instance_table(&instances));
|
||||
format!(
|
||||
"{kopf}\
|
||||
<section class=\"kacheln ueb-kpi\" aria-label=\"Kennzahlen\">{kennzahlen}</section>\
|
||||
@ -400,7 +401,7 @@ pub(super) async fn html(state: &AppState) -> String {
|
||||
<p class=\"klein\">CPU und RAM: Sicht des Rechners (/proc). Zähler und Stundenfenster seit dem Start des Gateways (maximal letzte Stunde). Stand {now} UTC, wird alle 5 s erneuert.</p>",
|
||||
kopf = kopf(&gesundheit, &node, &nexus_core::now_iso8601()),
|
||||
engines = engine_tabelle(&statuses),
|
||||
inst = format!("<div class=\"breit\">{}</div>", instance_table(&instances)),
|
||||
inst = inst_html,
|
||||
uptime = uptime(state.started.elapsed().as_secs()),
|
||||
req = t.requests,
|
||||
waiting = t.waiting,
|
||||
|
||||
Reference in New Issue
Block a user