MediaDash/templates/sonarr/index.html

28 lines
824 B
HTML
Raw Permalink Normal View History

2021-08-29 13:03:28 +00:00
{% extends "base.html" %}
{% from 'utils.html' import make_tabs %}
{% macro series_list() %}
{% for show in series|sort(attribute='sortTitle') %}
<h6>
<a href="{{urljoin(config.APP_CONFIG.sonarr_url,'series/'+show.titleSlug)}}">{{show.title}}</a>
({{show.year}})
{% for genre in show.genres %}
<span class="badge badge-secondary">{{genre}}</span>
{% endfor %}
<span class="badge badge-info">{{show.status|title}}</span>
</h6>
{% endfor %}
{% endmacro %}
{% block app_content %}
2021-12-13 18:11:43 +00:00
<h1>
2021-08-29 13:03:28 +00:00
<a href="{{config.APP_CONFIG.sonarr_url}}">Sonarr</a>
v{{status.version}} ({{series|count}} Shows)
2021-12-13 18:11:43 +00:00
</h1>
2021-08-29 13:03:28 +00:00
<div class="row">
<div class="col">
{{series_list()}}
</div>
</div>
{% endblock %}