-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
66 lines (60 loc) · 2.47 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
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html ng-app="GitUp">
<head lang="en">
<meta charset="UTF-8">
<title>GitUp App</title>
<link type="text/css" rel="stylesheet" href="libs/angular-material/angular-material.css">
<link type="text/css" rel="stylesheet" href="assets/css/stylesheet.css">
</head>
<body ng-controller="SearchController as SearchCtrl">
<div layout="column" layout-fill>
<section layout="row" flex>
<md-sidenav class="md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="$mdMedia">
<md-toolbar>
<h1 class="title">Git Up</h1>
</md-toolbar>
<md-content class="md-padding" ng-controller="SideBarController">
<md-divider></md-divider>
<md-button ng-click="authenticate()">Authenticate GitHub</md-button>
<md-divider></md-divider>
<md-button ng-click="signIn()">Sign in with GitHub</md-button>
<md-divider></md-divider>
<md-button ng-click="editProfile()">Edit profile</md-button>
<md-divider></md-divider>
<md-button ng-click="showAddDialog()">Create repository</md-button>
<md-divider></md-divider>
</md-content>
</md-sidenav>
<md-content flex>
<md-toolbar>
<div layout="row" layout-align="center end" class="md-toolbar-tools">
<img class="toolbar-img" src="./assets/img/search_white_48dp.png"/>
<md-input-container class="toolbar-input">
<input ng-model="SearchCtrl.query">
</md-input-container>
<md-button class="md-primary md-raised" ng-click="SearchCtrl.getUserData(SearchCtrl.query)">User</md-button>
<md-button class="md-primary md-raised" ng-click="SearchCtrl.getRepositories(SearchCtrl.query)">
Repositories</md-button>
</div>
</md-toolbar>
<section ng-view>
</section>
</md-content>
</section>
</div>
<script src="libs/angular/angular.js"></script>
<script src="libs/angular-animate/angular-animate.js"></script>
<script src="libs/angular-aria/angular-aria.js"></script>
<script src="libs/angular-material/angular-material.js"></script>
<script src="libs/angular-route/angular-route.js"></script>
<script src="libs/ngstorage/ngStorage.js"></script>
<script src="app/app.js"></script>
<script src="app/githubuser/git.consumer.module.js"></script>
<script src='app/githubuser/controllers/side.bar.controller.js'></script>
<script src="app/githubuser/controllers/user.data.controller.js"></script>
<script src="app/githubuser/controllers/user.profile.controller.js"></script>
<script src="app/githubuser/controllers/repositories.js"></script>
<script src="app/githubuser/controllers/error.page.controller.js"></script>
<script src="app/githubuser/services/git.consumer.service.js"></script>
</body>
</html>