Charts V2

This commit is contained in:
daru
2022-06-30 00:21:38 +02:00
parent da474ecede
commit cc525f2460
6 changed files with 57 additions and 31 deletions

View File

@@ -38,7 +38,7 @@ body { background-color: #1a1a1a; color: #fff; }
{% for _, anime := range animes %}
<tr>
<td><a href="{%s anime.URL %}" target="_blank" rel="noopener noreferrer">{%dl anime.Anime %}</a></td>
<td>{%f anime.Score %}</td>
<td>{%f.2 anime.Score %}</td>
<td><strong>{%s anime.Title %}</strong></td>
</tr>
{% endfor %}
@@ -57,7 +57,7 @@ body { background-color: #1a1a1a; color: #fff; }
<td><a href="https://movies.hanami.family/movie/{%d chart.MmId %}" target="_blank" rel="noopener noreferrer">{%d chart.MmId %}</a></td>
<td><a href="{%s chart.Data.URL %}" target="_blank" rel="noopener noreferrer">{%dl chart.Data.Anime %}</a></td>
<td>{%d chart.UserCount %}</td>
<td><strong>{%f chart.AvgScore %}</strong></td>
<td><strong>{%f.2 chart.AvgScore %}</strong></td>
<td><strong>{%s chart.Data.Title %}</strong></td>
</tr>
{% endfor %}