From 89076718edc1a573068698ed4d652037321216da Mon Sep 17 00:00:00 2001 From: faucomte97 Date: Fri, 3 Nov 2023 14:31:27 +0000 Subject: [PATCH] Grey out coming soon episodes --- game/static/game/css/backgrounds.css | 4 ++++ game/templates/game/level_selection.html | 13 +++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/game/static/game/css/backgrounds.css b/game/static/game/css/backgrounds.css index 05c3c315b..74477184c 100644 --- a/game/static/game/css/backgrounds.css +++ b/game/static/game/css/backgrounds.css @@ -31,3 +31,7 @@ .bg--loops { background: #3F3F3F; } + +.bg--loops-coming-soon { + background: #6F6F6F; +} diff --git a/game/templates/game/level_selection.html b/game/templates/game/level_selection.html index a449fafad..002d29d52 100644 --- a/game/templates/game/level_selection.html +++ b/game/templates/game/level_selection.html @@ -173,13 +173,18 @@

Python levels

{% for episode in pythonEpisodes %} {% if episode.difficulty == "loops" %} -
-
+
Owned by {{ teacher|make_into_username }}
{% endif %}
-{% endblock content %} \ No newline at end of file +{% endblock content %}