From 701543168708e91577946eea915a28fe29fc0ef6 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 6 Sep 2019 20:54:29 +1000 Subject: [PATCH] created bug report page --- static/style.css | 7 ++++--- templates/report_bug.html | 37 +++++++++++++++++++++++++++++++++++++ webui.py | 4 ++++ 3 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 templates/report_bug.html diff --git a/static/style.css b/static/style.css index 57eafbf..fa53f9b 100644 --- a/static/style.css +++ b/static/style.css @@ -113,7 +113,7 @@ input.button, button.button { background-color: #777; } -.btn-large { +.btn-large, button.btn-large { font-size: 1.6em; } @@ -150,14 +150,15 @@ label.important { font-weight: 300; display: block; } -input, select { +input, select, textarea { font-size: 1.2em; line-height: 1.4em; border: 3px grey solid; border-radius: none; padding: 3px; + font-family: "Roboto", sans-serif; } -input:focus, select:focus { +input:focus, select:focus, textarea:focus { border: 3px mediumpurple solid; } diff --git a/templates/report_bug.html b/templates/report_bug.html new file mode 100644 index 0000000..8eeab1c --- /dev/null +++ b/templates/report_bug.html @@ -0,0 +1,37 @@ + + + + + FediBooks + {% include 'imports.html' %} + + + +
+

Report a bug

+
+ +
+
+ +

A short, concise description of what happened.

+ + + +

A more detailed description of what happened, including the steps you took that caused this issue to appear.

+ + + +

If you'd like to, you may add a comment here with any additional information.

+ + +
+ Cancel + +
+
+
+ + {% include 'footer.html' %} + + diff --git a/webui.py b/webui.py index 4221b49..36e976c 100644 --- a/webui.py +++ b/webui.py @@ -395,6 +395,10 @@ def do_login(): session['error'] = "Incorrect login information." return redirect(url_for("show_login_page"), 303) +@app.route("/issue/bug") +def report_bug(): + return render_template("report_bug.html") + @app.route("/img/bot_generic.png") def img_bot_generic(): return send_file("static/bot_generic.png", mimetype="image/png")