-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.hjs
72 lines (62 loc) · 1.6 KB
/
index.hjs
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
<!DOCTYPE html>
<html lang="en">
<script type="text/javascript">setTimeout(function(){location.reload()}, 60*1000)</script>
<head>
<meta charset="utf-8"/>
<title>PRV - {{settings.github.user}}/{{settings.github.repo}}</title>
<link rel='stylesheet' href='/stylesheets/style.css'/>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/">
Pull Request Viewer -
{{settings.github.user}}/{{settings.github.repo}}
</a>
<div class="pull-right profile">
<img src="{{profile._json.avatar_url}}"/>
{{profile.displayName}}
</div>
</div>
</div>
</div>
<div class="container">
<table class="table table-bordered">
<thead>
<tr>
<th>Number</th>
<th>Title</th>
<th>Submitter</th>
<th>Reviewers</th>
<th>Status</th>
<th>Comments</th>
<th>Last Update</th>
<th>Branch</th>
</tr>
</thead>
<tbody>
{{#pulls}}
<tr class="pullrequest {{class}}">
<td><a href="{{html_url}}">#{{number}}</a></td>
<td>{{title}}</td>
<td>
<img src="{{user.avatar_url}}"/> {{user.login}}
</td>
<td>
{{reviewers}}
</td>
<td><span class="label label-{{statusClass}}">{{status}}</span></td>
<td>{{num_comments}}</td>
<td class="nowrap">
{{last_update}}
{{#last_commenter}} <br/> by {{last_commenter}} {{/last_commenter}}
</td>
<td><code>{{head.ref}}</code></td>
</tr>
{{/pulls}}
</tbody>
</table>
</div>
</body>
</html>