2019-12-28 05:52:00 +00:00
|
|
|
{% extends '_main.html' %}
|
|
|
|
|
|
|
|
{% block title %}Movies - Bazarr{% endblock %}
|
|
|
|
|
|
|
|
{% block head %}
|
|
|
|
|
|
|
|
{% endblock head %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<table id="movies" class="mdl-data-table" style="width:100%">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Monitored</th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Path</th>
|
|
|
|
<th>Audio Language</th>
|
|
|
|
<th>Subtitles Languages</th>
|
|
|
|
<th>Hearing-Impaired</th>
|
|
|
|
<th>Forced</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</table>
|
|
|
|
{% endblock body %}
|
|
|
|
|
|
|
|
{% block tail %}
|
2018-04-19 23:45:10 +00:00
|
|
|
<script>
|
2019-12-28 05:52:00 +00:00
|
|
|
$(document).ready(function() {
|
|
|
|
var table = $('#movies').DataTable( {
|
|
|
|
"processing": true,
|
|
|
|
"serverSide": true,
|
|
|
|
"searching": false,
|
|
|
|
"ordering": false,
|
|
|
|
"lengthChange": false,
|
|
|
|
"ajax": "/api/movies",
|
|
|
|
"columns": [
|
|
|
|
{ "data": "monitored" },
|
|
|
|
{ "data": "title" },
|
|
|
|
{ "data": "mapped_path" },
|
|
|
|
{ "data": "audio_language.name" },
|
|
|
|
{ "data": "languages[, ].code2" },
|
|
|
|
{ "data": "hearing_impaired" },
|
|
|
|
{ "data": "forced" }
|
|
|
|
]
|
|
|
|
} );
|
|
|
|
} );
|
2019-09-17 14:43:27 +00:00
|
|
|
</script>
|
2019-12-28 05:52:00 +00:00
|
|
|
{% endblock tail %}
|