You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/views/systemstatus.html

130 lines
4.2 KiB

5 years ago
{% extends '_main.html' %}
{% block title %}Status - Bazarr{% endblock %}
{% block bcleft %}
{% endblock bcleft %}
{% block bcright %}
{% endblock bcright %}
{% block body %}
5 years ago
<div class="container-fluid" style="padding-top: 3em;">
5 years ago
<h2>About</h2><hr/>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Bazarr Version:</b>
</div>
<div class="col-sm-8">
<span id="bazarr_version_span"></span>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Sonarr Version:</b>
</div>
<div class="col-sm-8">
<span id="sonarr_version_span"></span>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Radarr Version:</b>
</div>
<div class="col-sm-8">
<span id="radarr_version_span"></span>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Operating System:</b>
</div>
<div class="col-sm-8">
<span id="operating_system_span"></span>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Python Version:</b>
</div>
<div class="col-sm-8">
<span id="python_version_span"></span>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Bazarr Directory:</b>
</div>
<div class="col-sm-8">
<span id="bazarr_directory_span"></span>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Bazarr Config Directory:</b>
</div>
<div class="col-sm-8">
<span id="bazarr_config_directory_span"></span>
</div>
</div>
<br>
<h2>More info</h2><hr/>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Home Page:</b>
</div>
<div class="col-sm-8">
<i class="fas fa-paper-plane"></i>
<a href="https://www.bazarr.media" target="_blank">Bazarr Website</a>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Source:</b>
</div>
<div class="col-sm-8">
<i class="fab fa-github"></i>
<a href="https://github.com/morpheus65535/bazarr" target="_blank">Bazarr on GitHub</a>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Wiki:</b>
</div>
<div class="col-sm-8">
<i class="fab fa-wikipedia-w"></i>
<a href="https://github.com/morpheus65535/bazarr/wiki" target="_blank">Bazarr Wiki</a>
</div>
</div>
<div class="row">
5 years ago
<div class="col-sm-3 text-right">
5 years ago
<b>Discord:</b>
</div>
<div class="col-sm-8">
<i class="fab fa-discord"></i>
<a href="https://discord.gg/MH2e2eb" target="_blank">Bazarr on Discord</a>
</div>
</div>
</div>
{% endblock body %}
{% block tail %}
<script>
$(document).ready(function () {
$.ajax({
url: "{{ url_for('api.systemstatus') }}"
}).done(function (data) {
$('#bazarr_version_span').text(data.data['bazarr_version']);
$('#sonarr_version_span').text(data.data['sonarr_version']);
$('#radarr_version_span').text(data.data['radarr_version']);
$('#operating_system_span').text(data.data['operating_system']);
$('#python_version_span').text(data.data['python_version']);
$('#bazarr_directory_span').text(data.data['bazarr_directory']);
$('#bazarr_config_directory_span').text(data.data['bazarr_config_directory']);
});
})
</script>
{% endblock tail %}