1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Improve layout and display of the feature matrix table (#1824)

This commit is contained in:
Jed Fox
2022-11-29 01:18:52 -05:00
committed by GitHub
parent 1618aceb2a
commit cfc93bff46
5 changed files with 72 additions and 19 deletions

View File

@@ -140,10 +140,11 @@ var tmpl = template.Must(template.New("").Funcs(template.FuncMap{
}).Parse(`{% comment %}
Matrix generated by build/generate/featureMatrix.go. DO NOT HAND EDIT!
{% endcomment %}{{$providers := .Providers}}
<figure class="full-width">
<table class="table-header-rotated">
<thead>
<tr>
<th></th>
<th class="row-header rotate"><div><span>&nbsp;</span></div></th>
{{range $key,$val := $providers}}<th class="rotate"><div><span>{{$key}}</span></div></th>
{{end -}}
</tr>
@@ -163,4 +164,5 @@ var tmpl = template.Must(template.New("").Funcs(template.FuncMap{
{{end -}}
</tbody>
</table>
</figure>
`))