1
0

Shutdown image

This commit is contained in:
Scott E. Graves
2017-04-28 16:34:19 -05:00
parent a69a2b53a3
commit 1c4a6b79fe
3 changed files with 5 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 982 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View File

@@ -205,6 +205,6 @@
</div>
<button id="ID_RenterUploadsOk" style="width: 110px" type="button">Back</button>
</div>
<div id="shutdown_window" class="hidden-element" style="padding: 0; margin: 0;position: fixed; height: 100%; width: 100%;background-image: url(./images/shutdown.gif); background-size: cover; z-index: 99999"></div>
<div id="shutdown_window" class="hidden-element" style="padding: 0; margin: 0;position: fixed; height: 100%; width: 100%;background-image: url(./images/shutdown.gif); background-size: 100% 100%; background-repeat: no-repeat; z-index: 99999"></div>
</body>
</html>

View File

@@ -188,7 +188,10 @@
}
},
displayShutdownWindow: () => {
setMainWindow('shutdown_window');
const div = document.getElementById('shutdown_window');
document.body.innerHTML = '';
document.body.appendChild(div);
div.classList.remove('hidden-element');
}
};
})();