diff --git a/management.py b/management.py index 95ad191..dbbcc97 100644 --- a/management.py +++ b/management.py @@ -134,5 +134,6 @@ class Management: DISABLED=config.DISABLED, BLOCKED_IPS=config.BLOCKED_IPS, DISABLED_KEYS=config.DISABLED_KEYS, + STREAM_LIST=config.LAST_STREAM_LIST, data=data, ) diff --git a/template/management.mako b/template/management.mako index 1966f3f..cdbff85 100644 --- a/template/management.mako +++ b/template/management.mako @@ -16,6 +16,18 @@ return f"{days}d, {hours:02d}:{minutes:02d}:{seconds:02d}" %> +<%def name="cachedata(stream_list)"> +

Stream Cache [?]

+ + + <%def name="blockdata(disabled, blocked_ips, blocked_keys)"> % if disabled:

The server is currently disabled!

@@ -139,5 +151,9 @@ td.left { % endfor % endfor +
+
Debug Info + ${cachedata(STREAM_LIST)} +