-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
88 lines (76 loc) · 2.61 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<html>
<head>
<title>GAPI with Angular.js</title>
<link rel="stylesheet" type="text/css" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<style type="text/css">
body,p,h2,li,button {
font-family: 'Open Sans', sans-serif;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body > .container {
padding: 0px 15px 0;
}
.container .text-muted {
margin: 20px 0;
}
.footer > .container {
padding-right: 15px;
padding-left: 15px;
}
code {
font-size: 80%;
}
</style>
<!-- Libs -->
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script src="https://apis.google.com/js/client.js?onload=handleClientLoad"></script>
<script type="text/javascript" src="oauthApp.js"></script>
</head>
<body>
<div class="container" ng-app="oauthApp" ng-controller="oauthCtrl">
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h2>Import Google Contacts Using Angular + Oauth</h2>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Import Contacts</h3>
</div>
<div class="panel-body" style="word-wrap:break-word">
<button style="display:block" ng-click="authentify()" class="btn btn-info"><i class="fa fa-google-plus-square fa-2"></i> Import from Google</button>
<p><span class="label label-success" style="margin:2px 2px 2px 2px;display:inline-block" ng-if="contacts.length > 0" ng-repeat="contact in contacts">{{contact.email}}</span></p>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p class="text-muted"><a href="http://github.com/shreejibawa">Jay Shah</a> | <a href="http://www.agileinfoways.com/">AGILE Infoways</a> | 2015</p>
</div>
</footer>
</body>
</html>