-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (36 loc) · 1.99 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="shippable">
<head>
<link rel="stylesheet" type="text/css" href="./app/libs/bootstrap/dist/css/bootstrap.min.css">
<!--library imports-->
<script src="./app/libs/jquery/dist/jquery.min.js"></script>
<script src="./app/libs/angular/angular.min.js"></script>
<script src="./app/libs/bootstrap/dist/js/bootstrap.min.js"></script>
<!--angular module imports-->
<script src="./app/controllers/mainCtrl.js"></script>
</head>
<body ng-controller="MainController">
<div class="container" style="padding-top: 10px">
<div class="jumbotron">
<form>
<div class="input-group">
<input type="url" class="form-control" required="required" placeholder="place the public repo URL to Search for details https://github.com/{organisation or user}/{repo name}" ng-model="url">
<div class="input-group-btn">
<button type="button" class="btn btn-success" ng-click="getRepoIssues()">submit</button>
</div>
</div>
</form>
</div>
</div>
<div class="container">
<div class="jumbotron">
<ul class="list-group">
<li class="list-group-item">Total number of open issues<span class="badge">{{totalIssues}}</span></li>
<li class="list-group-item">Number of open issues that were opened in the last 24 hours<span class="badge">{{issues_24h}}</span></li>
<li class="list-group-item">Number of open issues that were opened more than 24 hours ago but less than 7 days ago<span class="badge">{{issues_24h_7d}}</span></li>
<li class="list-group-item">Number of open issues that were opened more than 7 days ago<span class="badge">{{issues_7d}}</span></li>
</ul>
</div>
</div>
</body>
</html>