diff --git a/peach-web/templates/status/scuttlebutt.html.tera b/peach-web/templates/status/scuttlebutt.html.tera index 29181de..4268c07 100644 --- a/peach-web/templates/status/scuttlebutt.html.tera +++ b/peach-web/templates/status/scuttlebutt.html.tera @@ -1,17 +1,98 @@ {%- extends "nav" -%} {%- block card %} + {# ASSIGN VARIABLES #} + {# ---------------- #} + {%- if sbot_stats.memory -%} + {% set mem = sbot_stats.memory / 1024 / 1024 | round -%} + {%- else -%} + {% set mem = "X" -%} + {%- endif -%}
Network key:
-Replication hops:
-Sbot version:
-Process status:
-Process uptime:
+ +1.1.0-alpha
+ {% if sbot_stats.state == "active" %} + +{{ sbot_stats.uptime }}
+ {%- else -%} + +{{ sbot_stats.downtime }}
+ {%- endif -%} +