From 051a878a69074f10fc8c4ee92521056c3c875b2b Mon Sep 17 00:00:00 2001 From: sergiusz Date: Mon, 7 Dec 2020 01:21:16 +0100 Subject: [PATCH] Tried to fix the problem with veryfying the asnwers. --- app/routes.py | 2 -- app/static/css/LLPSI.css | 3 ++- app/templates/Pensum_cloze.html | 32 ++++++++++++++++---------------- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/app/routes.py b/app/routes.py index 406cf08..d4bd2f8 100644 --- a/app/routes.py +++ b/app/routes.py @@ -18,8 +18,6 @@ capitula = [ for capitulum in capitula: capitulum['filename'] = capitulum['title'].replace(' ', '_') -print(capitula) - @app.route('/') @app.route('/index') @app.route('/llpsi') diff --git a/app/static/css/LLPSI.css b/app/static/css/LLPSI.css index cf36141..98c2687 100644 --- a/app/static/css/LLPSI.css +++ b/app/static/css/LLPSI.css @@ -1,4 +1,5 @@ input[type="text"] { + -webkit-appearance: none; border: none; border-bottom: 1px solid black; } @@ -9,4 +10,4 @@ input[type="text"].incorrect { input[type="text"].correct { background-color: green; -} \ No newline at end of file +} diff --git a/app/templates/Pensum_cloze.html b/app/templates/Pensum_cloze.html index f41ef05..797af1a 100644 --- a/app/templates/Pensum_cloze.html +++ b/app/templates/Pensum_cloze.html @@ -6,12 +6,12 @@ -

Lingua Latina Per Se Illustrata

+

Lingua Latina Per Se Illustrata

{{pensum_title}}

Quantitās: -
+
{{pensum_content|safe}}
- - + +
\ No newline at end of file