diff --git a/gruppenbildungsspiel.py b/gruppenbildungsspiel.py index eb74228..a2949aa 100644 --- a/gruppenbildungsspiel.py +++ b/gruppenbildungsspiel.py @@ -31,7 +31,7 @@ class QuestionForm(Form): @app.route('/') def index(): - return render_template('index.html', title='Test', text='Hallo, Fooboar') + return render_template('index.html', title='Sortierhut') @app.route('/questions', methods=['GET', 'POST']) def questions(): @@ -55,7 +55,7 @@ def questions(): # @app.route('/form') # def form(): # id = generate_id() - # return render_template('form.html', title='Test', text='Hallo, Fooboar', your_id=id) + # return render_template('form.html', title='Sortierhut', text='Hallo, Fooboar', your_id=id) @app.route('/result') def result(): @@ -63,15 +63,15 @@ def result(): @app.route('/admin') def admin(): - return render_template('admin.html', title='Test', text='Hallo, Admin Fooboar') + return render_template('admin.html', title='Sortierhut', text='Hallo, Admin Fooboar') @app.route('/answers') def answers(): - return render_template('answers.html', title='Test', text='Hallo, Admin Fooboar') + return render_template('answers.html', title='Sortierhut', text='Hallo, Admin Fooboar') @app.route('/solution') def solution(): - return render_template('solution.html', title='Test', text='Hallo, Lösung') + return render_template('solution.html', title='Sortierhut', text='Hallo, Lösung') def generate_id(): data = list() diff --git a/static/main.css b/static/main.css index 5145cd5..e63a1d2 100644 --- a/static/main.css +++ b/static/main.css @@ -7,11 +7,13 @@ html{ header{ display: block; vertical-align: middle; + background: #4444 } /* Navigation bar */ nav{ - background-color: #CCCCFF; + /* background-color: #CCCCFF; */ + background-color: #2E296C } nav > ul{ @@ -28,15 +30,17 @@ nav ul li { li a{ text-decoration: none; + color: white; + font-weight: bold; } .active{ - background-color: white + background-color: #7470A8; } /*Buttons*/ .button{ - background-color: #4CAF50; + background-color: #0D2B4A; border: none; border-radius: 4px; color: white; @@ -55,8 +59,7 @@ li a{ } .btn-group button { - background-color: #4CAF50; /* Green background */ - border: 1px solid green; /* Green border */ + background-color: #0D2B4A; /* Green background */ color: white; /* White text */ padding: 10px 24px; /* Some padding */ cursor: pointer; /* Pointer/hand icon */ @@ -70,7 +73,7 @@ li a{ /* Add a background color on hover */ .btn-group button:hover { - background-color: #3e8e41; + background-color: #03192F; } /* Remove underline effect if links are inside a div (cf. index.html) */ diff --git a/templates/base.html b/templates/base.html index 3a9cd4a..64ccc20 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,7 +9,7 @@
-

Sorting is Fun! The Importance of Being Sorted

+

Sortierhut