mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 16:48:58 +00:00
Compare commits
No commits in common. "e19abc6a1818eb0cde02a4bdaa232b289362959c" and "743066cb3d5bfd420cc51782d74a76a7560e873a" have entirely different histories.
e19abc6a18
...
743066cb3d
3 changed files with 12 additions and 12 deletions
|
@ -32,8 +32,8 @@ CREATE TABLE IF NOT EXISTS `credentials` (
|
||||||
`secret` VARCHAR(128) NOT NULL
|
`secret` VARCHAR(128) NOT NULL
|
||||||
);
|
);
|
||||||
CREATE TABLE IF NOT EXISTS `fedi_account` (
|
CREATE TABLE IF NOT EXISTS `fedi_account` (
|
||||||
`handle` VARCHAR(128) NOT NULL PRIMARY KEY,
|
`outbox` VARCHAR(256) PRIMARY KEY,
|
||||||
`outbox` VARCHAR(256),
|
`instance` VARCHAR(256) NOT NULL,
|
||||||
FOREIGN KEY (`credentials_id`) REFERENCES credentials(id) ON DELETE CASCADE
|
FOREIGN KEY (`credentials_id`) REFERENCES credentials(id) ON DELETE CASCADE
|
||||||
);
|
);
|
||||||
CREATE TABLE IF NOT EXISTS `posts` (
|
CREATE TABLE IF NOT EXISTS `posts` (
|
||||||
|
|
|
@ -42,24 +42,24 @@ body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-icon {
|
.bot-icon {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
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, .panel-text, .panel-actions {
|
.bot-icon, .bot-text, .bot-actions {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
}
|
}
|
||||||
.panel-text {
|
.bot-text {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
margin: 0 0 10px 10px;
|
margin: 0 0 10px 10px;
|
||||||
}
|
}
|
||||||
.panel-name {
|
.bot-name {
|
||||||
font-size: 1.8em;
|
font-size: 1.8em;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
.panel-actions {
|
.bot-actions {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,12 +18,12 @@
|
||||||
|
|
||||||
<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="bot-icon"></div>
|
||||||
<div class="panel-text">
|
<div class="bot-text">
|
||||||
<div class="panel-name">My bot!!</div>
|
<div class="bot-name">My bot!!</div>
|
||||||
<div class="panel-status">Online, learning from 3 accounts, 12345 posts in database</div>
|
<div class="bot-status">Online, learning from 3 accounts, 12345 posts in database</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-actions">
|
<div class="bot-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>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue