]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
added runtime textfield
authorMichael Wiebusch <stratomaster@gmx.net>
Mon, 5 Aug 2013 12:15:26 +0000 (14:15 +0200)
committerMichael Wiebusch <stratomaster@gmx.net>
Mon, 5 Aug 2013 12:15:26 +0000 (14:15 +0200)
tools/testgui.pl

index 569b86734661046e27900be3fbed654b9c9495e3..d1d1105dcbc95161de4d57d89414624fa5b274ba 100755 (executable)
@@ -150,7 +150,10 @@ print start_html(
 # print_quickEditArea("0.xml");
 # print "</div>";
 print_setupStructure();
-print q%<input type='button' onClick='run(0.2)' value='run'>%;
+
+print "<p>";
+print q%<input type='text' id='runtime' value='0.2'>%;
+print q%<input type='button' onClick='run(document.getElementById("runtime").value)' value='run'>%;
 
 
 
@@ -169,6 +172,8 @@ print "</script>";
 print "<input type='button' value='show/hide debug output' onclick='toggleVis(\"theConsole\")'>";
 print "<div id='theConsole'>[the \"console\"]</div>";
 
+print "</p>";
+
 print end_html;