From ff1b0432790bec6c5da9e83889d35d3a936f4776 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 10 Jun 2020 23:09:17 -0700 Subject: [PATCH] Arrange the state filters horizontally instead of vertically. The "New videos are" dropdown and the sorting options are both horizontal, so this one being vertical stuck out badly visually. This is a little better. --- frontends/ycdl_flask/templates/channel.html | 29 ++++++++++++--------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/frontends/ycdl_flask/templates/channel.html b/frontends/ycdl_flask/templates/channel.html index 0517ea0..329a51e 100644 --- a/frontends/ycdl_flask/templates/channel.html +++ b/frontends/ycdl_flask/templates/channel.html @@ -157,23 +157,28 @@ https://stackoverflow.com/a/35153397 {% if channel is not none %} - - All - {% else %} - All {% endif %} - {% for statename in all_states %} - {% if channel is not none %} - {{statename}} - {% else %} - {{statename}} - {% endif %} - {% endfor %} -

+ View {% if channel is not none %} + All + {% else %} + All + {% endif %} + {% for statename in all_states %} + {% if channel is not none %} + {{statename}} + {% else %} + {{statename}} + {% endif %} + {% endfor %} + + + {% if channel is not none %} +

+ New videos are: