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