Initial commit
This commit is contained in:
commit
7523a19d1f
40 changed files with 3984 additions and 0 deletions
0
templates/radarr/details.html
Normal file
0
templates/radarr/details.html
Normal file
28
templates/radarr/index.html
Normal file
28
templates/radarr/index.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
{% 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 %}
|
||||
<h2>
|
||||
<a href="{{config.APP_CONFIG.radarr_url}}">Radarr</a>
|
||||
v{{status.version}} ({{movies|count}} Movies)
|
||||
</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
{{movie_list()}}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue