From f2badcef554734f6a5068d351ecd49a32feba026 Mon Sep 17 00:00:00 2001 From: pluja Date: Sat, 10 Oct 2020 18:25:58 +0200 Subject: [PATCH] Improve video item UI and phone usage --- app/templates/_video_item.html | 45 +++++++++++++--------------------- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/app/templates/_video_item.html b/app/templates/_video_item.html index b5be709..0234aa4 100644 --- a/app/templates/_video_item.html +++ b/app/templates/_video_item.html @@ -1,46 +1,35 @@ -
-
- {%if config.nginxVideoStream%} - Thumbnail - {%else%} - Thumbnail - {%endif%} -
-
- {% if video.views == "Livestream" %} - {{video.videoTitle}} - {% else %} - {{video.videoTitle}} - {% endif %} - -
- {{video.description}} -
+
+ + + +
{% if video.isLive == "Livestream" or video.isLive %} - + {% else %} - + {% endif %} {% if video.timeStamp == "Scheduled" or video.isUpcoming %} - + - {{video.timeStamp}}‎‎‎‎ ‎‎‎ + {{video.timeStamp}} {% else %} - + - {{video.timeStamp}}‎‎‎‎ ‎‎‎ + {{video.timeStamp}} {% endif %}