diff --git a/TODO.md b/TODO.md index d69f5d5..a5d61c1 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,9 @@ * check if ffmpeg is faster with less input files * close filehandle after sending? * or clean up when handling subsequent requests + +bootstrap 4 +----------- +* fix design... +* fix calendar icon +* add "Minuten" to Länge diff --git a/prolefeeder.py b/prolefeeder.py index 828b8ac..7b701ac 100644 --- a/prolefeeder.py +++ b/prolefeeder.py @@ -19,7 +19,7 @@ from config import Config app = Flask(__name__) app.config.from_object(Config) app.config['WTF_I18N_ENABLED'] = False # enables WTForms built-in translations -Bootstrap(app) +bootstrap = Bootstrap(app) attachment_filenames = {} diff --git a/requirements.txt b/requirements.txt index ac5d4f2..b365542 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,5 @@ werkzeug==0.16.1 flask -flask-bootstrap +bootstrap-flask python-dotenv - -# flask-wtf 0.14.2 is broken (enabling WTForms built-in translations does not work): -git+https://github.com/lepture/flask-wtf.git@534e1734b86c2f0907af131c11b981e6146ca57c +flask-wtf >= 1.0.0 diff --git a/templates/base.html b/templates/base.html index 2ed9de5..6a6d8c1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -17,7 +17,7 @@ -{{ utils.flashed_messages() }} +{{ utils.render_messages() }}
{{ error }}
@@ -65,8 +69,11 @@ {% block scripts %} {{ super() }} - - + +