You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
693 B
HTML

<style>
#no-js {
border-collapse: collapse;
width: 100%;
}
#no-js td, #no-js th {
border: 1px solid #ddd;
padding: 8px;
}
#no-js tr:nth-child(even){background-color: #616161;}
#no-js th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #98971A;
color: #1D2021;
}
</style>
<table id="no-js">
<thead>
<tr>
<th>URL</th>
<th>Size in KB</th>
</tr>
</thead>
<tbody>
{{ $url := "static/assets/no-js/data/out.csv" }}
{{ $sep := "," }}
{{ range $i, $r := getCSV $sep $url }}
<tr>
<td>{{ index $r 0 }}</td>
<td>{{ index $r 1 }}</td>
</tr>
{{ end }}
</tbody>
</table>