mirror of
https://github.com/unraid/webgui.git
synced 2026-03-07 01:30:59 -06:00
Revert "Updated: animated spinner logic"
This reverts commit c0c1e769d5.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
|
||||
<meta name="referrer" content="same-origin">
|
||||
<style>
|
||||
@font-face{
|
||||
font-family:'clear-sans';font-weight:normal;font-style:normal;
|
||||
@@ -53,7 +54,7 @@ function addLog(logLine) {
|
||||
}
|
||||
|
||||
function disablePage() {
|
||||
setTimeout(function(){top.document.getElementsByClassName('spinner fixed')[0].style.display = 'block';},150); // show spinner when operation takes longer than 150ms
|
||||
top.document.getElementsByClassName('spinner fixed')[0].style.display = 'block';
|
||||
for (var i=0,element; element=top.document.querySelectorAll('input,button,select')[i]; i++) element.disabled = true;
|
||||
for (var i=0,link; link=top.document.getElementsByTagName('a')[i]; i++) link.style.color = "gray"; //fake disable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user