File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Filter options
modules/testrunner/app/views/TestRunner Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments