mirror of
https://github.com/unraid/webgui.git
synced 2026-01-20 08:30:14 -06:00
43 lines
950 B
HTML
43 lines
950 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<link type="text/css" rel="stylesheet" href="/webGui/styles/default-fonts.css">
|
|
|
|
<script src="/webGui/javascript/dynamix.js"></script>
|
|
|
|
<style >
|
|
.logLine{font-family:bitstream;font-size:11px;text-align:left;}
|
|
legend{font-size:12px;font-weight:bold;}
|
|
</style>
|
|
|
|
<script>
|
|
var dots = [];
|
|
var span = [];
|
|
function show_Wait(id){
|
|
span[id] = document.getElementById("wait" + id);
|
|
dots[id] = setInterval(function() {
|
|
if ((span[id].innerHTML += '.').length == 18) {
|
|
span[id].innerHTML = 'Please wait ';
|
|
}}, 500);
|
|
}
|
|
|
|
function stop_Wait(id){
|
|
span[id].innerHTML = '';
|
|
clearInterval( dots[id] );
|
|
}
|
|
|
|
function addLog(logLine) {
|
|
$(".logLine:last").append(logLine + "<br>");
|
|
window.scrollTo(0,document.body.scrollHeight);
|
|
}
|
|
|
|
function show_Prog(prog) {
|
|
$(".progress:last").text(prog);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div style="margin:10;padding:0" id="content"><p class="logLine" id="logBody"></p></div>
|
|
</body>
|
|
</html>
|