diff --git a/files/__main__.py b/files/__main__.py
index 7b89a490e..da7c2681f 100644
--- a/files/__main__.py
+++ b/files/__main__.py
@@ -100,6 +100,7 @@ def before_request():
g.db = db_session()
g.webview = '; wv) ' in ua
+ g.inferior_browser = 'iphone' in ua or 'ipad' in ua or 'ipod' in ua or 'mac os' in ua or ' firefox/' in ua
@app.teardown_appcontext
def teardown_request(error):
diff --git a/files/templates/submission.html b/files/templates/submission.html
index bfd804887..af0d16940 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -113,115 +113,268 @@
{% endif %}
{% endif %}
-{% if p.award_count("wholesome") %}
-
-
-
-
- {% if p.award_count("wholesome") > 1 %}
-
-
+ @keyframes moveY {
+ from { top: 0; } to { top: 98%; }
+ }
+
+ .seal1 {
+ animation: moveX 4s linear 0s infinite alternate, moveY 6.8s linear 0s infinite alternate !important;
+ animation-delay:0s;
+ }
+
+
+
+
+
+ {% if p.award_count("wholesome") > 1 %}
+
+
-
-
+
+ {% endif %}
+
+ {% if p.award_count("wholesome") > 2 %}
+
+
+
+
+ {% endif %}
+
+ {% if p.award_count("wholesome") > 3 %}
+
+
+
+
+ {% endif %}
{% endif %}
- {% if p.award_count("wholesome") > 2 %}
-
-
-
-
-
- {% endif %}
-
- {% if p.award_count("wholesome") > 3 %}
-
-
-
-
-
- {% endif %}
-{% endif %}
-
-{% if SITE_NAME == 'PCM' and p.award_count("toe") %}
-
-
-
-
+ @media (max-width: 992px) {
+ .toeimg {
+ width: 30px !important;
+ height: auto !important;
+ }
+ }
+
+ .toe {
+ position:fixed;
+ z-index:9999;
+ pointer-events: none;
+ width: 100% !important;
+ height: 100% !important;
+ }
+
+ @keyframes moveX {
+ from { left: 0; } to { left: 98%; }
+ }
+
+ @keyframes moveY {
+ from { top: 0; } to { top: 98%; }
+ }
+
+ .toe1 {
+ animation: moveX 4s linear 0s infinite alternate, moveY 6.8s linear 0s infinite alternate !important;
+ animation-delay:0s;
+ }
+
+
+
+
+
+ {% if p.award_count("toe") > 1 %}
+
+
+
+ {% endif %}
+
+ {% if p.award_count("toe") > 2 %}
+
+
+
+
+ {% endif %}
+
+ {% if p.award_count("toe") > 3 %}
+
+
+
+
+ {% endif %}
+ {% endif %}
+{% else %}
+ {% if p.award_count("wholesome") %}
+
+
+
+
+
+
-
-
+
- {% if p.award_count("toe") > 1 %}
-
-
-
+ {% if p.award_count("wholesome") > 1 %}
+
+
+
+
-
+ {% endif %}
+
+ {% if p.award_count("wholesome") > 2 %}
+
+
+
+
+
+ {% endif %}
+
+ {% if p.award_count("wholesome") > 3 %}
+
+
+
+
+
+ {% endif %}
{% endif %}
- {% if p.award_count("toe") > 2 %}
-
-
-
+ {% if SITE_NAME == 'PCM' and p.award_count("toe") %}
+
+
+
+
+
+
-
- {% endif %}
+
- {% if p.award_count("toe") > 3 %}
-
-
-
+ {% if p.award_count("toe") > 1 %}
+
+
+
+
-
+ {% endif %}
+
+ {% if p.award_count("toe") > 2 %}
+
+
+
+
+
+ {% endif %}
+
+ {% if p.award_count("toe") > 3 %}
+
+
+
+
+
+ {% endif %}
{% endif %}
{% endif %}
+
{% if p.award_count("train") or p.award_count("scooter") %}