diff --git a/app/main.py b/app/main.py index 5aefb77..9f5df69 100644 --- a/app/main.py +++ b/app/main.py @@ -1,7 +1,6 @@ # Flask app main file. from flask import Flask, render_template, redirect, session, g, flash, request, send_from_directory -from flask_caching import Cache from functools import wraps from datetime import timedelta @@ -18,18 +17,6 @@ app = Flask(__name__) -# Cache setup -''' -config = { - "DEBUG": False, - "CACHE_TYPE": "SimpleCache", - "CACHE_DEFAULT_TIMEOUT": 60 -} - -app.config.from_mapping(config) -cache = Cache(app) -''' - # Get secret key from environment variables, stop if not found. secret_key = os.environ.get("FLASK_SECRET_KEY") if secret_key is None: diff --git a/app/static/css/style.css b/app/static/css/style.css index 2a527d2..1513ca8 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -313,9 +313,6 @@ a:visited { padding-right: 1em; } -.participation .button { -} - #add_participation { margin: 0.7em 0 0 2em; } @@ -510,6 +507,10 @@ padding: 10px; display: inline; margin-right: 1em; } + + .only_mobi { + display: none; + } } diff --git a/app/templates/challenge.html b/app/templates/challenge.html index 758f100..71a9861 100644 --- a/app/templates/challenge.html +++ b/app/templates/challenge.html @@ -15,7 +15,14 @@