rename bot- classes to panel-

This commit is contained in:
Lynne Megido 2019-08-31 23:57:38 +10:00
parent 743066cb3d
commit 3041310004
2 changed files with 10 additions and 10 deletions

View File

@ -42,24 +42,24 @@ body {
width: 100%;
}
.bot-icon {
.panel-icon {
width: 100px;
height: 100px;
background: center/contain url("https://cloud.lynnesbian.space/s/JZCPTs3DzMLAspC/preview");
}
.bot-icon, .bot-text, .bot-actions {
.panel-icon, .panel-text, .panel-actions {
display: inline-block;
align-self: center;
}
.bot-text {
.panel-text {
flex-grow: 1;
margin: 0 0 10px 10px;
}
.bot-name {
.panel-name {
font-size: 1.8em;
margin: 10px 0;
}
.bot-actions {
.panel-actions {
margin-right: 10px;
}

View File

@ -18,12 +18,12 @@
<div class="container" style="min-height: 300px;">
<div class="row light">
<div class="bot-icon"></div>
<div class="bot-text">
<div class="bot-name">My bot!!</div>
<div class="bot-status">Online, learning from 3 accounts, 12345 posts in database</div>
<div class="panel-icon"></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>
</div>
<div class="bot-actions">
<div class="panel-actions">
<a class="button btn-secondary" href="/bot/toggle/insert id here" title="Turn on/off"><i class="fas fa-power-off"></i></a><a class="button btn-secondary" href="/bot/edit/insert id here" title="Configure"><i class="fas fa-cog"></i></a><a class="button btn-secondary" href="/bot/accounts/insert id here" title="Accounts learned from"><i class="fas fa-users"></i></a><a class="button btn-secondary" href="/bot/blacklist/insert id here" title="Banned words"><i class="fas fa-strikethrough"></i></a><a class="button btn-secondary" href="/bot/chat/insert id here" title="Chat"><i class="fas fa-comment"></i></a><a class="button btn-dangerous" href="/bot/delete/insert id here" title="Delete"><i class="fas fa-trash"></i></a>
</div>
</div>