mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
added step 4!
This commit is contained in:
parent
dc44653b5b
commit
6093fd6f27
2 changed files with 6 additions and 1 deletions
|
@ -27,6 +27,11 @@
|
||||||
<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>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>
|
<p>Sign in to the {{ session['instance'] }} account you want your bot to use, then click next to begin the authorisation process.</p>
|
||||||
|
|
||||||
|
{% elif session['step'] == 4 %}
|
||||||
|
<h2 class="thin centred">Congratulations!</h2>
|
||||||
|
<p>FediBooks has successfully authenticated with {{ session['instance'] }}, and your bot is ready to be configured. Click finish to return to the bot management screen.</p>
|
||||||
|
<p>To get your bot working, you need to add at least one account for it to learn from. You can do so by clicking the <i class="fas fa-users"></i> button. To configure settings such as posting frequency and content warnings, click the <i class="fas fa-cog"></i> button.</p>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="container centred">
|
<div class="container centred">
|
||||||
|
|
2
webui.py
2
webui.py
|
@ -33,7 +33,7 @@ def bot_edit(id):
|
||||||
|
|
||||||
@app.route("/bot/create/")
|
@app.route("/bot/create/")
|
||||||
def bot_create():
|
def bot_create():
|
||||||
session['step'] = 3
|
session['step'] = 4
|
||||||
session['instance'] = "botsin.space"
|
session['instance'] = "botsin.space"
|
||||||
session['instance_type'] = "Mastodon"
|
session['instance_type'] = "Mastodon"
|
||||||
return render_template("bot_create.html")
|
return render_template("bot_create.html")
|
||||||
|
|
Loading…
Reference in a new issue