MediaDash/templates/radarr/index.html

29 lines
798 B
HTML
Raw Normal View History

2021-08-29 13:03:28 +00:00
{% extends "base.html" %}
{% from 'utils.html' import make_tabs %}
{% macro movie_list() %}
{% for movie in movies|sort(attribute='sortTitle') %}
<h6>
<a href="{{urljoin(config.APP_CONFIG.radarr_url,'movie/'+movie.titleSlug)}}">{{movie.title}}</a>
({{movie.year}})
{% for genre in movie.genres %}
<span class="badge badge-secondary">{{genre}}</span>
{% endfor %}
<span class="badge badge-info">{{movie.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.radarr_url}}">Radarr</a>
v{{status.version}} ({{movies|count}} Movies)
2021-12-13 18:11:43 +00:00
</h1>
2021-08-29 13:03:28 +00:00
<div class="row">
<div class="col">
{{movie_list()}}
</div>
</div>
{% endblock %}