game/list: Reformat html

This commit is contained in:
FearlessTobi 2022-10-20 01:19:21 +02:00
parent 0589bffbb1
commit de5fc54048

View File

@ -10,14 +10,14 @@
{{ range .Site.Data.compatibility }}
<tr>
<td>
<div class="is-square" style="background-color: {{ .color }}"></div> {{ .name }}
<div class="is-square" style="background-color: {{ .color }}"></div>
{{ .name }}
</td>
<td>{{ .description }}</td>
</tr>
{{ end }}
</tbody>
</table>
<!-- <div id="highchart-container" style="height: 100px; margin: 0 auto"></div> -->
</div>
</div>
@ -46,7 +46,6 @@
</form>
</div>
</div>
<div class="section pt-xs">
<table id="compatibility-list" class="table table-responsive is-fullwidth">
<thead>
@ -68,7 +67,8 @@
<a href="{{ .Permalink }}">{{ .Params.title }}</a>
</td>
<td data-compatibility="{{ $rating.key }}">
<div class="is-square" style="background-color: {{ $rating.color }}"></div> <span>{{ $rating.name }}</span>
<div class="is-square" style="background-color: {{ $rating.color }}"></div>
<span>{{ $rating.name }}</span>
</td>
<td data-timestamp="{{ .Params.testcase_date }}">
{{ if .Params.testcase_date }}