mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-01 17:15:44 +00:00
Small UI improvements.
This commit is contained in:
parent
c496af6fc4
commit
0355c2f49d
5 changed files with 24 additions and 4 deletions
|
@ -381,6 +381,8 @@ class Series(Resource):
|
||||||
|
|
||||||
list_missing_subtitles(no=seriesId)
|
list_missing_subtitles(no=seriesId)
|
||||||
|
|
||||||
|
event_stream(type='series', action='update', series=seriesId)
|
||||||
|
|
||||||
return '', 204
|
return '', 204
|
||||||
|
|
||||||
|
|
||||||
|
@ -909,6 +911,8 @@ class Movies(Resource):
|
||||||
|
|
||||||
list_missing_subtitles_movies(no=radarrId)
|
list_missing_subtitles_movies(no=radarrId)
|
||||||
|
|
||||||
|
event_stream(type='movies', action='update', movie=radarrId)
|
||||||
|
|
||||||
return '', 204
|
return '', 204
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -275,7 +275,7 @@
|
||||||
<input type="hidden" id="edit_sonarrSeriesId" name="sonarrSeriesId" value=""/>
|
<input type="hidden" id="edit_sonarrSeriesId" name="sonarrSeriesId" value=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" id="edit_save_button" class="btn btn-info">Save</button>
|
<button type="submit" id="edit_save_button" class="btn btn-info"><span id="edit_save_button_span">Save</span></button>
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -829,9 +829,13 @@
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
beforeSend: function () {
|
||||||
|
$('#edit_save_button_span').html('<div class="spinner-border spinner-border-sm" role="status"><span class="sr-only">Loading...</span></div>');
|
||||||
|
},
|
||||||
success: function () {
|
success: function () {
|
||||||
seriesDetailsRefresh();
|
seriesDetailsRefresh();
|
||||||
$('#editModal').modal('hide');
|
$('#editModal').modal('hide');
|
||||||
|
$('#edit_save_button_span').html('Save');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -278,7 +278,7 @@
|
||||||
<input type="hidden" id="edit_radarrId" name="radarrId" value="" />
|
<input type="hidden" id="edit_radarrId" name="radarrId" value="" />
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" id="edit_save_button" class="btn btn-info">Save</button>
|
<button type="submit" id="edit_save_button" class="btn btn-info"><span id="edit_save_button_span">Save</span></button>
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -678,9 +678,13 @@
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
beforeSend: function () {
|
||||||
|
$('#edit_save_button_span').html('<div class="spinner-border spinner-border-sm" role="status"><span class="sr-only">Loading...</span></div>');
|
||||||
|
},
|
||||||
success: function(){
|
success: function(){
|
||||||
movieDetailsRefresh();
|
movieDetailsRefresh();
|
||||||
$('#editModal').modal('hide');
|
$('#editModal').modal('hide');
|
||||||
|
$('#edit_save_button_span').html('Save');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
<input type="hidden" id="edit_radarrId" name="radarrId" value=""/>
|
<input type="hidden" id="edit_radarrId" name="radarrId" value=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" id="edit_save_button" class="btn btn-info">Save</button>
|
<button type="submit" id="edit_save_button" class="btn btn-info"><span id="edit_save_button_span">Save</span></button>
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -278,8 +278,12 @@
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
beforeSend: function () {
|
||||||
|
$('#edit_save_button_span').html('<div class="spinner-border spinner-border-sm" role="status"><span class="sr-only">Loading...</span></div>');
|
||||||
|
},
|
||||||
success: function () {
|
success: function () {
|
||||||
$('#editModal').modal('hide');
|
$('#editModal').modal('hide');
|
||||||
|
$('#edit_save_button_span').html('Save');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
<input type="hidden" id="edit_sonarrSeriesId" name="sonarrSeriesId" value=""/>
|
<input type="hidden" id="edit_sonarrSeriesId" name="sonarrSeriesId" value=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="submit" id="edit_save_button" class="btn btn-info">Save</button>
|
<button type="submit" id="edit_save_button" class="btn btn-info"><span id="edit_save_button_span">Save</span></button>
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -268,8 +268,12 @@
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
beforeSend: function () {
|
||||||
|
$('#edit_save_button_span').html('<div class="spinner-border spinner-border-sm" role="status"><span class="sr-only">Loading...</span></div>');
|
||||||
|
},
|
||||||
success: function () {
|
success: function () {
|
||||||
$('#editModal').modal('hide');
|
$('#editModal').modal('hide');
|
||||||
|
$('#edit_save_button_span').html('Save');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue