1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-09-20 19:23:04 +00:00

added step 3

This commit is contained in:
Lynne Megido 2019-08-30 19:08:03 +10:00
parent 169134ee16
commit dc44653b5b
2 changed files with 5 additions and 1 deletions

View file

@ -23,6 +23,10 @@
<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>
{% elif session['step'] == 3 %}
<p>You now need to give your bot access to the {{ session['instance'] }} account you have created for it. If you have not yet created an account on {{ session['instance'] }} for your bot to use, please do so now.</p>
<p>Sign in to the {{ session['instance'] }} account you want your bot to use, then click next to begin the authorisation process.</p>
{% endif %}
<div class="container centred">

View file

@ -33,7 +33,7 @@ def bot_edit(id):
@app.route("/bot/create/")
def bot_create():
session['step'] = 2
session['step'] = 3
session['instance'] = "botsin.space"
session['instance_type'] = "Mastodon"
return render_template("bot_create.html")