-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
173 lines (171 loc) · 9.11 KB
/
home.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
<div class="row">
<div class="main">
<div class="col-md-8 main-output">
<div class="map">
<div id="map"></div>
</div>
<div>
<div id="list">
<div class="row listImg" ng-repeat="fest in festArr track by $index">
<div class="col-md-8" ng-class="{highlight: fest.highlight}">
<h4>{{fest.name}}
<small>{{fest.venue.name}}</small></h4>
<h5>Dates: {{fest.dates.start.localDate}} {{fest.dates.start.localTime}}</h5>
<h5>{{fest.desc}}</h5>
<h5>Price: {{fest.prices[0].min}} - {{fest.prices[0].max}} {{fest.prices[0].currency}}   <a href="{{fest.link}}">Buy tickets</a></h5>
</div>
<div class="col-md-3">
<img class="img-responsive" src="{{fest.images[0].url}}">
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3 offset-md-1 main-input">
<div class="search-panel">
<div class="form-group col-md-8 col-md-offset-2">
<button class="form-control btn btn-default" type="submit" ng-click="search()">Find My Festival!</button>
</div>
<div class="col-md-12 search-by-date search-box">
<form>
<h5>Search by Date</h5>
<div class="form-group">
<label for="date-from">From</label><input type="date" class="form-control col-md-10" id="date-from" ng-model="startDate">
</div>
<div class="form-group">
<label for="date-to">To</label><input type="date" class="form-control col-md-10" id="date-to" ng-model="endDate">
</div>
<div class="checkbox">
<label><input type="checkbox"> Weekends Only</label>
</div>
</form>
</div>
<div class="col-md-12 search-by-location search-box">
<form class="form">
<h5>Search by Location</h5>
<div class="form-group">
<input type="checkbox" name="locOptions" value="locOp0" ng-model="stateSelected">
<label for="loc-state"> State</label>
<select class="form-control" ng-model="locState" ng-show="stateSelected" ng-change="getState()">
<option class="stateOption" value=""></option>
<option class="stateOption" value="AL">Alabama</option>
<option class="stateOption" value="AK">Alaska</option>
<option class="stateOption" value="AZ">Arizona</option>
<option class="stateOption" value="AR">Arkansas</option>
<option class="stateOption" value="CA">California</option>
<option class="stateOption" value="CO">Colorado</option>
<option class="stateOption" value="CT">Conneticut</option>
<option class="stateOption" value="DE">Delaware</option>
<option class="stateOption" value="FL">Florida</option>
<option class="stateOption" value="GA">Georgia</option>
<option class="stateOption" value="HI">Hawaii</option>
<option class="stateOption" value="ID">Idaho</option>
<option class="stateOption" value="IL">Illinois</option>
<option class="stateOption" value="IN">Indiana</option>
<option class="stateOption" value="IA">Iowa</option>
<option class="stateOption" value="KS">Kansas</option>
<option class="stateOption" value="KY">Kentucky</option>
<option class="stateOption" value="LA">Louisiana</option>
<option class="stateOption" value="ME">Maine</option>
<option class="stateOption" value="MD">Maryland</option>
<option class="stateOption" value="MA">Massachusetts</option>
<option class="stateOption" value="MI">Michigan</option>
<option class="stateOption" value="MN">Minnesota</option>
<option class="stateOption" value="MS">Mississippi</option>
<option class="stateOption" value="MO">Missouri</option>
<option class="stateOption" value="MT">Montana</option>
<option class="stateOption" value="NE">Nebraska</option>
<option class="stateOption" value="NV">Nevada</option>
<option class="stateOption" value="NH">New Hampshire</option>
<option class="stateOption" value="NJ">New Jersey</option>
<option class="stateOption" value="NM">New Mexico</option>
<option class="stateOption" value="NY">New York</option>
<option class="stateOption" value="NC">North Carolina</option>
<option class="stateOption" value="ND">North Dakota</option>
<option class="stateOption" value="OH">Ohio</option>
<option class="stateOption" value="OK">Oklahoma</option>
<option class="stateOption" value="OR">Oregon</option>
<option class="stateOption" value="PA">Pennsylvania</option>
<option class="stateOption" value="RI">Rhode Island</option>
<option class="stateOption" value="SC">South Carolina</option>
<option class="stateOption" value="SD">South Dakota</option>
<option class="stateOption" value="TN">Tennessee</option>
<option class="stateOption" value="TX">Texas</option>
<option class="stateOption" value="UT">Utah</option>
<option class="stateOption" value="VT">Vermont</option>
<option class="stateOption" value="VA">Virginia</option>
<option class="stateOption" value="WA">Washington</option>
<option class="stateOption" value="WV">West Virginia</option>
<option class="stateOption" value="WI">Wisconsin</option>
<option class="stateOption" value="WY">Wyoming</option>
</select>
</div>
<div class="form-group">
<input type="checkbox" name="locOptions" value="locOp1" ng-model="citySelected">
<label for="loc-city"> City</label><input type="text" class="form-control col-md-10" id="loc-city" placeholder="" ng-show="citySelected" ng-model="locCity">
</div>
<div class="form-group">
<input type="checkbox" name="locOptions" value="locOp2" ng-model="zipSelected">
<label for="loc-zip"> Zip Code</label>
<input type="text" class="form-control col-md-10" id="loc-zip" ng-show="zipSelected" ng-model="locZip">
</div>
<div class="form-group">
<input type="checkbox" name="locOptions" value="locOp3" ng-model="selected" ng-change="getCurrentLocation()">
<label for="loc-zip"> Current Location</label><input type="text" class="form-control col-md-10" id="loc-current" placeholder="{{currentLocation}}" ng-show="selected" ng-model="locCurrent">
</div>
<div class="form-group">
<label for="radius">Radius</label>
<div class="input-group">
<input type="number" min="50" max="3000" step="50" class="form-control col-md-10" id="radius" ng-model="radius"> <span class="input-group-addon">miles</span>
</div>
</div>
</form>
</div>
<div class="col-md-12 search-by-genres search-box">
<h5>Search by Genre</h5>
<select multiple class="form-control" ng-model="genre">
<option class="genreOption" value="all">All</option>
<option class="genreOption" value="alternative">Alternative</option>
<option class="genreOption" value="blues">Blues</option>
<option class="genreOption" value="classical">Classical</option>
<option class="genreOption" value="country">Country</option>
<option class="genreOption" value="dance-electronic">Dance/Electronic</option>
<option class="genreOption" value="folk">Folk</option>
<option class="genreOption" value="hiphop-rap">Hip-Hop/Rap</option>
<option class="genreOption" value="holiday">Holiday</option>
<option class="genreOption" value="jazz">Jazz</option>
<option class="genreOption" value="metal">Metal</option>
<option class="genreOption" value="newage">New Age</option>
<option class="genreOption" value="pop">Pop</option>
<option class="genreOption" value="rnb">R&B</option>
<option class="genreOption" value="reggae">Reggae</option>
<option class="genreOption" value="rock">Rock</option>
<option class="genreOption" value="world">World</option>
<option class="genreOption" value="other">Other</option>
</select>
</div>
<div class="col-md-12 search-by-artist search-box">
<form>
<div class="form-group">
<h5>Search by Artist</h5>
<div class="input-group">
<input type="text" class="form-control" placeholder="artist name" ng-model="artist">
<div class="input-group-addon" ng-click="addArtist()"><span>Add</span></div>
</div>
<span ng-repeat="artist in artistAdded">{{artist}}</span>
</div>
</form>
</div>
<div class="col-md-12 search-by-festival search-box">
<form>
<div class="form-group">
<h5>Search by Festival</h5>
<div class="input-group">
<input type="text" class="form-control" placeholder="festival name" ng-model="festival">
<div class="input-group-addon" ng-click="addFestival()"><span>Add</span></div>
</div>
<span ng-repeat="festival in festivalAdded">{{festival}}</span>
</div>
</form>
</div>
</div>