Add podgrab featureset

This commit is contained in:
Cody Cook 2025-06-16 23:07:36 -07:00
commit 4527504c80
5 changed files with 71 additions and 11 deletions

View file

@ -188,6 +188,8 @@
<td class="cell-center">
{% if episode.downloaded %}
<span class="status-badge status-active">Downloaded</span>
{% elif episode.download_error %}
<span class="status-badge status-error" title="{{ episode.download_error }}">Error {{ episode.status_code }}</span>
{% else %}
<span class="status-badge status-pending">Available</span>
{% endif %}
@ -203,6 +205,9 @@
{% if episode.audio_url %}
<a href="{{ episode.audio_url }}" target="_blank" class="btn btn-sm btn-secondary" style="margin-left: 4px;">Stream</a>
{% endif %}
{% if episode.download_error %}
<span class="tooltip-icon" title="{{ episode.download_error }}"></span>
{% endif %}
</td>
</tr>
{% endfor %}
@ -259,6 +264,8 @@
<td class="cell-center">
{% if episode.downloaded %}
<span class="status-badge status-active">Downloaded</span>
{% elif episode.download_error %}
<span class="status-badge status-error" title="{{ episode.download_error }}">Error {{ episode.status_code }}</span>
{% else %}
<span class="status-badge status-pending">Available</span>
{% endif %}
@ -274,6 +281,9 @@
{% if episode.audio_url %}
<a href="{{ episode.audio_url }}" target="_blank" class="btn btn-sm btn-secondary" style="margin-left: 4px;">Stream</a>
{% endif %}
{% if episode.download_error %}
<span class="tooltip-icon" title="{{ episode.download_error }}"></span>
{% endif %}
</td>
</tr>
{% endfor %}
@ -293,6 +303,26 @@
{% endblock %}
{% block scripts %}
<style>
.status-error {
background-color: #f85149;
color: white;
}
.tooltip-icon {
display: inline-block;
width: 16px;
height: 16px;
border-radius: 50%;
background-color: #58a6ff;
color: white;
text-align: center;
line-height: 16px;
font-size: 12px;
margin-left: 4px;
cursor: help;
}
</style>
<script>
function toggleSeason(seasonId) {
// Find the clicked header element