mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
- yWeb: fix 9eb1060cbb14f6a29ed289b52c0214ffc67503e0
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -966,6 +966,9 @@ a.timer {
|
|||||||
#screenshot_header {
|
#screenshot_header {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
table.screenshot {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
td#remote,
|
td#remote,
|
||||||
td.shot {
|
td.shot {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
@@ -116,13 +116,16 @@ function do_reload(){
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<form onsubmit="do_snapshot(); return false">
|
<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" />
|
{=L:filename=}: <input type="text" value="screenshot" id="filename" size="10" />
|
||||||
OSD: <input id="checkOSD" name="checkOSD" type="checkbox" {=if-empty:{=osd=}~~checked="checked"=} />
|
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"=} />
|
TV: <input id="checkVideo" name="checkVideo" type="checkbox" {=if-empty:{=video=}~~checked="checked"=} />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></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>
|
||||||
<div id="status" style="display: none">
|
<div id="status" style="display: none">
|
||||||
<img src="/images/wait.gif" alt="{=L:bc.screenshot.wait_text=}"/>
|
<img src="/images/wait.gif" alt="{=L:bc.screenshot.wait_text=}"/>
|
||||||
@@ -144,10 +147,10 @@ function do_reload(){
|
|||||||
<script>
|
<script>
|
||||||
document.getElementById('checkReload').onclick = function() {
|
document.getElementById('checkReload').onclick = function() {
|
||||||
if (this.checked ) {
|
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;
|
document.getElementById("inputReload").disabled = false;
|
||||||
} else {
|
} else {
|
||||||
clearInterval(intervall);
|
clearInterval(interval);
|
||||||
document.getElementById("inputReload").disabled = true;
|
document.getElementById("inputReload").disabled = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user