-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
206 lines (204 loc) · 7.67 KB
/
search.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
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Umbrella Job</title>
<!-- Link to Bulma CSS framework -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"
/>
<!-- Link to dark theme for SweetAlert2 -->
<link
href="https://cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@4/dark.css"
rel="stylesheet"
/>
<!-- Font Awesome kit for icons -->
<script
src="https://kit.fontawesome.com/653016226d.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<!-- Header -->
<!-- <div class="container-max-width header">
<header>Umbrella Job</header>
</div> -->
<!-- Body -->
<main>
<div class="body-container">
<!-- Search Section -->
<div class="columns">
<div class="column tile is-4">
<!-- Subheader for the search section -->
<div class="container-max-width subheader">
<subheader
>Seeing the weather before applying to a job with
UmbrellaJob!</subheader
>
</div>
</div>
<div class="column tile is-4" id="search-bar">
<!-- Search form for job search -->
<form id="search-form">
<input
id="keyword-input"
class="input tile is-6"
type="text"
placeholder="Keyword,Job title..."
/>
<input
id="location-input"
class="input tile is-6"
type="text"
placeholder="City, Country"
/>
<button class="button">Search</button>
</form>
</div>
</div>
<!-- Jobs Section -->
<div
class="tile is-ancestor"
id="search-results"
style="visibility: hidden"
>
<!-- Jobs List Section -->
<section class="tile is-4 is-vertical">
<!-- Container for displaying new jobs -->
<div
class="tile is-parent is-vertical scroll-allowed"
id="new-jobs"
></div>
</section>
<!-- Jobs Details Section -->
<section class="tile is-8 is-vertical">
<div class="tile is-parent">
<div class="tile is-child" id="clicked-job">
<p class="title"></p>
<p></p>
<p class="description"></p>
<p></p>
</div>
</div>
<!-- Jobs Details - Weather Section -->
<div class="tile">
<div class="tile is-parent is-vertical">
<section class="tile is-child">
<div id="weather-spring" class="weather">
<!-- Weather section for Spring -->
<p class="title">
Spring <i class="fa-solid fa-cloud-sun"></i>
</p>
<hr />
<p id="temperature"></p>
<div><p id="wmo-code">weather descritpion</p></div>
<div class="rain-content">
<i class="fas fa-cloud-rain fa-2x"></i>
<p id="rain"></p>
</div>
<div class="snow-content">
<i class="fas fa-snowflake fa-2x"></i>
<p id="snow"></p>
</div>
<div class="wind-content">
<i class="fas fa-wind fa-2x"></i>
<p id="wind"></p>
</div>
<p id="sunrise"></p>
<p id="sunset"></p>
</div>
</section>
<section class="tile is-child">
<div id="weather-summer" class="weather">
<!-- Weather section for Summer -->
<p class="title">Summer <i class="fa-solid fa-sun"></i></p>
<hr />
<p id="temperature"></p>
<div><p id="wmo-code">weather descritpion</p></div>
<div class="rain-content">
<i class="fas fa-cloud-rain fa-2x"></i>
<p id="rain"></p>
</div>
<div class="snow-content">
<i class="fas fa-snowflake fa-2x"></i>
<p id="snow"></p>
</div>
<div class="wind-content">
<i class="fas fa-wind fa-2x"></i>
<p id="wind"></p>
</div>
<p id="sunrise"></p>
<p id="sunset"></p>
</div>
</section>
</div>
<div class="tile is-parent is-vertical">
<section class="tile is-child">
<div id="weather-fall" class="weather">
<!-- Weather section for Fall -->
<p class="title">Fall <i class="fa-solid fa-leaf"></i></p>
<hr />
<p id="temperature"></p>
<div><p id="wmo-code">weather descritpion</p></div>
<div class="rain-content">
<i class="fas fa-cloud-rain fa-2x"></i>
<p id="rain"></p>
</div>
<div class="snow-content">
<i class="fas fa-snowflake fa-2x"></i>
<p id="snow"></p>
</div>
<div class="wind-content">
<i class="fas fa-wind fa-2x"></i>
<p id="wind"></p>
</div>
<p id="sunrise"></p>
<p id="sunset"></p>
</div>
</section>
<section class="tile is-child">
<div id="weather-winter" class="weather">
<!-- Weather section for Winter -->
<p class="title">
Winter <i class="fa-solid fa-snowflake"></i>
</p>
<hr />
<p id="temperature"></p>
<div><p id="wmo-code">weather descritpion</p></div>
<div class="rain-content">
<i class="fas fa-cloud-rain fa-2x"></i>
<p id="rain"></p>
</div>
<div class="snow-content">
<i class="fas fa-snowflake fa-2x"></i>
<p id="snow"></p>
</div>
<div class="wind-content">
<i class="fas fa-wind fa-2x"></i>
<p id="wind"></p>
</div>
<p id="sunrise"></p>
<p id="sunset"></p>
</div>
</section>
</div>
</div>
</section>
</div>
</div>
</main>
<!-- Added link to sweetalert2 -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.js"></script>
<!-- Added link to the jQuery library and styling -->
<script
src="https://cdn.jsdelivr.net/npm/dayjs@1.11.3/dayjs.min.js"
integrity="sha256-iu/zLUB+QgISXBLCW/mcDi/rnf4m4uEDO0wauy76x7U="
crossorigin="anonymous"
></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="./assets/js/search-script.js"></script>
</body>
</html>