From f581d4eda069ab32df599e99b18c9316ac9f2b70 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 30 Aug 2019 18:52:13 +1000 Subject: [PATCH] started bot creation page --- templates/bot_create.html | 28 ++++++++++++++++++++++++++++ templates/home.html | 2 +- webui.py | 5 +++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 templates/bot_create.html diff --git a/templates/bot_create.html b/templates/bot_create.html new file mode 100644 index 0000000..b96c959 --- /dev/null +++ b/templates/bot_create.html @@ -0,0 +1,28 @@ + + + + + FediBooks + {% include 'imports.html' %} + + + +
+

Create bot

+

Step {{ session['step'] }}

+
+ +
+
+ + +
+
+ +
+
+
+ + {% include 'footer.html' %} + + diff --git a/templates/home.html b/templates/home.html index 9b5f219..286fcd7 100644 --- a/templates/home.html +++ b/templates/home.html @@ -10,7 +10,7 @@

Home

Hi there! You have 1 bots, all of which are currently active.

- New bot + New bot Account settings Sign out

diff --git a/webui.py b/webui.py index e332f15..4cb5b46 100644 --- a/webui.py +++ b/webui.py @@ -30,3 +30,8 @@ def settings(): @app.route("/bot/edit/") def bot_edit(id): return render_template("bot_edit.html") + +@app.route("/bot/create/") +def bot_create(): + session['step'] = 1 + return render_template("bot_create.html")