diff --git a/Duplicati/Server/webroot/scripts/app-functions.js b/Duplicati/Server/webroot/scripts/app-functions.js index ccdc795f7..534423598 100644 --- a/Duplicati/Server/webroot/scripts/app-functions.js +++ b/Duplicati/Server/webroot/scripts/app-functions.js @@ -162,6 +162,14 @@ alert("Unimplemented " + code); } } + + $(".ui-menu-item a").each(function(i, e) { + var x = $(e) + x.hover( + function(){x.addClass("ui-state-hover")}, + function(){x.removeClass("ui-state-hover")} + ); + }); }); })(); \ No newline at end of file diff --git a/Duplicati/Server/webroot/scripts/status-window.js b/Duplicati/Server/webroot/scripts/status-window.js index 09f6a0e73..d31a15e28 100644 --- a/Duplicati/Server/webroot/scripts/status-window.js +++ b/Duplicati/Server/webroot/scripts/status-window.js @@ -50,7 +50,6 @@ $(document).ready(function(){ ' ' + ''; - }); (function(){ @@ -164,10 +163,8 @@ $(document).ready(function(){ metadataItems.push('' + str + ''); } else if (mt['last-backup-date'] != null) { metadataItems.push('Last backup: ' + jQuery.timeago(new Date(mt['last-backup-date'])) + ''); - } - for(var ix = 0; ix < metadataItems.length; ix++) { if (ix != 0) @@ -175,11 +172,10 @@ $(document).ready(function(){ metadata += metadataItems[ix]; } - } if (metadata == '') - metadata = 'No backup information was found, run the backup to obtain data' + metadata = 'No backup information was found, run a backup to obtain data' templateFilled = templateFilled.replace("%labels%", labels).replace("%schedule%", schedule).replace("%error%", error).replace("%metadata%", metadata); diff --git a/Duplicati/Server/webroot/status-window.html b/Duplicati/Server/webroot/status-window.html index 69cb47abe..ba5e77e22 100644 --- a/Duplicati/Server/webroot/status-window.html +++ b/Duplicati/Server/webroot/status-window.html @@ -25,6 +25,28 @@