Add rudimentary UI for tag subscription.
This commit is contained in:
parent
b143437adc
commit
5d0f577272
20
index.html
20
index.html
|
@ -41,19 +41,17 @@
|
||||||
<h2>Blocklist</h2>
|
<h2>Blocklist</h2>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/blocklist/">HTML list</a> – All instances in one page.</li>
|
<li>Look at <a href="/blocklist/">All block recommendations in one page</a>.</li>
|
||||||
<li><a href="/rss">RSS feed</a> – Subscribe to new entries.<a href="#fn1">¹</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>
|
</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>
|
<h2>Suggest instance</h2>
|
||||||
|
|
||||||
<form method="post" action="/add" enctype="multipart/form-data">
|
<form method="post" action="/add" enctype="multipart/form-data">
|
||||||
|
|
Reference in New Issue