fix datatables

This commit is contained in:
Walter Hupfeld
2023-10-22 21:44:27 +02:00
parent 4022114a73
commit df286c8dd3
5 changed files with 290 additions and 4 deletions

View File

@@ -6,11 +6,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fahrrad-Unfallstatistik NRW</title>
<link rel="stylesheet" href="../css/bootstrap.min.css"/>
<link rel="stylesheet" href="//cdn.datatables.net/1.13.6/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="../css/dataTables.min.css">
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="//cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
<script src="../js/dataTables.min.js"></script>
<style>
.rechts {text-align:right;background-color:#eee;}
.l {border-left: 1px solid black; }
@@ -116,7 +116,10 @@ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
</body>
<script>
let table = new DataTable('#unfallzahlen',{
pageLength : 10
pageLength : 10,
language: {
url: '../js/de-DE.json'
}
});
</script>
</html>