77 lines
2.1 KiB
HTML
77 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<html>
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Batch codes</title>
|
|
<!-- FK-TODO: keine externen Links -->
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.4/css/jquery.dataTables.css">
|
|
<link rel="stylesheet" type="text/css" href="batchCodeTable.css">
|
|
<link rel="stylesheet" type="text/css" href="forkMeOnGitHub.css">
|
|
<!-- FK-TODO: keine externen Links -->
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
|
<!-- FK-TODO: keine externen Links -->
|
|
<script type="text/javascript" charset="utf8"
|
|
src="https://cdn.datatables.net/1.11.4/js/jquery.dataTables.min.js"></script>
|
|
<script>
|
|
function loadBatchCodeTable() {
|
|
$('#batchCodeTable').DataTable(
|
|
{
|
|
ajax: "data/batchCodeTable.json",
|
|
language:
|
|
{
|
|
searchPlaceholder: "Enter Batch Code"
|
|
},
|
|
search:
|
|
{
|
|
return: false
|
|
},
|
|
processing: true,
|
|
deferRender: true,
|
|
order: [[1, "desc"]],
|
|
columnDefs:
|
|
[
|
|
{
|
|
searchable: false,
|
|
targets: [1, 2, 3, 4, 5]
|
|
}
|
|
]
|
|
});
|
|
}
|
|
|
|
function selectInput() {
|
|
const input = document.querySelector(".dataTables_filter input");
|
|
input.focus();
|
|
input.select();
|
|
}
|
|
|
|
$(document).ready(function () {
|
|
loadBatchCodeTable();
|
|
selectInput();
|
|
});
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<span id="forkongithub"><a href="https://github.com/KnollFrank/HowBadIsMyBatch">Fork me on GitHub</a></span>
|
|
<h1>Batch codes</h1>
|
|
<p>
|
|
<b>Check out your batch code </b> <font size="-2">(last updated 11th February
|
|
2022)</font>
|
|
<table class="display" id="batchCodeTable">
|
|
<thead>
|
|
<tr>
|
|
<th>VAX_LOT</th>
|
|
<th>ADRs</th>
|
|
<th>DEATHS</th>
|
|
<th>DISABILITIES</th>
|
|
<th>LIFE THREATENING ILLNESSES</th>
|
|
<th>COMPANY</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</p>
|
|
</body>
|
|
|
|
</html> |