summaryrefslogtreecommitdiff
path: root/js/test/Common/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Common/index.html')
-rw-r--r--js/test/Common/index.html24
1 files changed, 21 insertions, 3 deletions
diff --git a/js/test/Common/index.html b/js/test/Common/index.html
index fb26feb2447..8d0e21f4e47 100644
--- a/js/test/Common/index.html
+++ b/js/test/Common/index.html
@@ -8,9 +8,13 @@
<link rel="stylesheet" type="text/css" href="/assets/common.css"/>
<script src="/assets/common.min.js"></script>
- <script src="/lib/Ice.js"></script>
- <script src="/test/Common/Controller.js"></script>
- <script src="/test/Common/TestSuite.js"></script>
+ {{#scripts}}
+ <script src="{{.}}"></script>
+ {{/scripts}}
+ <script type="text/javascript">
+ var current = "{{current}}";
+ var TestCases = {{{TestCases}}};
+ </script>
</head>
<body>
<div id="header">
@@ -44,6 +48,9 @@
</div>
<div class="small-9 columns">
<select id="test">
+ {{#tests}}
+ <option value="/test/{{.}}/index.html">{{.}}</option>
+ {{/tests}}
</select>
</div>
</div>
@@ -53,6 +60,9 @@
</div>
<div class="small-9 columns">
<select id="language">
+ {{#languages}}
+ <option value="{{value}}">{{name}}</option>
+ {{/languages}}
</select>
</div>
</div>
@@ -69,6 +79,14 @@
</div>
<div class="row">
<div class="small-3 columns">
+ <label class="right inline" for="worker">Worker:</label>
+ </div>
+ <div class="small-9 columns">
+ <input id="worker" type="checkbox"/>
+ </div>
+ </div>
+ <div class="row">
+ <div class="small-3 columns">
<label class="right inline" for="loop">Loop:</label>
</div>
<div class="small-9 columns">