From 21781f4e01326b05e6268431301b7117853a52e0 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 1 Sep 2019 11:48:08 +1000 Subject: [PATCH] add indicators for when bots are offline --- static/style.css | 8 +++++++- templates/home.html | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 881ae08..814baa4 100644 --- a/static/style.css +++ b/static/style.css @@ -43,10 +43,16 @@ body { } .panel-icon { - width: 100px; + width: 105px; height: 100px; background: center/contain url("https://cloud.lynnesbian.space/s/JZCPTs3DzMLAspC/preview"); } +.panel-icon.online { + border-left: 5px #5c5 solid; +} +.panel-icon.offline { + border-left: 5px #c33 solid; +} .panel-icon, .panel-text, .panel-actions { display: inline-block; align-self: center; diff --git a/templates/home.html b/templates/home.html index 30f5da8..f1fb585 100644 --- a/templates/home.html +++ b/templates/home.html @@ -18,7 +18,7 @@
-
+
My bot!!
Online, learning from 3 accounts, 12345 posts in database