Change source list to a table
This commit is contained in:
parent
40ad075e96
commit
4947ce56c6
@ -34,6 +34,9 @@ summary:focus {
|
||||
width: 100%;
|
||||
resize: vertical;
|
||||
}
|
||||
.intake-sources td {
|
||||
padding-block: 0.4em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@ -65,17 +68,21 @@ summary:focus {
|
||||
{% if not sources %}
|
||||
<p>No sources found.</p>
|
||||
{% else %}
|
||||
<table class="intake-sources">
|
||||
{% for source in sources %}
|
||||
<p>
|
||||
<tr>
|
||||
<td>
|
||||
{%- for channel, srcs in channels|items -%}
|
||||
{%- if source.source_name in srcs -%}
|
||||
^
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
<a href="{{ url_for('source_feed', name=source.source_name) }}">{{ source.source_name|safe }}</a>
|
||||
(<a href="{{ url_for('source_edit', name=source.source_name) }}">edit</a>)
|
||||
</p>
|
||||
</td>
|
||||
<td>(<a href="{{ url_for('source_edit', name=source.source_name) }}">edit</a>)</td>
|
||||
<td><a href="{{ url_for('source_feed', name=source.source_name) }}">{{ source.source_name|safe }}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
</details>
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user