mirror of
https://github.com/unraid/webgui.git
synced 2026-03-05 16:08:38 -06:00
Added animated logo when updating settings
This commit is contained in:
@@ -3,8 +3,8 @@ Title="Add User"
|
||||
Tag="user"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2018, Lime Technology
|
||||
* Copyright 2012-2018, Bergware International.
|
||||
/* Copyright 2005-2019, Lime Technology
|
||||
* Copyright 2012-2019, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
|
||||
@@ -504,6 +504,7 @@ foreach ($pages as $page) {
|
||||
unset($pages,$page,$pgs,$pg,$icon);
|
||||
?>
|
||||
</div></div>
|
||||
<div class="spinner fixed"></div>
|
||||
<iframe id="progressFrame" name="progressFrame" frameborder="0"></iframe>
|
||||
<?
|
||||
// Build footer
|
||||
|
||||
@@ -53,6 +53,7 @@ function addLog(logLine) {
|
||||
}
|
||||
|
||||
function disablePage() {
|
||||
for (var i=0,div; div=top.document.getElementsByClassName('spinner')[i]; i++) div.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