forked from PeppyPossums/PeppyPossums
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
193 lines (155 loc) · 6.2 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html ng-app="WGLR">
<head>
<title>WGLR</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-animate.js"></script>
<link rel="stylesheet" href="bootstrap-andrew-custom.css" >
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel='stylesheet' type='text/css' href='views/styles.css'>
<link rel="stylesheet" type="text/css" href="stylish-portfolio.css">
<script src="bower_components/lodash/lodash.min.js"></script>
<script src="bower_components/angular-simple-logger/dist/angular-simple-logger.min.js"></script>
<script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
<script src="bower_components/angular-google-maps/dist/angular-google-maps.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="ui-bootstrap-custom-build/ui-bootstrap-custom-tpls-0.14.3.js"></script>
<script src="client/register/register.js"></script>
<script src="client/app.js"></script>
</head>
<body ng-controller="appController" class="body">
<div ui-view>
<!-- navbar buttons -->
<div class="login" >
<div>
<!-- change data-ng-show to data-ng-hide if want to hide-->
<button type="button" class="button" data-ng-show="isLoggedIn" ui-sref="suggestions">
suggestions
</button>
<!-- <button type="button" class="btn btn-primary" data-ng-show="isLoggedIn" ui-sref="approve">
ADMIN
</button>
<button type="button" class="btn btn-primary" ui-sref="signup">
LOGIN
</button> -->
<!-- <button type="button" class="btn btn-primary" ng-click="logout()">
LOGOUT
</button> -->
</div>
</div>
<!-- jumbotron banner image -->
<div class="bg"> </div>
<div class="jumbotron" >
<!-- <p class="lead"> -->
<div class="col-lg-12 text-center search-recipe" >
<form>
<div id='div2'>
<input id='zipcode' type="text" class="input-lg text-center" placeholder="type in a city or zipcode" ng-model="zipCode">
<button id='get-to-rooftop' type="submit" class="button" ng-click="sendZipCode(zipCode); showDetails = true" > get me to a roof! </button>
</div>
</form>
</div>
</div>
<div class="row all-rated">
<!-- <h2>Lily</h2> -->
<div class="col-xs-12 col-sm-4 col-md-4">
<div class="grid" >
<figure class="effect-sadie">
<img class='rated-best' src="https://c2.staticflickr.com/6/5693/23090037892_13b666e6f3.jpg" alt="img02"/>
<figcaption>
<h2>W <span>Rooftop</span></h2>
<p>Rated best <br>rooftop pool in LA</p>
<a href="#">View more</a>
</figcaption>
</figure>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-4">
<div class="grid" >
<figure class="effect-sadie">
<img class='rated-best' src="http://www.shannonevents.com/blog/wp-content/uploads/2011/08/VIP-Main-Photo-1024x682.jpg" alt="img02"/>
<figcaption>
<h2>Rooftop <span>Wilshire</span></h2>
<p> Rated best<br> drinks in la</p>
<a href="#">View more</a>
</figcaption>
</figure>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-4">
<div class="grid">
<figure class="effect-sadie">
<img class='rated-best' src="http://downtownexaminer.com/news/wp-content/uploads/2013/03/standard.jpg" alt="img02"/>
<figcaption>
<h2> Standard <span>Hotel</span></h2>
<p>Rated Best View of Downtown Los Angeles<br> </p>
<a href="#">View more</a>
</figcaption>
</figure>
</div>
</div>
</div>
<!-- Google Maps -->
<div class="row">
<div ng-show="showDetails" class="mythumb" data-offset-top="530" class="col-lg-6 col-sm-6">
<div>
<ui-gmap-google-map center="map.center" zoom="map.zoom" draggable="true" option="options">
<ui-gmap-markers models="markerList" fit="true" coords="'self'" icon="'icon'" click="onClick">
<ui-gmap-windows show="show">
<div ng-non-bindable>
<p><a href={{url}} target="_blank">{{name}}</a></p>
<!--<img src={{ratings}} />-->
<p>{{reviewCount}} reviews</p>
</div>
</ui-gmap-windows>
</ui-gmap-markers>
</ui-gmap-google-map>
</div>
</div>
<!--Google Maps End -->
<div class="clearfix visible-xs-block"></div>
<uib-accordion close-others="true" class=" col-md-6 col-sm-6 col-xs-6" >
<uib-accordion-group ng-repeat="bar in list track by $index" class="text-center" ng-click="mapZoom($index)">
<uib-accordion-heading>
{{ bar.name }}
<img src='{{ bar.rating_img_url}}'>
</uib-accordion-heading>
<div class="row">
<div class="">
<img src="{{bar.image_url}}" >
</div >
<div class="">
<p class="addressFont ">{{bar.location.address[0]}} <br>
{{bar.location.city}},
{{bar.location.state_code}}
{{bar.location.postal_code}} <br>
{{bar.display_phone}}
</p>
<!-- <div ng-if='bar.showLink'> -->
<a ng-if='bar.showLink' class="btn btn-sm btn-warning" href="{{menu.venues[0].website_url}}" target="popup" onclick="window.open(menu.venues[0].website_url,'name','width=600,height=400')">Menu</a>
</div>
</div>
</uib-accordion-group>
</uib-accordion>
</div>
<div id="footer">
<div class="container">
<p class="muted credit text-center" >
-FYR Los Angeles 604 Arizona dr Santa Monica-
</p>
</div>
</div>
<script type="text/javascript">
var jumboHeight = $('.jumbotron').outerHeight();
function parallax(){
var scrolled = $(window).scrollTop();
$('.bg').css('height', (jumboHeight-scrolled) + 'px');
}
$(window).scroll(function(e){
parallax();
});
</script>
</div>
</body>
</html>