-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (71 loc) · 2.95 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="css/style.css" rel="stylesheet">
<title>Concert Map</title>
</head>
<body>
<!-- GOOGLE MAP -->
<div class="map-canvas" data-bind="googlemap: { mapBounds: mapBounds() }"></div>
<!-- INFO WINDOW CONTENT -->
<div class="info-window-container" style="display: none;">
<info-window></info-window>
</div>
<menu-toggle params="
showMenu: showMenu
"></menu-toggle>
<!-- EVENT SEARCH -->
<input class="menu-interface event-search search-box" data-bind="hasFocus: searchBarFocus, textInput: searchInput, css: { open: showMenu() }" placeholder="search concerts">
<!-- ASK IF USER WANTS LAST.FM ARTIST INFO -->
<request-all-lastfm params="
searchBarFocus: searchBarFocus,
allArtistStatusUpdate: allArtistStatusUpdate
"></request-all-lastfm>
<!-- LOCATION SEARCH -->
<input class="location-search menu-interface search-box" data-bind="value: currentAddress, css: { open: showMenu() }">
<info-list-toggle params="
listEvents: listEvents,
listVenues: listVenues,
extraInfoBoolean: extraInfoBoolean,
showEventInfo: showEventInfo,
showVenueInfo: showVenueInfo,
showArtistInfo: showArtistInfo
"></info-list-toggle>
<div class="menu-interface list-container" data-bind="css: { open: showMenu() }">
<!-- TODO: no params? seems to be operating from $root/parent context.. -->
<status-messages></status-messages>
<!-- EVENT LIST -->
<concerts-list params="
mapCenter: mapCenter,
concerts: concerts,
concertsStatus: concertsStatus
"></concerts-list>
<!-- VENUE LIST -->
<venues-list params="
concerts: concerts,
concertVenues: concertVenues
"></venues-list>
</div>
<!-- EXTRA INFO DISPLAY -->
<div class="extra-info" data-bind="css: { open: showExtraInfo() }">
<a class="close-button clickable" data-bind="click: function() { closeExtraInfo(); }">✖</a>
<!-- EVENT INFO -->
<current-event params="
currentEvent: currentEvent
"></current-event>
<!-- VENUE INFO -->
<current-venue params="
currentVenue: currentVenue,
concertVenues: concertVenues
"></current-venue>
<!-- ARTIST INFO -->
<current-artist params="
currentArtist: currentArtist,
selectEvent: selectEvent
"></current-artist>
</div>
<script data-main="js/init" src="js/require.js"></script>
</body>
</html>