diff --git a/app/auth.py b/app/auth.py index 25d6340..dba74c4 100644 --- a/app/auth.py +++ b/app/auth.py @@ -59,4 +59,4 @@ def login(): @auth_bp.route('/logout') def logout(): session.clear() - return redirect(url_for('auth.login')) \ No newline at end of file + return redirect(url_for('auth.login')) diff --git a/app/routes.py b/app/routes.py index 587355c..a61405f 100644 --- a/app/routes.py +++ b/app/routes.py @@ -59,4 +59,8 @@ def question(qid): qid=qid, total=total, progress=progress - ) \ No newline at end of file + ) + +@main_bp.route('/about') +def about(): + return render_template('about.html') diff --git a/app/static/login.css b/app/static/login.css index 7f4cd7d..4040503 100644 --- a/app/static/login.css +++ b/app/static/login.css @@ -160,4 +160,29 @@ input::-moz-focus-inner { } .message { color: red; -} \ No newline at end of file +} + + +.footer { + position: fixed; + bottom: 0; + right: 0; + left: 0; + background-color: #f5f5f5; + text-align: center; + padding: 10px; + font-size: 14px; + border-top: 1px solid #ccc; + direction: rtl; + z-index: 1000; +} + +.footer a { + color: #333; + text-decoration: none; + font-weight: bold; +} + +.footer a:hover { + text-decoration: underline; +} diff --git a/app/static/question.css b/app/static/question.css index 73f4f10..93db7e5 100644 --- a/app/static/question.css +++ b/app/static/question.css @@ -299,3 +299,29 @@ textarea { .actions { margin-top: 2rem; } + + + +.footer { + position: fixed; + bottom: 0; + right: 0; + left: 0; + background-color: #f5f5f5; + text-align: center; + padding: 10px; + font-size: 14px; + border-top: 1px solid #ccc; + direction: rtl; + z-index: 1000; +} + +.footer a { + color: #333; + text-decoration: none; + font-weight: bold; +} + +.footer a:hover { + text-decoration: underline; +} diff --git a/app/templates/login.html b/app/templates/login.html index 4edcc34..f845a84 100644 --- a/app/templates/login.html +++ b/app/templates/login.html @@ -59,5 +59,15 @@ + + + + + + + + diff --git a/app/templates/question.html b/app/templates/question.html index de63b3f..95d5ade 100644 --- a/app/templates/question.html +++ b/app/templates/question.html @@ -112,5 +112,10 @@

{{ question.text }}

+ + + \ No newline at end of file