From 517e5ec3b38ee71a684a4d7a51124b45307734e4 Mon Sep 17 00:00:00 2001 From: TLSM Date: Mon, 23 May 2022 02:57:43 -0400 Subject: [PATCH] Re-implement confetti award. To replace the implementation of the confetti award, we now use an animated WebP tiled as a background image on a fixed overlay. This should alleviate the previous performance concerns (no runtime calculation of confetti mechanics & rendering) and maintainable concerns. --- files/templates/default.html | 4 ++-- files/templates/submission.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index 9d87deb277..4c0564bf7f 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -10,7 +10,7 @@ - + {% if v.agendaposter %} - + {% endif %} {% if request.path == '/catalog' %} diff --git a/files/templates/submission.html b/files/templates/submission.html index cd6b76a01b..8ab6811a89 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -64,7 +64,7 @@ {% endif %} {% if p.award_count("confetti") %} - {# TODO: Confetti temporarily removed. #} +
{% endif %} {% if p.award_count("firework") %}