diff --git a/application.css b/application.css index 6094e13..4922293 100644 --- a/application.css +++ b/application.css @@ -29,3 +29,10 @@ tr.gold { background-color: #fff600; } tr.silver { background-color: silver; } tr.bronze { background-color: #fcba0a; } tr.garbage { background-color: #999966; } + +/* classes for the version info pane */ +/* version info pane is the right hand pane at the top of the version page */ +div.version_info_pane p { margin:0px; } +div.info_container { margin:6px; border: 1px solid; } +div.info_contents { padding:10px; background-color: #eee; } +div.title_class { font-weight: bold; border-bottom: 1px solid; padding: 4px; font-size: 140%; background-color: #ddd; } diff --git a/include/application.php b/include/application.php index 54269d5..c174642 100644 --- a/include/application.php +++ b/include/application.php @@ -716,9 +716,15 @@ class Application { // description echo "
| Description\n"; - echo $this->sDescription; - echo " |
What works
',"\n";
- echo $this->shWhatWorks;
- echo '
What does not
',"\n";
- echo $this->shWhatDoesnt;
- echo '
What was not tested
',"\n";
- echo $this->shWhatNotTested;
- echo '
Additional Comments
',"\n";
- echo $this->sComments;
+ echo $this->shWhatWorks,"\n";
+ echo '
What does not
',"\n";
+ echo $this->shWhatDoesnt,"\n";
+ echo '
What was not tested
',"\n";
+ echo $this->shWhatNotTested,"\n";
+ echo '
Additional Comments
',"\n";
+ echo $this->sComments,"\n";
}
// Show the Test results for a application version
@@ -459,7 +459,9 @@ class testData{
if($rowsUsed == 0)
return;
- echo '
Test Results
',"\n";
+ echo '
| Current | ',"\n"; + echo 'Current | ',"\n"; } else /* make all non-current rows clickable so clicking on them selects the test as current */ { html_tr_highlight_clickable($link.$oTest->iTestingId, $bgcolor, "", "color2", "underline"); - echo '[[Show] | ',"\n"; @@ -519,16 +521,21 @@ class testData{ echo '
| Description \n"; - echo $this->sDescription; + // start of the right hand pane in the version display + echo " | \n";
+ echo " \n";
+
+ /////////////////////////
+ // output the description
+ echo " \n";
+
+ // output the description title
+ echo "\t \n"; // end the 'info_container' div
+ // end description
+ /////////////////////////
+ //////////////////////
// Show test data
+ echo "\n";
+ echo "\t\tDescription\n";
+ echo "\t \n";
+
+ // output the description
+ echo "\t\n";
+ echo "\t\t".$this->sDescription."\n";
+ echo "\t \n";
+
+ echo "\n";
+ echo "\t \n"; // end the 'info_container' div
+ // end show test data
+ /////////////////////
+
+
+ //////////////////////////////
+ // show the test results table
if($oTest->iTestingId)
{
$oTest->ShowVersionsTestingTable($_SERVER['PHP_SELF']."?iVersionId=".$this->iVersionId."&iTestingId=",
@@ -886,20 +919,23 @@ class Version {
{
echo '';
+ '&sTitle=Add+Test+Data>'."\n";
+ echo "\t".''."\n";
+ echo ''."\n";
} else
{
- echo '';
+ echo ''."\n";
}
- echo "\n";
+ echo "\t\tSelected test results (selected in 'Test Results' table below)\n";
+ echo "\t \n";
$oTest = new testData($iTestingId);
/* if $iTestingId wasn't valid then it won't be valid in $oTest */
@@ -876,7 +899,17 @@ class Version {
$oTest = new testData($iTestingId);
}
+ echo "\n";
$oTest->ShowTestResult();
+ echo " \n";
+
+ echo " |