From 4adab93c3a3763632645050684ddb9c5e6b77d0b Mon Sep 17 00:00:00 2001 From: Evert Date: Fri, 10 Nov 2017 17:47:45 +0200 Subject: [PATCH] Show - Show empty message for no submitted links --- LandingPage/static/css/style.css | 8 +++----- LandingPage/templates/landing_page.html | 2 +- Show/templates/episode.html | 14 ++++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/LandingPage/static/css/style.css b/LandingPage/static/css/style.css index 307e516..f8c6dba 100644 --- a/LandingPage/static/css/style.css +++ b/LandingPage/static/css/style.css @@ -155,6 +155,7 @@ a.episode .submission_cnt { text-align: center; border-radius: 5px; font-weight: bold; + cursor: pointer; } .vote-positive { background-color: #a4ffa7; @@ -164,11 +165,8 @@ a.episode .submission_cnt { background-color: #ffa6a6; color: #ab0000; } -.submission.buried .vote-btns{ - opacity: 0.5; -} -.submission.buried a { - color: #d2d2d2; +.submission-list .submission.buried { + opacity: 0.3; } @media all and (max-width: 800px) { .logo { diff --git a/LandingPage/templates/landing_page.html b/LandingPage/templates/landing_page.html index de1e5bd..172e3d9 100644 --- a/LandingPage/templates/landing_page.html +++ b/LandingPage/templates/landing_page.html @@ -25,7 +25,7 @@
{% if not recent %} Nothing to show {% endif %} {% for show in recent %} - + {{show.name}} diff --git a/Show/templates/episode.html b/Show/templates/episode.html index e3b5d60..b50f1cf 100644 --- a/Show/templates/episode.html +++ b/Show/templates/episode.html @@ -19,13 +19,15 @@

Watch {{episode.name}} From

{% for sbm in submissions %} -
-  {{sbm.url}} -
-
 {{sbm.positives}}
-
 {{sbm.negatives}}
-
+
+  {{sbm.url}} +
+
 {{sbm.positives}}
+
 {{sbm.negatives}}
+
+ {% empty %} +

Nobody has submitted any links yet.

{% endfor %}