diff --git a/static/common.css b/static/common.css index c25663e..75f0737 100644 --- a/static/common.css +++ b/static/common.css @@ -24,6 +24,10 @@ body { background-color: rgba(0, 0, 0, 0.2); } +.hidden +{ + display: none; +} #content_body { flex: 0 0 auto; diff --git a/templates/channel.html b/templates/channel.html index b6a1ef0..5292a4b 100644 --- a/templates/channel.html +++ b/templates/channel.html @@ -11,17 +11,13 @@ #content_body { display: flex; - flex-grow: 1; - flex-shrink: 0; - flex-basis: auto; flex-direction: column; width: 1440px; - margin: auto; + margin-left: auto; + margin-right: auto; max-width: 100%; } -.video_card_downloaded, -.video_card_ignored, -.video_card_pending +.video_card { position: relative; margin: 8px; @@ -29,6 +25,10 @@ border-radius: 4px; border: 1px solid #000; } +.video_card:hover +{ + box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.25); +} .video_card_pending { background-color: #ffffaa; @@ -37,6 +37,10 @@ { background-color: #ffc886; } +.video_card_selected +{ + background-color: #13f4ff !important; +} .video_card_downloaded { background-color: #aaffaa; @@ -61,10 +65,6 @@ display: none; flex-direction: column; } -.refresh_button -{ - width: 10%; -} @@ -72,98 +72,200 @@ {{header.make_header()}}
- - + {% if channel is not none %} + + All Pending Ignored Downloaded - {{videos|length}} items - {% for video in videos %} -
All + Pending + Ignored + Downloaded {% endif %} - > - {{video['_published_str']}} - {{video['title']}} -
- {% if video['download'] == "downloaded" %} - - - {% elif video['download'] == "ignored" %} - - - {% else %} - - + {{videos|length}} items + +
+ {% for video in videos %} +
+ {{video['_published_str']}} - {{video['title']}} + {% if channel is none %} + (Chan) {% endif %} +
+ + + + + +
+ {% endfor %}
- {% endfor %} +