-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
166 lines (145 loc) · 5.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
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Home</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.6/handlebars.runtime.js" charset="utf-8" defer></script>
<link rel="stylesheet" href="style.css">
<script src="public/index.js" charset="utf-8" defer></script>
<!-- font stuff -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1 class="site-title">Group Project</h1>
</header>
<nav class="navbar">
<ul class="navlist">
<li class="navitem"><a href="/index.html">Home</a></li>
<li class="navitem"><a href="/gallery.html">Gallery</a></li>
<li class="navitem"><a href="/trip.html">Add a post</a></li>
</ul>
</nav>
<main>
<aside class="filter-container">
<h2>Filter</h2>
<div>
<button id="filter-update-button" class="action-button">Update</button>
</div>
<div class="filter-input-container">
<label for="filter-trip-name" class="filter-input-label">Trip Title</label>
<div class="filter-input-element">
<input type="text" name="filter-trip-name" id="filter-trip-name" class="filter-input">
</div>
</div>
<div class="filter-input-container">
<label for="filter-date" class="filter-input-label">Start Date</label>
<div class="filter-input-element">
<input type="date" id="filter-start" class="filter-input">
</div>
</div>
<div class="filter-input-container">
<label for="filter-date" class="filter-input-label">End Date</label>
<div class="filter-input-element">
<input type="date" id="filter-end" class="filter-input">
</div>
</div>
<div class="filter-input-container">
<label for="filter-country" class="filter-input-label">Country</label>
<div class="filter-input-element">
<input type="text" name="filter-country" id="filter-country" class="filter-input">
</div>
</div>
</aside>
<section id="trips">
<div class="trip" data-title="Somewhere">
<div class="trip-contents">
<div class="trip-remove-container">
<button type="button" id="0" class="trip-remove">X</button>
</div>
<div class="trip-image-container">
<img src="https://cnet4.cbsistatic.com/img/xTXdUEQEBqoDx74pbwCcpUc1XFQ=/fit-in/370x0/2017/01/18/c68ae3ac-6795-4d38-91e9-ec3e4fbffd6c/9401078c315052fc72a74b.jpg">
</div>
<div class="trip-info-container">
<div>
<button type="button" id="0" class="trip-title">Somewhere</button>
</div>
<div>
<span>Start Date: </span> <span class="trip-start-date">2020-9-19</span>
</div>
<div>
<span>End Date: </span> <span class="trip-end-date">2020-9-20</span>
</div>
<div class="trip-location">Portland, Oregon USA</div>
<p>This is a place</p>
</div>
</div>
</div>
<div class="trip" data-title="Someplace">
<div class="trip-contents">
<div class="trip-remove-container">
<button type="button" id="1" class="trip-remove">X</button>
</div>
<div class="trip-image-container">
<img src="https://cnet4.cbsistatic.com/img/xTXdUEQEBqoDx74pbwCcpUc1XFQ=/fit-in/370x0/2017/01/18/c68ae3ac-6795-4d38-91e9-ec3e4fbffd6c/9401078c315052fc72a74b.jpg">
</div>
<div class="trip-info-container">
<div>
<button type="button" id="1" class="trip-title">Someplace</button>
</div>
<div>
<span>Start Date: </span> <span class="trip-start-date">2020-11-1</span>
</div>
<div>
<span>End Date: </span> <span class="trip-end-date">2020-12-20</span>
</div>
<div class="trip-location">Corvallis, Oregon USA</div>
<p>kk</p>
</div>
</div>
</div>
<!--
<div class="trip" data-title="other">
<div class="trip-contents">
<div class="trip-remove-container">
<button type="button" id="2" class="trip-remove">X</button>
</div>
<div class="trip-image-container">
<img src="">
</div>
<div class="trip-info-container">
<button type="button" id="2" class="trip-title">other</button>
<div class="trip-date">July 23, 2020 - September 3, 2020</div>
<div class="trip-location">Salem, Oregon USA</div>
<p>no</p>
</div>
</div>
</div>
<div class="trip" data-title="another">
<div class="trip-contents">
<div class="trip-remove-container">
<button type="button" id="3" class="trip-remove">X</button>
</div>
<div class="trip-image-container">
<img src="">
</div>
<div class="trip-info-container">
<button type="button" id="3" class="trip-title">other</button>
<div class="trip-date">July 2, 2020 - July 3, 2020</div>
<div class="trip-location">Seattle, Washington USA</div>
<p>CS290</p>
</div>
</div>
</div>
-->
</section>
</main>
<div id="modal-backdrop" class="hidden"></div>
<section id="modal" class="hidden">
<div class="modal-header">
<button type="button" id="modal-close" class="modal-hide-button">X</button>
</div>
</section>
</body>
</html>