-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
56 lines (54 loc) · 1.93 KB
/
index.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
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title>vim-jp - issues</title>
<meta charset="utf-8"/>
<link href='//fonts.googleapis.com/css?family=Prosto One' rel='stylesheet' type='text/css'/>
<link rel="stylesheet" type="text/css" href="styles.css"/>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</script>
</head>
<body>
<header id="global-header">
<h1><a href="/">vim-jp</a></h1>
<p class="description">issues on vim-jp</p>
</header>
<div id="content">
<section class="issues active-issues">
<h1>Active Issues</h1>
<script src="githubapi.js" data-api="repos/vim-jp/issues/issues?sort=updated;state=open;direction=desc">
<div class="issues">
<% for (var i = 0, it; (it = data[i]); i++) { %>
<div class="issue <%= it.state %>">
<span class="issue-number">#<%= it.number %></span>
<a href="<%= it.html_url %>" class="issue-title"><%= it.title %></a>
by
<span class="issue-author"><img src="<%= it.user.avatar_url %>" width="16" height="16"/><%= it.user.login %></span>
</div>
<% } %>
</div>
</script>
</section>
<section class="issues fixed-issues">
<h1>Fixed Issues</h1>
<script src="githubapi.js" data-api="repos/vim-jp/issues/issues?sort=updated;state=closed;direction=desc">
<div class="issues">
<% for (var i = 0, it; (it = data[i]); i++) { %>
<div class="issue <%= it.state %>">
<span class="issue-number">#<%= it.number %></span>
<a href="<%= it.html_url %>" class="issue-title"><%= it.title %></a>
by
<span class="issue-author"><img src="<%= it.user.avatar_url %>" width="16" height="16"/><%= it.user.login %></span>
</div>
<% } %>
</div>
</script>
</section>
</div>
<footer id="global-footer">
<p class="powered">This site is based on <a href="http://cho45.github.com/tasscss">cho45/tasscss</a></p>
</footer>
</body>
</html>