Changed design
This commit is contained in:
parent
453cb96ab8
commit
8c9355ffbb
3 changed files with 50 additions and 6 deletions
|
@ -1,3 +1,21 @@
|
|||
{{ define "body" }}
|
||||
<h1>List for {{.List.User}}</h1>
|
||||
<h1 id="title">List for {{.Content.User}}</h1>
|
||||
<table id="list">
|
||||
<tr>
|
||||
<th width="30">ID</th>
|
||||
<th width="60">Title</th>
|
||||
<th width="30" align="center">Score</th>
|
||||
<th width="30" align="center">Type</th>
|
||||
<th width="30" align="center">Progress</th>
|
||||
</tr>
|
||||
{{range .Content.Anime}}
|
||||
<tr>
|
||||
<td align="center">{{.Anime.ID}}</td>
|
||||
<td><a href="https://api.meikan.moe/v1/anime/{{.Anime.ID}}">{{.Anime.Title}}</a></td>
|
||||
<td align="center">{{.Rating}}</td>
|
||||
<td align="center">{{.Anime.Type}}</td>
|
||||
<td align="center">{{.Episode}}/{{.Anime.Episodes}}</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue