subscribe-bot/web/templates/index.html

28 lines
649 B
HTML
Raw Normal View History

2020-10-14 20:58:01 +00:00
{{ define "content" }}
<p>Maps:</p>
<table class="table-auto">
<thead>
<th>Links</th>
<th>Title</th>
<th>Mapper</th>
</thead>
<tbody>
{{ range .Beatmapsets }}
<tr>
<td>
<a href="https://osu.ppy.sh/s/{{ .ID }}" target="_blank">osu</a>
<a href="/map/{{ .UserID }}/{{ .ID }}/versions">versions</a>
</td>
<td>{{ .Artist }} - {{ .Title }}</td>
<td>
<a href="https://osu.ppy.sh/u/{{ .UserID }}" target="_blank">{{ .Creator }}</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
{{ end }}