From 99ab1438120e7c1ae69159b481cbe008f883f57d Mon Sep 17 00:00:00 2001 From: Michael Wiebusch Date: Wed, 31 Jul 2013 15:11:20 +0200 Subject: [PATCH] test --- tools/testgui.pl | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tools/testgui.pl b/tools/testgui.pl index e03894f..7205fe4 100755 --- a/tools/testgui.pl +++ b/tools/testgui.pl @@ -51,7 +51,7 @@ unless($q->param()) { -title=>'testgui_debug', -style=>{'src'=>'../layout/styles.css'}, -script=>{ -type => 'text/javascript', - -src => './testgui.js'}, + -src => './testgui.js'} ); #process the arguments report_param(); @@ -95,8 +95,10 @@ print header; print start_html( -title=>'testgui', -style=>[{'src'=>'../layout/styles.css'}, -{'src'=>'../layout/jtageditor.css'} -] +{'src'=>'../layout/testgui.css'} +], +-script=>{ -type => 'text/javascript', +-src => './testgui.js'} ); print h2("testgui"); @@ -217,13 +219,20 @@ sub print_sensorArea { print "
"; print ""; print ""; - print ""; + print ""; print ""; print ""; - print ""; print ""; + print ""; + print ""; + print ""; print "
$sensorName$sensorName
blah"; + my $previewFieldId = "preview".$sensorName; + print "blah"; print_quickEditArea($sensorConfig); print "
"; + my $command = "./preview/prevImg.pl"; + print q%%; + print "
"; print ""; -- 2.43.0