]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
test
authorMichael Wiebusch <stratomaster@gmx.net>
Thu, 1 Aug 2013 14:40:33 +0000 (16:40 +0200)
committerMichael Wiebusch <stratomaster@gmx.net>
Thu, 1 Aug 2013 14:40:33 +0000 (16:40 +0200)
layout/testgui.css
tools/testgui.pl

index 79f132ac18066a44158fd208076e9a0cc27d8db1..edb76ae5d5aeace271fc89a60ccaffa6009f148c 100644 (file)
   
 }
 
+.previewArea {
+  
+  width:576px;
+  height:288px;
+  
+}
+
 
 
 #debug {
index 42529fe964c18ca74fc93bd072dd71121651c5cf..073f94117e06faca3aeb81b83ad871c08c71b09e 100755 (executable)
@@ -238,17 +238,17 @@ sub print_sensorArea {
   print "<td colspan=2 align='center' class='td_solid'>$sensorName</td>";
   print "</tr>";
   print "<tr>";
-  my $previewFieldId = "preview".$sensorName;
-  print "<td id='".$previewFieldId."' >blah</td>";
-  $quickEditAreaId = "quickEdit".$sensorConfig;
-  print "<td id='".$quickEditAreaId."'>";
+  my $previewAreaId = "preview_".$sensorName;
+  print "<td id='".$previewAreaId."' class='previewArea' >blah</td>";
+  $quickEditAreaId = "quickEdit_".$sensorName;
+  print "<td id='".$quickEditAreaId."' class='quickEditArea'>";
   print_quickEditArea($sensorConfig);
   print "</td>";
   print "</tr>";
   print "<tr>";
   print "<td colspan=2 align='right'>";
   my $command = "./prevImg.pl";
-  print q%<input type='button' onClick='getdata("%.$command.q%","%.$previewFieldId.q%","true")' value='run'>%;
+  print q%<input type='button' onClick='getdata("%.$command.q%","%.$previewAreaId.q%","true")' value='run'>%;
   print "</td>";
   print "</tr>";
   print "<table>";