-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
200 lines (195 loc) · 6.92 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
194
195
196
197
198
199
200
<!DOCTYPE html>
<html>
<head>
<title>Treasure Chest</title>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.js"></script>
<script src="https://use.fontawesome.com/674c59718d.js"></script>
<script src="assets/js/config.js"></script>
<script src="assets/js/list.js"></script>
<script src="assets/js/popup.js"></script>
</head>
<body>
<div class="header"><h1><strong>Another Man's Treasure</strong></h1></div>
<div class="home" id="profile" style="visibility:hidden"><p><strong>Profile</strong></p></div>
<div class="listView" id="login"><p><strong id="login-label">Login</strong></p></div>
<div class="addEvent" id="addEvent"><p><strong>New Event</strong></p></div>
<div class="main">
<div class="input">
<!--search input field is a mess. Will fix soon-->
<div>
<div>
<div>Keyword Search</div>
<input id="searchTerm" style="width: 70%;" placeholder="enter single term">
</div>
<div style="width: 20%;"># of Results:<br>
<form method="post">
<select id="results-count" name="results-count">
<option value="5">5</option>
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="all">All</option>
</select>
</form>
</div>
<div style="width: 25%">Order By:
<form method="post">
<select id="results-order" name="results-order">
<option value="popularity">Popularity</option>
<option value="closest">Closest to User Location</option>
<option value="map-closest">Closest to Current Map Position</option>
<option value="date">Date</option>
<option value="name">Name</option>
</select>
</form>
</div>
<div style="width: 20%;">Filter Results
<form method="post">
<select id="results-filter" name="results-filter">
<option value="all">All</option>
<option value="upcoming">Upcoming</option>
<option value="in-progress">In Progress</option>
<option value="past">Past Events</option>
</select>
</form>
</div>
<div>
<button id="search">Search</button>
</div>
</div>
</div>
<div id="list">
<div>Press "Search" to get Listing Results</div>
</div>
<br>
© 2017 <strong>sailingGarages</strong><br>
<p>Travis Cornejo, Jeremy Lipsitz, Max Rashes, Tony Storti</p><br>
</div>
<!-- For Jeremy -->
<div id="map"></div>
<script src="assets/js/map.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD-11TTG_me9tMHrXJH7xHOrjLW0rsCMR4&callback=initMap">
</script>
</div>
<div id="profile-container" style="display:none;">
<div class='popupContainer'></div>
<div class="profile popup">
<div>
<button id="profile-close" class="cancel">x</button>
</div>
<div class="profileItem">
<i class="fa fa-user-o" aria-hidden="true"></i> <span id="profile-username">User Name</span>
</div>
<div class="profileItem">
<i class="fa fa-info" aria-hidden="true"></i> <span id="profile-email">Email</span>
</div>
<div class="profileItem">
<i class="fa fa-info" aria-hidden="true"></i> <strong>About Me:</strong>
<div>
<button id="profile-update" data-state="update">Update Profile About Me</button>
</div>
<p id="profile-about"></p>
</div>
<div class="profileItem">
<i class="fa fa-asterisk" aria-hidden="true"></i> <span>My Events</span><br>
</div>
<div class="profileItem">
<strong>Hosted:</strong>
<div id="profile-hosted"></div>
</div>
<br>
<div class="profileItem">
<strong>Attendnig/Attended:</strong>
<div id="profile-attended"></div>
</div>
</div>
</div>
<!--For Max-->
<div id="event" style="display:none;">
<div class='popupContainer'></div>
<div class="popup">
<button id="cancel" class="cancel">x</button>
<p>Title (required)</p>
<input type="text" name="title" id="title">
<p>Description (required)</p>
<input type="text" name="description" id="description">
<p>Dates (start required)</p>
<p style="display:inline;">Start -</p>
<input style="display: inline;" type="date" name="date" id="date">
<p style="display:inline;">End -</p>
<input style="display:inline;" type="date" name="date" id="endDate">
<p>Start Time (required)</p>
<input type="time" name="start" id="start">
<p>End Time (required)</p>
<input type="time" name="end" id="end">
<p>Location (required)</p>
<input type="text" name="location" id="location">
<p>Keywords</p>
<input type="text" name="keyword" id="keyword">
<p>Image</p>
<input type="file" name="file" id="fileInput">
<div id="validate"></div>
<button id="submit">create event</button>
</div>
</div>
<div id="login-popup" style="display:none;">
<div class='popupContainer'></div>
<div class="popup login">
<button id="cancel2" class="cancel">x</button>
Login with your email and password
<div>
<input placeholder="email address" id="username">
</div>
<div>
<input placeholder="password" id="password">
</div>
<button id="login-user-submit">Login</button>
<button id="cancel-user-submit">Cancel</button>
<button id="password-reset">Forgot Password</button>
<button id="add-user-submit">Add New User</button>
<div id="error-login"></div>
</div>
</div>
<div id="newUser-popup" style="display:none;">
<div class='popupContainer'></div>
<div class="popup newUser">
<button id="cancel3" class="cancel">x</button>
Create new account with your email and password
<div>
<input placeholder="username" id="newUsername">
</div>
<div>
<input placeholder="password" id="newPassword">
</div>
<div>
<input placeholder="confirm password" id="confirmNewPassword">
</div>
<button id="cancel-user-submit">Cancel</button>
<button id="create-user-submit">Add New User</button>
<div id="error-submit"></div>
</div>
</div>
<div id="comments-popup" style="display:none;">
<div class='popupContainer'></div>
<div class="popup comments">
<div>
<div>Comments Thread for event:</div>
<div id="comments-name"></div>
<br>
</div>
<div id="comments"></div>
<div>
<input placeholder="Add Comment" id="comments-new">
</div>
<button id="comments-submit">Submit</button>
<button id="comments-close">Close</button>
</div>
</div>
</body>
</html>