From 22c06b14aae89638f6fa02e912a4d4660d55be16 Mon Sep 17 00:00:00 2001 From: Andreas Valder <andreasv@fsmpi.rwth-aachen.de> Date: Wed, 24 Aug 2016 00:02:30 +0200 Subject: [PATCH] fixed recent list at start --- static/style.css | 2 +- templates/index.html | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/static/style.css b/static/style.css index ec0cf29..292953c 100644 --- a/static/style.css +++ b/static/style.css @@ -1,2 +1,2 @@ -.videopreview li:nth-child(odd) { background: #f5f5f5; } +.videopreview li:nth-child(even) { background: #f5f5f5; } .mejs-container { height: 80% !important; width: 100% !important; position: fixed !important; } diff --git a/templates/index.html b/templates/index.html index 96f2af6..c0df98c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,13 +34,11 @@ <div class="panel-heading"> <h1 class="panel-title">Neueste Videos</h1"> </div> - <div class="panel-body"> - <ul class="list-group videopreview"> - {% for i in latestvideos %} - {{ preview(i) }} - {% endfor %} - </ul> - </div> + <ul class="list-group videopreview"> + {% for i in latestvideos %} + {{ preview(i) }} + {% endfor %} + </ul> </div> </div> </div> -- GitLab