From 4947ce56c6e0f4d7acaf35a66be8d9276777eeeb Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 21 Sep 2024 13:28:16 -0700 Subject: [PATCH] Change source list to a table --- intake/templates/home.jinja2 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/intake/templates/home.jinja2 b/intake/templates/home.jinja2 index bbf20d2..4f06ec3 100644 --- a/intake/templates/home.jinja2 +++ b/intake/templates/home.jinja2 @@ -34,6 +34,9 @@ summary:focus { width: 100%; resize: vertical; } +.intake-sources td { + padding-block: 0.4em; +} @@ -65,17 +68,21 @@ summary:focus { {% if not sources %}

No sources found.

{% else %} + {% for source in sources %} -

+

+ + + + {% endfor %} +
{%- for channel, srcs in channels|items -%} {%- if source.source_name in srcs -%} ^ {%- endif -%} {%- endfor -%} -{{ source.source_name|safe }} -(edit) -

+
(edit){{ source.source_name|safe }}
{% endif %}