jda_m06/uf02/examen/index .html
2022-02-16 16:13:08 +01:00

39 lines
1.6 KiB
HTML
Executable file

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<title>Jan Maroto</title>
</head>
<body>
<button class="w3-button w3-dark-gray w3-margin" onclick="printList('a')">Order &#8673;</button>
<button class="w3-button w3-dark-gray w3-margin" onclick="printList('d')">Order &#8675;</button>
<div class="w3-container">
<input type="text" placeholder="Search By House.. " class="form-control" id="search-bar-1" onkeydown="printList('fh')">
<input type="text" placeholder="Filter By Year Before.. " class="form-control" id="search-bar-2" onkeydown="printList('fy')">
</div>
<br>
<div style="overflow-y:auto; max-height:500px" class="w3-container">
<table class="w3-table-all w3-hoverable">
<thead style="position:sticky; top:0;">
<tr class="w3-dark-gray">
<th>Name</th>
<th>Actor</th>
<th>House</th>
<th>Birth Year</th>
<th>Eye Colour</th>
<th>Hair Color</th>
</tr>
</thead>
<thead id="contentTable"></thead>
</table>
</div>
<script src="script.js"></script>
</body>
</html>