diff --git a/static/style.css b/static/style.css index 4ab395b..22b832c 100644 --- a/static/style.css +++ b/static/style.css @@ -135,14 +135,24 @@ label.important { font-weight: 300; display:block; } -input { - width: 100%; +input, select { font-size: 1.2em; line-height:1.4em; border: 3px grey solid; border-radius: none; padding: 3px; } -input:focus { +input:focus, select:focus { border: 3px mediumpurple solid; } + +label, input { + flex-basis: 0; +} +label { + flex-grow: 1; +} + +form .row { + margin: 10px 0; +} diff --git a/templates/bot_edit.html b/templates/bot_edit.html new file mode 100644 index 0000000..8912b2c --- /dev/null +++ b/templates/bot_edit.html @@ -0,0 +1,50 @@ + + + + + FediBooks + {% include 'imports.html' %} + + + +
+

Edit bot

+

@botname@example.com

+
+ +
+
+
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + {% include 'footer.html' %} + + diff --git a/templates/login.html b/templates/login.html index a191314..9bdc3e1 100644 --- a/templates/login.html +++ b/templates/login.html @@ -14,7 +14,7 @@

- + {% if signup %}

@@ -22,7 +22,7 @@

{% endif %}
- + {% if signup %}

diff --git a/webui.py b/webui.py index 4e9c035..568d1fd 100644 --- a/webui.py +++ b/webui.py @@ -22,3 +22,7 @@ def show_login_page(): @app.route("/signup") def show_signup_page(): return render_template("login.html", signup = True) + +@app.route("/bot/edit/") +def bot_edit(id): + return render_template("bot_edit.html")