-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
36 lines (31 loc) · 1.07 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
<!doctype html>
<html ng-app>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.7/angular.min.js"></script>
<script src="issues.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
</head>
<body ng-controller="IssuesController">
<h1>Issues for <a href="https://github.com/yourpalal/polling-thing/">yourpalal/polling-thing</a></h1>
<article ng-repeat="issue in issues">
<header>
<h2><a ng-href="{{issue.html_url}}">{{issue.title}}</a>
<span class="author">by <a ng-href="{{issue.user.html_url}}">
{{issue.user.login}}
<img height="30" width="30" ng-src="{{issue.user.avatar_url}}" />
</a></span>
</h2>
<div class="state">This ticket is {{issue.state}}</div>
<span> <ul ng-if="issue.labels" class="labels">
<li ng-repeat="label in issue.labels" ng-style="{color: '#' + label.color}">
{{label.name}}
</li>
</ul></span>
</header>
<section class="body">
{{issue.body}}
</section>
</article>
</body>
</html>