Skip to content

Commit 9fcce26

Browse files
RamZallanliam-middlebrook
authored andcommitted
Opened lockdown to eboard, changed lockdown page content (#123)
1 parent c0ce095 commit 9fcce26

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

conditional/templates/base.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@
2323
{% block body %}
2424
{% endblock %}
2525
{% else %}
26-
<div class="container main">
27-
<div class="alert alert-danger" role="alert"><span class="glyphicon glyphicon-remove-sign"></span> Site Lockdown: Evaluations in progress. Please check back later.</div>
26+
<div class="container main error-page align-center">
27+
<div class="col-xs-12">
28+
<img src="/static/images/material_lock.svg" alt="Attention!">
29+
<h1>Congratulations or I'm Sorry...</h1>
30+
<h2>We cannot reveal the results of your evaluation!</h2>
31+
<h3>Evaluations underway:</h3>
32+
<p>Conditional is in Lockdown</p>
33+
</div>
2834
</div>
2935
{% endif %}
3036

conditional/util/flask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def render_template(request, template_name, **kwargs):
4040
ts_review = len(TechnicalSeminar.query.filter(
4141
TechnicalSeminar.approved == False).all()) # pylint: disable=singleton-comparison
4242

43-
if is_eval:
43+
if is_eboard:
4444
lockdown = False
4545

4646
return flask_render_template(

frontend/images/material_lock.svg

Lines changed: 14 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)