Location: A review of cardiac cellular electrophysiology models @ f954e5918331 / dojo-presentation / js / dojo / dijit / tests / _testMatrix.php

Author:
David Nickerson <david.nickerson@gmail.com>
Date:
2021-09-16 00:41:19+12:00
Desc:
Updating Noble 1962 model: * Exposing the membrane potential to the top-level model; * adding SED-ML for the paced and pacemaker variants of the model. Using OpenCOR Snapshot release 2021-09-14.
Permanent Source URI:
https://models.fieldml.org/workspace/a1/rawfile/f954e59183314cd37f86c8832dc81317d01c8ec5/dojo-presentation/js/dojo/dijit/tests/_testMatrix.php

<?php // IF you don't have PHP5 installed, you can't use this index! ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>Dojo Toolkit - Every Dijit Test + Theme</title>

	<style type="text/css">
		@import "../../dojo/resources/dojo.css";
		@import "css/dijitTests.css";
	</style>

</head>
<body>

	<h1 class="testTitle">Dijit Test Matrix Table</h1>
	
	<table id="testMatrix">
		<thead>
			<tr class="top"><th rowspan="2">Test</th><th colspan="4">Tundra</th><th colspan="4">Nihilo</th><th colspan="4">Soria</th></tr>
			<tr class="tests"><th>Normal</th><th>a11y</th><th>rtl</th><th>a11y + rtl<th>Normal</th><th>a11y</th><th>rtl</th><th>a11y + rtl<th>Normal</th><th>a11y</th><th>rtl</th><th>a11y + rtl</tr>
		</thead>
		<tbody><?php

			printLinks(".", "Base Dijit Tests");
			printLinks("./form", "Dijit Form Widget Tests");
			printLinks("./layout", "Dijit Layout Widget Tests");
			printLinks("./tree","Dijit Tree Tests");
			
		?>
		</tbody>
	</table>

</body>
</html>
<?php

function printLinks($path, $group){
	$handle = opendir($path);
	$i = 0;
	print "<tr class='spacer'><td colspan='13'>".$group."</td></tr>";
	while(false !== ($file = readdir($handle))){
		if(preg_match("/(test_|demo_)(.*)\.html/", $file, $matches)){
			$base = $matches[0];
			$link = $path."/".$matches[0];
			print 
			"<tr class='testRow ". (++$i % 2 ==0 ? "alt" : "")   ."'>" .

				"<td class='label'>" . $base . "</td>" .

			    // standard / tundra:
				"<td><a href='".$link."'>run</a></td>" .
				"<td><a href='".$link."?a11y=true'>run</a></td>" .
				"<td><a href='".$link."?dir=rtl'>run</a></td>" .
				"<td><a href='".$link."?dir=rtl&amp;a11y=true'>run</a></td>" .
				
				// nihilo
				"<td><a href='".$link."?theme=nihilo'>run</a></td>" .
				"<td><a href='".$link."?theme=nihilo&amp;a11y=true'>run</a></td>" .
				"<td><a href='".$link."?theme=nihilo&amp;dir=rtl'>run</a></td>" .
				"<td><a href='".$link."?theme=nihilo&amp;dir=rtl&amp;a11y=true'>run</a></td>" .

				// soria
				"<td><a href='".$link."?theme=soria'>run</a></td>" .
				"<td><a href='".$link."?theme=soria&amp;a11y=true'>run</a></td>" .
				"<td><a href='".$link."?theme=soria&amp;dir=rtl'>run</a></td>" .
				"<td><a href='".$link."?theme=soria&amp;dir=rtl&amp;a11y=true'>run</a></td>" .
									
			 "</tr>";
		}
	}
}


?>