generated from digital-product-jam-2023/template-simple-data-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (61 loc) · 2.06 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
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Abel' rel='stylesheet'>
<meta charset=utf-8>
<title>NBA Teams Search</title>
<link rel="stylesheet" href="index.css" />
<style>
body {
font-family: 'Abel';
font-size: 18px;
}
</style>
</head>
<body>
<div id="container">
<div id="main">
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<h1 id="mainTitle" class="content">NBA Teams Search <img id="basketballIcon"
src="https://www.freeiconspng.com/uploads/basketball-png-7.png" width="40" alt="Basketball"></img>
</h1>
<div class="filtersSection">
<h3 class="filterSectionTitle">Filters</h2>
<div class="filtersSectionInner">
<div class="filterObject" id="teamNameSearch">
<input type="text" placeholder="Search by team name..">
</div>
<div class="filterObject" id="searchPlayerDiv">
<label for="searchPlayer">Find by player:</br></label>
<select name="searchPlayer" id="searchPlayer" class="filterObject">
<option>Select player...</option>
<!-- Will add list of players using JS -->
</select>
</div>
<div class="filterObject">
<label for="teamsSortBy">Sort teams by:</br></label>
<select name="teamsSortBy" id="teamsSortBy" class="filterObject">
<option value="nameAsc">Name (Ascending)</option>
<option value="nameDesc">Name (Descending)</option>
<option value="division">Division</option>
</select>
</div>
</div>
</div>
<div id="app" class="row">
<!-- Start example showing the css layout -->
<h1>Loading Data...</h1>
</div>
<template id="player-details-template">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</template>
</div>
</div>
<script type="module" src="index.js"></script>
</body>
</html>