Origin commit data
------------------
Branch: ni/coolstream
Commit: 849cb7dc0f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-19 (Thu, 19 Oct 2017)

Origin message was:
------------------
- yWeb: fix e63c34b00c

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-19 16:06:42 +02:00
parent 3c59111258
commit f0ba1cc5c9
2 changed files with 9 additions and 3 deletions

View File

@@ -969,6 +969,9 @@ a.timer {
#screenshot_header {
height: 30px;
}
table.screenshot {
clear: both;
}
td#remote,
td.shot {
vertical-align: top;

View File

@@ -122,13 +122,16 @@ function do_reload(){
</div>
<div class="right">
<form onsubmit="do_snapshot(); return false">
Reload: <input id="checkReload" name="checkReload" type="checkbox" /> <input type="number" value="15" id="inputReload" min="1" max="180" title="{=L:bc.screenshot.reload_desc=}" disabled />
{=L:filename=}: <input type="text" value="screenshot" id="filename" size="10" />
OSD: <input id="checkOSD" name="checkOSD" type="checkbox" {=if-empty:{=osd=}~~checked="checked"=} />
TV: <input id="checkVideo" name="checkVideo" type="checkbox" {=if-empty:{=video=}~~checked="checked"=} />
</form>
</div>
<div class="clear"></div>
<div class="right">
Reload: <input type="number" value="15" id="inputReload" min="1" max="180" title="{=L:bc.screenshot.reload_desc=}" disabled /> <input id="checkReload" name="checkReload" type="checkbox" />
</div>
<div class="clear"></div>
</div>
<div id="status" style="display: none">
<img src="/images/wait.gif" alt="{=L:bc.screenshot.wait_text=}"/>
@@ -150,10 +153,10 @@ function do_reload(){
<script>
document.getElementById('checkReload').onclick = function() {
if (this.checked ) {
intervall = setInterval(do_snapshot, document.getElementById("inputReload").value + "000");
interval = setInterval(do_snapshot, document.getElementById("inputReload").value + "000");
document.getElementById("inputReload").disabled = false;
} else {
clearInterval(intervall);
clearInterval(interval);
document.getElementById("inputReload").disabled = true;
}
};