1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00
FediBooks/templates/bot_create.html

37 lines
1.3 KiB
HTML
Raw Normal View History

2019-08-30 08:52:13 +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">Create bot</h1>
2019-08-30 09:02:48 +00:00
<p class="large thin centred">Step {{ session['step'] }}</p>
2019-08-30 08:52:13 +00:00
</div>
<div class="container centred">
<form action="/bot/create" method="POST">
2019-08-30 09:02:48 +00:00
{% if session['step'] == 1 %}
2019-08-30 08:52:13 +00:00
<label for="instance" class="important">What instance will your bot's account be on?</label>
<input type="text" name="instance" class="full-width" placeholder="botsin.space">
<br>
2019-08-30 09:02:48 +00:00
{% elif session['step'] == 2 %}
<h2 class="thin centred">Detected instance type: {{ session['instance_type'] }}</h2>
<p>{{ session['instance'] }} is a {{ session['instance_type'] }} instance. {% if session['instance_type'] == Pleroma %}Unfortunately, bots on Pleroma instances cannot listen for replies yet. This means that your bot will have its reply functionality disabled.{% else %}{{ session['instance_type'] }} instances are fully supported, and your bot will have all functionality available.{% endif %}</p>
{% endif %}
2019-08-30 08:52:13 +00:00
<div class="container centred">
2019-08-30 09:02:48 +00:00
<button class="button btn-primary"><i class="fas fa-arrow-right"></i> Next</button>
</div>
2019-08-30 08:52:13 +00:00
</form>
</div>
{% include 'footer.html' %}
</body>
</html>