task 6: HTML export

This commit is contained in:
2024-05-08 14:45:20 +02:00
parent a93598d8f6
commit aee3052ad7
11 changed files with 483 additions and 9 deletions

33
res/template/index.html Normal file
View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Slopify V2 - Listen to the music you hate</title>
<link rel="stylesheet" type="text/css" href="base.css">
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<header id="navbar">
<h1 class="title">Slopify</h1>
</header>
<div id="body">
<h2>Artists</h2>
<div id="crumbs"></div>
<table id="artists">
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody>
{{artists}}
</tbody>
</table>
</div>
<script type="text/javascript" src="base.js"></script>
<script>
initTable(document.getElementById("artists"))
</script>
</body>
</html>