MediaDash/templates/radarr/index.html

28 lines
798 B
HTML

{% 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 %}
<h1>
<a href="{{config.APP_CONFIG.radarr_url}}">Radarr</a>
v{{status.version}} ({{movies|count}} Movies)
</h1>
<div class="row">
<div class="col">
{{movie_list()}}
</div>
</div>
{% endblock %}