1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-10-31 21:58:58 +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 {
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;

View file

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