mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 05:59:53 +01:00
Init
This commit is contained in:
42
season.qtpl
Normal file
42
season.qtpl
Normal file
@@ -0,0 +1,42 @@
|
||||
{% package main %}
|
||||
{% func Index(season *SeasonJikan) %}
|
||||
{% collapsespace %}
|
||||
<!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">
|
||||
<style>
|
||||
* { font-family: sans-serif; }
|
||||
table { border-spacing: 0; }
|
||||
td, th { text-align: left; padding: 0 0.5em; }
|
||||
td:first-child, th:first-child { padding-left: 0; }
|
||||
td:last-child, th:first-child { padding-right: 0; }
|
||||
body { background-color: #1a1a1a; color: #fff; }
|
||||
</style>
|
||||
<title>HUSO - Hanami universeller Serien Organizer</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>HUSO - Hanami universeller Serien Organizer</h1>
|
||||
<h2>Anime</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td><strong>Airing 📺</strong></td>
|
||||
<td>{%d season.Pagination.Items.Total %}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</br>
|
||||
<table>
|
||||
{% for _, anime := range season.Data %}
|
||||
<tr>
|
||||
<td><strong>{%s anime.Title %}</strong></td>
|
||||
<td>{%d anime.MalID %}</td>
|
||||
<td>{%s anime.Aired.String %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
{% endcollapsespace %}
|
||||
{% endfunc %}
|
||||
Reference in New Issue
Block a user