From 4f25b1304a8309ed28283fefcbe94657a78c9354 Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Mon, 30 Oct 2017 12:01:47 +0100 Subject: [PATCH] =?UTF-8?q?"=C3=80=20gauche=20le=20menu=20!"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/style/style_neutral.css | 11 +++++++++++ static/style/style_tth.css | 11 +++++++++++ templates/error.html | 2 +- templates/index.html | 2 +- tetastock.py | 1 + 5 files changed, 25 insertions(+), 2 deletions(-) diff --git a/static/style/style_neutral.css b/static/style/style_neutral.css index 40ba174..f949674 100644 --- a/static/style/style_neutral.css +++ b/static/style/style_neutral.css @@ -53,6 +53,17 @@ div.top_menu input { margin-right: 4px; } +div.top_menu .menu_button { + position: relative; + float: left; + top: 4px; + width: 16px; + height: 16px; + border-radius: 2px; + margin-left: 4px; +} + + div.top_menu input:hover { background-color: #FF5D00; } diff --git a/static/style/style_tth.css b/static/style/style_tth.css index 65f7ff9..fcfc514 100644 --- a/static/style/style_tth.css +++ b/static/style/style_tth.css @@ -53,6 +53,17 @@ div.top_menu input { margin-right: 4px; } +div.top_menu .menu_button { + position: relative; + float: left; + top: 4px; + width: 16px; + height: 16px; + border-radius: 2px; + margin-left: 4px; +} + + div.top_menu input:hover { background-color: #FF5D00; } diff --git a/templates/error.html b/templates/error.html index 0e00af4..2db7adb 100644 --- a/templates/error.html +++ b/templates/error.html @@ -4,7 +4,7 @@ Tetastock - + diff --git a/templates/index.html b/templates/index.html index 6386cbc..54835e4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,7 +17,7 @@
{% block top_menu %} Accueil {% endblock %} - +
diff --git a/tetastock.py b/tetastock.py index aa30817..ea9c882 100755 --- a/tetastock.py +++ b/tetastock.py @@ -301,6 +301,7 @@ def resume_session(func): # Routes ######################################################################## @app.errorhandler(404) +@resume_session def page_not_found(e): """ 404 not found """ return render_template('error.html', css=session[u'css']), 404