2025-01-24 15:15:54 +00:00
|
|
|
{{ define "title" }}Intake{{ end }}
|
|
|
|
|
|
|
|
{{ define "content" -}}
|
2025-02-01 02:03:30 +00:00
|
|
|
<article>
|
|
|
|
<details open>
|
2025-02-06 15:49:27 +00:00
|
|
|
<summary><span class="feed-controls">Channels</span></summary>
|
2025-02-01 02:03:30 +00:00
|
|
|
{{ if .Channels }}
|
|
|
|
{{ range .Channels }}
|
|
|
|
<p><a href="/channel/{{ .Name }}">
|
|
|
|
{{ if .Active }}
|
|
|
|
{{ .Name }} ({{ .Active }})
|
|
|
|
{{ else }}
|
|
|
|
{{ .Name }}
|
|
|
|
{{ end }}
|
|
|
|
</a></p>
|
|
|
|
{{ end }}
|
|
|
|
{{ else }}
|
|
|
|
<p>No channels found.</p>
|
|
|
|
{{ end }}
|
|
|
|
</details>
|
|
|
|
</article>
|
|
|
|
|
2025-01-24 15:15:54 +00:00
|
|
|
<article>
|
|
|
|
<details>
|
2025-02-06 15:49:27 +00:00
|
|
|
<summary><span class="feed-controls">Sources</span></summary>
|
2025-01-24 15:15:54 +00:00
|
|
|
{{ if .Sources }}
|
|
|
|
<table class="intake-sources">
|
|
|
|
{{ range .Sources }}
|
|
|
|
<tr>
|
2025-02-07 22:37:36 +00:00
|
|
|
<td>
|
|
|
|
<form method="post" action="/source/{{ .Name }}/fetch">
|
|
|
|
<button type="submit">fetch</button>
|
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
</td>
|
2025-01-28 05:08:33 +00:00
|
|
|
<td><a href="/source/{{ .Name }}">{{ .Name }}</a></td>
|
2025-01-24 15:15:54 +00:00
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|
|
|
|
{{ else }}
|
|
|
|
<p>No sources found.</p>
|
|
|
|
{{ end }}
|
|
|
|
</details>
|
|
|
|
</article>
|
|
|
|
{{- end }}
|