Attempt at improved library updating

This commit is contained in:
JonnyWong16 2016-01-24 22:19:48 -08:00
commit 52bed5bf98
3 changed files with 55 additions and 33 deletions

View file

@ -15,7 +15,7 @@
<div id="update_section_ids_message" style="text-align: center; margin-top: 20px;">
<i class="fa fa-refresh fa-spin"></i> PlexPy is updating library IDs in the database. This could take a few minutes to hours depending on the size of your database.
<br />
You may leave this page and come back later. Note: All monitoring has been disabled while this update is in progress.
You may leave this page and come back later.
</div>
% endif
<div class='table-card-header'>
@ -177,7 +177,7 @@
$("#refresh-libraries-list").click(function () {
if ("${config['update_section_ids']}" == "1") {
$('#update_section_ids_message').html(
'<i class="fa fa-refresh fa-spin"></i> PlexPy is updating library IDs in the database. This could take a few minutes depending on the size of your database.' +
'<i class="fa fa-refresh fa-spin"></i> PlexPy is updating library IDs in the database. This could take a few minutes to hours depending on the size of your database.' +
'<br />' +
'You may leave this page and come back later.');
$(this).prop('disabled', true);