diff --git a/app.py b/app.py index 450c10b..5b4cd5b 100644 --- a/app.py +++ b/app.py @@ -77,6 +77,7 @@ def register(): @app.route('/logout/') def logout(): session.pop("team_id") + flash("You've successfully logged out.") return redirect(url_for('root')) # Debugging things diff --git a/templates/dashboard.html b/templates/dashboard.html index 75fd324..406b9c0 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -12,7 +12,7 @@ text-align: right; } form { - margin-top: 20px; + margin-top: 30px; margin-bottom: 25px; } .bigger { @@ -32,35 +32,45 @@ {% block content %}
Your team key is {{ team.key }}
. Share this with your teammates,
+ and keep it in a safe place. You need your team key in order to log in.
+ If you lose it, an organizer can send it to your team email, which is shown below.
Your team key is {{ team.key }}
. Share this with your teammates,
-and keep it in a safe place. You need it to log in. If you lose it, an organizer
-can send it to your team email, which is shown below.
Your score is currently {{ team_score }}. Go solve more challenges!
Your team email is {{ team.email }}
, and you are affiliated with
{{ team.affiliation }}.
Your team is currently marked {{ "eligible" if team.eligible else "ineligible" }}.
{{ config.eligibility }}
-If you do not meet these requirements, you are still welcome to play, but you -will not be eligible for prizes. By checking the "Eligibility Certification" -checkbox below, you are certifying that you meet the prize eligibility -requirement. We may request appropriate documentation to verify your eligibility -status before sending you prizes.