This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhtml.tpl
101 lines (89 loc) · 1.55 KB
/
html.tpl
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<html>
<head>
<title>{{title}}</title>
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro|Source+Code+Pro' rel='stylesheet' type='text/css'>
<style type="text/css">
body{
background: #1f1f1f;
color: #bbb;
font-family: "Source Sans Pro";
font-size: 14px;
margin-top: 20px;
}
h1{
margin-left: 150px;
}
.version{
display: block;
width: 100%;
margin-bottom: 20px;
}
.version:after {
content: ".";
clear: both;
display: block;
visibility: hidden;
height: 0px;
}
.version ul{
list-style: none;
margin: 0;
padding: 0;
border: 1px solid #3c3c3c;
border-radius: 5px;
float: left;
width: 600px;
}
.version h2{
float: left;
width: 150px;
margin-top: 0;
}
.version h2 small{
font-size: 14px;
}
.version ul li{
padding: 5px 5px 9px 5px;
background: #2c2c2c;
border-bottom: 1px solid #3c3c3c;
}
span.badge{
color: #fff;
border-radius: 3px;
padding: 3px 5px;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
margin-right: 10px;
font-family: "Source Code Pro"
}
span.badge.fix{
background: #F9AA03
}
span.badge.chg{
background: #999
}
span.badge.new{
background: #50B300
}
span.badge.ext{
background: #3FAFD1
}
</style>
</head>
<body>
<h1>{{title}}</h1>
{{#versions}}
<div class="version">
<h2>{{label}}</h2>
<ul>
{{#sections}}
{{#commits}}
<li><span class="badge {{label}}">{{label}}</span>{{subject}}</li>
{{/commits}}
{{/sections}}
</ul>
</div>
{{/versions}}
</body>
</html>