2019-08-29 13:51:31 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>FediBooks</title>
|
|
|
|
{% include 'imports.html' %}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="thin centred">Edit bot</h1>
|
|
|
|
<p class="large centred">@botname@example.com</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container centred">
|
|
|
|
<form action="/do/bot/edit" method="post" class="full-width">
|
|
|
|
<div class="row">
|
|
|
|
<label for="username" class="large">Username</label>
|
|
|
|
<input type="text" name="username" value="Bot Name"><br>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<label for="freq" class="large">Post frequency (minutes)</label>
|
|
|
|
<input type="number" min="5" max="240" step="5" value="30">
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<label for="cw" class="large">Content warning (subject)</label>
|
|
|
|
<input type="text" placeholder="None">
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2019-08-29 14:33:35 +00:00
|
|
|
<label for="length" class="large">Maximum post length (characters)</label>
|
|
|
|
<input type="number" min="100" max="5000" value="500">
|
2019-08-29 13:51:31 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<label for="fake-mentions" class="large">Insert fake mentions</label>
|
|
|
|
<select>
|
|
|
|
<option value="full">At any time</option>
|
|
|
|
<option value="start" default>Only at the start of posts</option>
|
|
|
|
<option value="never">Never</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2019-08-30 03:18:51 +00:00
|
|
|
<label for="privacy" class="large">Post privacy</label>
|
2019-08-29 14:33:35 +00:00
|
|
|
<select>
|
|
|
|
<option value="public">Public</option>
|
|
|
|
<option value="unlisted">Unlisted</option>
|
|
|
|
<option value="followers">Followers only</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<label for="cw-learning" class="large">Learn from posts with content warnings (subjects)</label>
|
|
|
|
<input type="checkbox">
|
2019-08-29 13:51:31 +00:00
|
|
|
</div>
|
2019-08-30 03:18:51 +00:00
|
|
|
<div class="container centred">
|
|
|
|
<button class="button btn-primary"><i class="fas fa-save"></i> Save</button>
|
|
|
|
<a href="/" class="button btn-secondary"><i class="fas fa-times"></i> Cancel</a>
|
|
|
|
<a href="#" class="button btn-secondary"><i class="fas fa-question"></i> Help</a>
|
|
|
|
</div>
|
2019-08-29 13:51:31 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% include 'footer.html' %}
|
|
|
|
</body>
|
|
|
|
</html>
|