-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpullrequests.html
50 lines (50 loc) · 1.7 KB
/
pullrequests.html
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
<!doctype html>
<html>
<head>
<title>Pull Requests</title>
<link rel="stylesheet" href="css/col.css" media="all">
<link rel="stylesheet" href="css/8cols.css" media="all">
<link rel="stylesheet" href="css/pr.css" media="all">
</head>
<body>
<div class="col span_8_of_8 main" id="mainTitle">Pull Requests</div>
<div id="out"></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="js/moment.min.js"></script>
<script src="js/tim.js"></script>
<script src="js/utils.js"></script>
<script src="js/pulls.js"></script>
<script type="text/tim" data-tim="pullrequest">
<div class="section group row{{isClosed}} pr-closed{{/isClosed}}{{isUntrusted}} untrusted{{/isUntrusted}}" data-pr="{{pr.number}}">
<div class="col span_1_of_8 block img-container">
<img src="{{pr.avatar}}">
<br>{{pr.user}}
</div>
<div class="col span_7_of_8 nowrap block">
<div class="section group">
<div class="col {{titleSpan}} title">
{{isPending}}<div class="progress" id="prog_{{pr.number}}"></div>{{/isPending}}
<a href="{{pr.url}}">{{pr.title}}</a>
</div>
{{isAssigned}}
<div class="col span_2_of_8 assignee"><img src="{{pr.assignee.avatar_url}}">{{pr.assignee.login}}</div>
{{/isAssigned}}
<div class="col span_1_of_8 when">{{fromNow}}</div>
</div>
{{hasBody}}
<div class="section group">
<div class="col span_8_of_8 body">{{pr.body}}</div>
</div>
{{/hasBody}}
<div class="section group">
<div class="col span_3_of_8 to">{{pr.repo}} {{pullTo}}</div>
<div class="col span_5_of_8"><<-- {{pullFrom}}</div>
</div>
</div>
</div>
</script>
<script>
showPulls();
</script>
</body>
</html>