update podcast buttons layout in feeds.html and index.html

This commit is contained in:
Trent Palmer 2021-04-16 18:12:23 -07:00
parent 77f0bc06de
commit c4f79d39ab
2 changed files with 12 additions and 10 deletions

View File

@ -30,12 +30,13 @@
</div>
<div id="x{{ i.slug }}-rss" class="collapse">
<hr class="my-2">
<div class="text-justify">
<p>If you have a podcast client such as AntennaPod, Podcast Addict, Clementine, or BeyondPod installed, you can try ITPC.</p>
<p>Or you can paste the rss link into your client.</p>
</div>
<div class="d-flex flex-row justify-content-around flex-wrap">
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ i.get_itpc_rss }}">BeyondPod</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{% url 'audio:rss' slug=i.slug %}">RSS</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ i.get_itpc_rss }}">Other ITPC</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ i.get_itpc_rss }}">AntennaPod</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ i.get_itpc_rss }}">Podcast Addict</a></p>
<p><a type="button" class="btn btn-dark" href="{{ i.get_itpc_rss }}">ITPC</a></p>
<p><a type="button" class="btn btn-dark" href="{% url 'audio:rss' slug=i.slug %}">RSS</a></p>
</div>
<hr class="my-1">
</div>

View File

@ -57,12 +57,13 @@
<div class="container w-100 mb-2">
<div id="x{{ j.slug }}-rss" class="collapse">
<hr class="my-2">
<div class="text-justify">
<p>If you have a podcast client such as AntennaPod, Podcast Addict, Clementine, or BeyondPod installed, you can try ITPC.</p>
<p>Or you can paste the rss link into your client.</p>
</div>
<div class="d-flex flex-row justify-content-around flex-wrap">
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ j.feed.get_itpc_rss }}">BeyondPod</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{% url 'audio:rss' slug=j.feed.slug %}">RSS</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ j.feed.get_itpc_rss }}">Other ITPC</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ j.feed.get_itpc_rss }}">AntennaPod</a></p>
<p class="mb-1"><a type="button" class="btn btn-dark" href="{{ j.feed.get_itpc_rss }}">Podcast Addict</a></p>
<p><a type="button" class="btn btn-dark" href="{{ j.feed.get_itpc_rss }}">ITPC</a></p>
<p><a type="button" class="btn btn-dark" href="{% url 'audio:rss' slug=j.feed.slug %}">RSS</a></p>
</div>
<hr class="my-1">
</div>