Will be renamed eventually, don't care right now. Also cleans up a lot of code I wasn't particularly happy about
15 lines
No EOL
368 B
Text
15 lines
No EOL
368 B
Text
@zig {
|
|
const ColumnChoices = []const enum{song, album, artist, artistlist, scrobbles, date};
|
|
const columns: ColumnChoices = &.{.song, .artistlist, .album, .date};
|
|
}
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
</head>
|
|
<body>
|
|
@partial partials/header
|
|
<h1>Scrobbles</h1>
|
|
@partial partials/newtable(T: ColumnChoices, table_data: .scrobbles, columns: columns)
|
|
</body>
|
|
</html> |