-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.jsp
388 lines (330 loc) · 10.7 KB
/
index.jsp
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<%--
Created by IntelliJ IDEA.
User: Ferdous
Date: 7/12/16
Time: 11:17 PM
To change this template use File | Settings | File Templates.
--%>
<%--WELCOME PAGE--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<link rel="stylesheet" href="home.css">--%>
<%--<link rel="stylesheet" href="flashes.sass">--%>
<%--<link rel="stylesheet" href="front.sass">--%>
<html>
<style>
html {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1.6;
/*color: white;*/
}
.content {
margin-top: 100px;
z-index: 0;
position: absolute;
padding: 1em 0 0.25em;
background: white;
}
h1, h2, h3, h4 {
margin-top: 0;
/*color: black;*/
}
.logo img {
max-height: 75px;
margin-right: 5px;
vertical-align: middle;
}
/* To place the picture next to the text*/
@media (min-width: 600px) {
.logo {
display: inline-block;
height: 45px;
line-height: 35px;
}
}
header {
/*font-size: 20px;*/
/*font-size: large;*/
/*padding: 2em;*/
/*color: white;*/
background-color: dimgrey;
clear: left;
text-align: left;
/*border-style: solid;*/
/*border-color: darkorange;*/
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
/*opacity: 0.9;*/
/*background-color: green;*/
position: fixed;
top: 0;
width: 100%;
}
.inner {
padding: 0 1em;
}
@media (min-width: 1100px) {
.inner {
width: 1000px;
margin: auto;
}
}
.navigation a {
text-decoration: none;
color: white;
}
.topbar a:hover, .topbar a:active {
color: darkorange;
}
.navigation {
vertical-align: middle;
/*color: blue;*/
/*background-color: blueviolet;*/
}
.navigation ul {
list-style: none;
margin: 0;
padding: 0px 0px 0px 30px;
overflow: auto;
font-size: 15px;
}
.navigation a:hover,
.navigation .active {
color: darkorange;
border-bottom: 2px solid darkorange;
padding-bottom: 2px;
}
@media (min-width: 900px) {
.navigation a:hover,
.navigation .active {
border: none;
}
.navigation a:hover:after,
.navigation .active:after {
content: "";
display: block;
height: 1px;
margin-top: -1px;
background-color: darkorange;
}
}
@media (min-width: 600px) {
.navigation li {
float: left;
margin-right: 1em;
}
}
@media (min-width: 900px) {
.navigation {
display: inline-block;
height: 55px;
line-height: 55px;
}
}
.front-title {
font-size: 30px;
color: black;
font-weight: 300;
@media (min-width: medium)
font-size: 30px;
}
.front-cta {
padding-top: 3em;
}
@media (min-width: medium) {
.front-cta {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
}
.button {
/*display: block;*/
/*padding: 2em 1em;*/
/*text-decoration: none;*/
/*text-align: center;*/
/*transition: background 200ms ease;*/
background-color: dimgrey;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
-webkit-transition-duration: 0.3s; /* Safari */
transition-duration: 0.4s;
border-radius: 2px;
width: 400px;
/*float: left;*/
/*border: 1px solid green*/
}
.button:hover {
background-color: darkorange;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.button.h3 {
margin: 0;
font-weight: 400;
color: white;
font-size: 28px;
}
.button.p {
margin: 0;
color: white;
font-size: 21px;
font-weight: 300;
@media (min-width: medium)
flex: 0 0 49%;
}
/*.front-apply.attendee {*/
/*background-color: dimgrey;*/
/*}*/
/*.front-apply.attendee.h3 {*/
/*!*coloredEm(#606060);*!*/
/*position: relative;*/
/*display: inline-block;*/
/*z-index: 1;*/
/*}*/
/*@media {*/
/*.front-apply.attendee h3:hover,*/
/*.front-apply.attendee h3:active {*/
/*background: orangered;*/
/*}*/
/*.front-apply.attendee h3:before {*/
/*content: "";*/
/*display: block;*/
/*height: 30%;*/
/*width: 100%;*/
/*background: dimgrey;*/
/*position: absolute;*/
/*bottom: 5%;*/
/*z-index: -1;*/
/*}*/
/*}*/
/*.navigation a:hover,*/
/*.navigation .active {*/
/*color: darkorange;*/
/*border-bottom: 2px solid darkorange;*/
/*padding-bottom: 2px;*/
/*}*/
/*@media (min-width: 900px) {*/
/*.navigation a:hover,*/
/*.navigation .active {*/
/*border: none;*/
/*}*/
/*.navigation a:hover:after,*/
/*.navigation .active:after {*/
/*content: "";*/
/*display: block;*/
/*height: 1px;*/
/*margin-top: -1px;*/
/*background-color: darkorange;*/
/*}*/
/*}*/
<%--.front-apply.organizer {--%>
<%--background-color: #606060 h3;--%>
<%--} +--%>
<%--coloredEm--%>
<%--(--%>
<%--#606060--%>
<%--)--%>
<%--&--%>
<%--: hover,--%>
<%--&--%>
<%--: active--%>
<%--background: #606060--%>
<%--}--%>
<%--}--%>
footer {
padding: 1em;
color: white;
background-color: dimgrey;
clear: left;
text-align: center;
font-size: 17px;
/*margin-bottom: 0%;*/
}
</style>
<head>
<title>Welcome to Grey Hound Data Project</title>
<header class="topbar" role="banner">
<div class="inner">
<h1 class="logo"><a><img alt="Logo" src="${pageContext.request.contextPath}/logo.jpg" /></a>
</h1>
<nav class="navigation" role="navigation">
<ul>
<li><a href="${pageContext.request.contextPath}/index.jsp">Greyhound Data Project</a></li>
<li><a href="${pageContext.request.contextPath}/search.jsp">Dog Search</a></li>
<li><a href="${pageContext.request.contextPath}/datamining.jsp">Data Mining</a></li>
<li><a href="${pageContext.request.contextPath}/documentation.jsp">Documentation</a></li>
<li><a href="${pageContext.request.contextPath}/faq.jsp">FAQ</a></li>
</ul>
</nav>
</div>
</header>
</head>
<body class="content">
<%--<div class="flashes">--%>
<%--</div>--%>
<div class="inner">
<h1 class="front-title">Welcome to the Greyhound race archive.
<%--We help events reach a <em class="em--yellow">more diverse</em> audience. And we help you to <em class="em--yellow">find these events</em>.--%>
</h1>
<h2 class="front-title">
This page was made by the FLY group as a university course project. We used a snippet of the
<a target="_blank" href="http://www.greyhound-data.com/index.htm?z=b-0seT">Greyhound data</a>
for our database. You can use the buttons below to
<%--<em class="em--yellow">--%>
search for a certain dog
<%--</em>--%>
, and add conditions to your search as you like or to
<%--<em class="em--red">--%>
mine in the data
<%--</em> --%>
and let our system provide you with a forecast of the dog's future run results.
<%--Because <em class="em--red">diversity</em> is what <em class="em--red">makes communities whole</em>.--%>
</h2>
<%--<div class="front-cta">--%>
<%--<a class="front-apply attendee" href="${pageContext.request.contextPath}/index.jsp">--%>
<%--<h3>Dog Search</h3>--%>
<%--<p>Find details to a certain dog.</p>--%>
<%--</a>--%>
<%--<a class="front-apply organizer" href="${pageContext.request.contextPath}/data_mining.jsp">--%>
<%--<h3>Data Mining</h3>--%>
<%--<p>Predict the dog's future results.</p>--%>
<%--</a></div>--%>
<div class="front-cta">
<a class="button search" href="${pageContext.request.contextPath}/search.jsp">
<h3>Dog Search</h3>
<p>Find details to a certain dog.</p>
</a>
<a class="button mine" href="${pageContext.request.contextPath}/datamining.jsp">
<h3>Data Mining</h3>
<p>Predict the dog's future results.</p>
</a></div>
</div>
</body>
<footer class="footer">
<%--<div class="inner">--%>
<%--<ul>--%>
<%--<li>--%>
<%--<img alt="heart-icon" src="${pageContext.request.contextPath}/heart.png" />--%>
<%--<p>--%>
Proudly built by Ferdous, Nova and Leli
<%--</p>--%>
<%--</li>--%>
<%--<li><img alt="bubble-icon" src="${pageContext.request.contextPath}/bubble.gif" /><p>--%>
<%--Checkout the code on--%>
<%--<a target="_blank" href="https://github.com/ferbsx">GitHub</a>--%>
<%--</p>--%>
<%--</li>--%>
<%--</ul>--%>
<%--</div>--%>
</footer>
</html>