-
Notifications
You must be signed in to change notification settings - Fork 31
/
index.html
70 lines (64 loc) · 2.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Vellum Test</title>
<link href="tests/lib/font-awesome.css" type="text/css" rel="stylesheet" />
<link href="tests/lib/font-commcare.css" type="text/css" rel="stylesheet" />
<link href="tests/lib/hqstyle-core.css" type="text/css" rel="stylesheet"></link>
<link href="node_modules/codemirror/lib/codemirror.css" type="text/css" rel="stylesheet" />
<!-- Mocha and test-only dependencies -->
<link href="node_modules/mocha/mocha.css" type="text/css" rel="stylesheet"></link>
<script src="node_modules/mocha/mocha.js"></script>
<script src="tests/typoglycemia.js"></script>
<script data-main="tests/main" src="node_modules/requirejs/require.js"></script>
<script src="node_modules/xrayquire/xrayquire.js"></script>
<script>
mocha.setup({
ui: 'bdd',
timeout: '10000',
});
</script>
<style>
.container-fluid {
/* Prevent scrollbars */
overflow: hidden;
}
.sidebar > * {
width: 100%;
margin-top: 1em;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-2 sidebar">
<ul class="nav nav-pills nav-stacked">
<li class="active"><a data-toggle='tab' href='#test'>Vellum</a></li>
<li><a data-toggle='tab' id='resultsTab' href='#results'>Test Results</a></li>
</ul>
<button class="btn btn-default btn-sm" id="run-tests">
Run tests
</button>
<button class="btn btn-default btn-sm" id="load-saved">
Reload saved form
</button>
<div>
<input type="file" id="file" />
</div>
</div>
<div class="col-sm-10">
<div class="tab-content">
<div class="tab-pane active" id="test">
<div id='vellum'></div>
</div>
<div class="tab-pane" id="results">
<div id="mocha"></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>