Add rudimentary UI for tag subscription.

This commit is contained in:
tastytea 2020-10-19 08:17:23 +02:00
parent b143437adc
commit 5d0f577272
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 9 additions and 11 deletions

View File

@ -41,19 +41,17 @@
<h2>Blocklist</h2>
<ul>
<li><a href="/blocklist/">HTML list</a> All instances in one page.</li>
<li><a href="/rss">RSS feed</a> Subscribe to new entries.<a href="#fn1">¹</a></li>
<li>Look at <a href="/blocklist/">All block recommendations in one page</a>.</li>
<li>
<a href="/rss">Subscribe to all new recommendations via RSS</a>, or<br>
<form method="get" action="/rss">
<label for="tags_rss" style="width: auto;">subscribe only to these tags:</label>
<input type="text" id="tags_rss" name="tags[]" placeholder="tag1,tag2,tag3" style="width: 42ch;">
<input type="submit">
</form>
</li>
</ul>
<section>
<p id="fn1">
¹ You can also subscribe to specific tags only, for example with the URL
<code>https://fediblock.org/rss?tags[]=racism&tags[]=homomisia</code>. The webinterface for
that is not implemented yet. We'd be happy about a
<a href="https://schlomp.space/FediBlock/website">pull request</a> if you want to help out.
</p>
</section>
<h2>Suggest instance</h2>
<form method="post" action="/add" enctype="multipart/form-data">