|
|
@ -41,7 +41,7 @@
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<div id='loader' class="ui page dimmer">
|
|
|
|
<div id='loader' class="ui page dimmer">
|
|
|
|
<div class="ui indeterminate text loader">Loading...</div>
|
|
|
|
<div id='loader_text' class="ui indeterminate text loader">Loading...</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
% include('menu.tpl')
|
|
|
|
% include('menu.tpl')
|
|
|
|
|
|
|
|
|
|
|
@ -225,6 +225,7 @@
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
$('#restart').click(function(){
|
|
|
|
$('#restart').click(function(){
|
|
|
|
|
|
|
|
$('#loader_text').text("Bazarr is restarting, please wait...");
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
url: "{{base_url}}restart",
|
|
|
|
url: "{{base_url}}restart",
|
|
|
|
async: true
|
|
|
|
async: true
|
|
|
@ -236,7 +237,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
function ping() {
|
|
|
|
function ping() {
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
url: window.location.href,
|
|
|
|
url: '{{base_url}}',
|
|
|
|
success: function(result) {
|
|
|
|
success: function(result) {
|
|
|
|
window.location.reload();
|
|
|
|
window.location.reload();
|
|
|
|
}
|
|
|
|
}
|
|
|
|