forked from xando/commitcoffee
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
157 lines (133 loc) · 5.34 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html ng-app="CommitCoffee" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>CommitCoffee</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
<link href="lib/bootstrap-3.0.2/css/bootstrap.min.css" rel="stylesheet">
<link href="lib/font-awesome-4.0.3/css/font-awesome.min.css" rel="stylesheet">
<style>
.ng-cloak {display: none !important;}
</style>
<link rel="stylesheet/less" type="text/css" href="main.less" />
</head>
<body ng-controller="Controller" class="ng-cloak">
<a target="_blank" href="https://github.com/xando/commitcoffee">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub">
</a>
<div class="logo">
<div class="sign">
Commit@Coffee
</div>
</div>
<div class="container search">
<div class="row">
<div class="col-lg-12">
<p>
Enter the location and search for a
geek friendly coffee place near you with good
<span class="brown">WiFi</span> and <span class="brown">Coffee</span>
</p>
<form class="form-inline" role="form">
<div class="input-group">
<input type="text" ng-disabled="disabled" ng-model="location"
class="input-lg form-control" placeholder="Location">
<span class="input-group-btn">
<button ng-disabled="disabled" type="submit" ng-click="search()"
class="input-lg btn btn-primary">
<i ng-show="disabled" class="fa fa-spinner fa-spin"></i>
<span ng-hide="disabled">Search</span>
</button>
</span>
</div>
</form>
</div>
</div>
</div>
<div class="map">
<div ng-model="locationDetails" ng-show="showDetails" class="detail">
<div class="container message" click-anywhere-but-here="clickedSomewhereElse($event)">
<div class="row">
<div class="col-md-6">
<h2 ng-show="locationDetails.link.homepage">
<a ng-show="locationDetails.link.homepage"
ng-href="{{ locationDetails.link.homepage }}" target="_blank">
{{ locationDetails.name }}
</a>
</h2>
<h2 ng-hide="locationDetails.link.homepage">{{ locationDetails.name }}</h2>
<h4><b>{{ locationDetails.city }}</b>, {{ locationDetails.address }}</h4>
</div>
<div class="col-md-6">
<div class="links">
<a ng-show="locationDetails.link.homepage"
ng-href="{{ locationDetails.link.homepage }}"
target="_blank"><i class="fa fa-home fa-4"></i></a>
<a ng-show="locationDetails.link.facebook"
ng-href="{{ locationDetails.link.facebook }}"
target="_blank"><i class="fa fa-facebook-square fa-4"></i></a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<dl>
<div ng-repeat="(name, value) in locationDetails.description">
<dt>{{ name }}</dt><dd>{{ value }}</dd>
</div>
</dl>
</div>
<div class="col-md-6">
<img ng-src="http://maps.googleapis.com/maps/api/staticmap?center={{ locationDetails.coordinates[0] }},{{ locationDetails.coordinates[1] }}&markers={{ locationDetails.coordinates[0] }},{{ locationDetails.coordinates[1] }}&zoom=16&size=398x250&sensor=false">
</div>
</div>
</div>
</div>
<div id="map-canvas"> </div>
</div>
<div class="contribute">
<p>
Is there a good coffee place missing? Would like to see it here?
Please make a fork of the
<a target="_blank" href="https://github.com/xando/commitcoffee">repository</a>.
</p>
<p>Append your place to the
<a target="_blank" href="https://github.com/xando/commitcoffee/blob/gh-pages/places.js">
places.js</a> file.
</p>
<p><code>
$ git commit -m "New awesome coffee place"
</code></p>
<p>Send the pull request. We are done here!</p>
</div>
<footer>
<span>
<i class="fa fa-envelope tblue"></i>
<a href="mailto:commitcoffee@gmail.com">commitcoffee@gmail.com</a> |
<i class="fa fa-github tblue"></i>
<a href="https://github.com/xando/commitcoffee" target="_blank">github.com/xando/commitcoffee</a>
</span>
</footer>
<script src="lib/less-1.5.0.min.js" type="text/javascript"></script>
<script src="//maps.googleapis.com/maps/api/js?key=AIzaSyDsYuxYyWbsn0UI5wTzluO13c8hHWFvQWI&sensor=true"></script>
<script src="lib/lodash.min.js"></script>
<script src="lib/jquery.js"></script>
<script src="lib/angular.min.js"></script>
<script src="lib/bootstrap-3.0.2/js/bootstrap.min.js"></script>
<script src="lib/html5shiv.js"></script>
<script src="places.js"></script>
<script src="main.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-11337039-16', 'commitcoffee.com');
ga('send', 'pageview');
</script>
</body>
</html>