-
Notifications
You must be signed in to change notification settings - Fork 44
/
default.tl
62 lines (57 loc) · 1.93 KB
/
default.tl
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
<!DOCTYPE html>
<html>
<head>
<title>Venus Test Harness </title>
<!--[if lte IE 7]>
<script type="text/javascript" src="/js/json2.js"></script>
<![endif]-->
<script type="text/javascript" src="/js/jquery/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="/js/underscore/underscore-min.js"></script>
<script type="text/javascript" src="/js/socketio/socket.io.min.js"></script>
<script type="text/javascript" src="/js/runner_client/VenusClientLibrary.js"></script>
<script type="text/javascript" src="/js/runner_client/VenusUi.js"></script>
<script type="text/javascript" src="/js/runner_client/venus.js"></script>
<script type="text/javascript">
window.venus.postUrl = '{postTestResultsUrl}';
window.venus.fixtureReset = Boolean({fixtureReset});
window.venus.testId = {testId};
</script>
<link rel="stylesheet" type="text/css" href="/css/app.css">
<link rel="icon" type="image/png" href="/img/favicon.ico">
</head>
<body>
<nav>
<ul>
<li class="selected"><a href="#" id="results-button">Test Results</a></li>
<li><a href="#" id="sandbox-button">Fixtures</a></li>
</ul>
</nav>
<section id="content">
<section id="results-view">
</section>
<section id="sandbox-view">
<iframe src="{testSandboxUrl}" id="sandbox"></iframe>
<!--Running test: {testId}-->
</section>
</section>
<script type="text/html" id="results-template">
<h1><%= test.name %></h1>
<ul class="test-list">
<% if (test.status === 'PASSED') { %>
<li class="pass">
<ul>
<li class="summary">✓ <%= test.message %></li>
</ul>
</li>
<% } else { %>
<li class="fail">
<ul>
<li class="summary">X <%= test.message %></li>
<li class="details"><pre><%= test.stackTrace %></pre></li>
</ul>
</li>
<% } %>
</ul>
</script>
</body>
</html>