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,21 +10,21 @@
{{ 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>
{{ end }}
{{ define "main" }}
<div id="game-listing">
<div id="game-listing">
<div class="container1">
<div class="div1">
<ul class="pagination paginationTop is-pulled-left"></ul>
@ -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 }}
@ -87,9 +87,9 @@
{{ end }}
{{ define "scripts" }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/list.js/2.3.1/list.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/list.js/2.3.1/list.min.js"></script>
<script type="text/javascript">
$(function() {