Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef0775f

Browse filesBrowse files
author
anonx
committed
Restore deleted file
1 parent 8ae069d commit ef0775f
Copy full SHA for ef0775f

File tree

Expand file treeCollapse file tree

1 file changed

+47
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+47
-0
lines changed
+47Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Revel Test Runner</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6+
7+
<style>
8+
body {
9+
margin: 0;
10+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
11+
font-size: 14px;
12+
line-height: 20px;
13+
color: #333333;
14+
background-color: #ffffff;
15+
}
16+
header { padding:20px 0; }
17+
header.passed { background-color: #90EE90 !important; }
18+
header.failed { background-color: #FFB6C1 !important; }
19+
table { margin-top: 20px; padding: 8px; line-height: 20px; }
20+
td { vertical-align: top; padding-right:20px; }
21+
a { color: #0088cc; }
22+
.container { margin-left: auto; margin-right: auto; width: 940px; }
23+
.result.failed b { font-weight:bold; color: #C00; font-size: 14px; }
24+
.result.failed span { color: #C00; font-size: 14px; }
25+
</style>
26+
27+
</head>
28+
<body>
29+
<header class="{{if .Passed}}passed{{else}}failed{{end}}">
30+
<div class="container">
31+
<h1>{{.Name}}</h1>
32+
<p>{{if .Passed}}PASSED{{else}}FAILED{{end}}</p>
33+
</div>
34+
</header>
35+
36+
<div class="container">
37+
<table>
38+
{{range .Results}}
39+
<tr class="result {{if .Passed}}passed{{else}}failed{{end}}">
40+
<td><span>{{.Name}}</span></td>
41+
<td>{{if .ErrorHtml}}{{.ErrorHtml}}{{else}}PASSED{{end}}</td>
42+
</tr>
43+
{{end}}
44+
</table>
45+
</div>
46+
</body>
47+
</html>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.