From eb3fb77c18284d2a653a4854e58cb6fa6756dffa Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 9 Sep 2019 22:08:43 +1000 Subject: [PATCH] implemented settings --- static/style.css | 12 ++++++-- templates/settings.html | 9 +++++- webui.py | 66 ++++++++++++++++++++++++++++++++++++----- 3 files changed, 76 insertions(+), 11 deletions(-) diff --git a/static/style.css b/static/style.css index 4e05600..f8b14d0 100644 --- a/static/style.css +++ b/static/style.css @@ -183,10 +183,18 @@ form .row { display: inline-block; } -.error { - background-color: #e66; +.error, .success { color: white; text-align: center; font-size: 1.6em; padding: 10px; } +.error { + background-color: #e66; +} +.error.err-small { + font-size: 1.0em; +} +.success { + background-color: #6e6; +} diff --git a/templates/settings.html b/templates/settings.html index 0b3e9a5..f51cdbd 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -10,9 +10,12 @@

Account settings

+ + {% include 'error.html' %} + {% include 'success.html' %}
-
+

Login settings

Update your email and password here.

@@ -32,6 +35,10 @@

When should FediBooks send you email?

+
+ Note: This feature isn't ready yet. As of now, FediBooks will not send you email. +
+