1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 08:38:59 +00:00

add indicators for when bots are offline

This commit is contained in:
Lynne Megido 2019-09-01 11:48:08 +10:00
parent e19abc6a18
commit 21781f4e01
2 changed files with 8 additions and 2 deletions

View file

@ -43,10 +43,16 @@ body {
} }
.panel-icon { .panel-icon {
width: 100px; width: 105px;
height: 100px; height: 100px;
background: center/contain url("https://cloud.lynnesbian.space/s/JZCPTs3DzMLAspC/preview"); 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 { .panel-icon, .panel-text, .panel-actions {
display: inline-block; display: inline-block;
align-self: center; align-self: center;

View file

@ -18,7 +18,7 @@
<div class="container" style="min-height: 300px;"> <div class="container" style="min-height: 300px;">
<div class="row light"> <div class="row light">
<div class="panel-icon"></div> <div class="panel-icon online"></div>
<div class="panel-text"> <div class="panel-text">
<div class="panel-name">My bot!!</div> <div class="panel-name">My bot!!</div>
<div class="panel-status">Online, learning from 3 accounts, 12345 posts in database</div> <div class="panel-status">Online, learning from 3 accounts, 12345 posts in database</div>