aboutsummaryrefslogtreecommitdiff
blob: bcef3d6f0c11961c85a2224b52064d93e6ad16ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{define "versions"}}

    <h3 class="mb-2">Available Versions</h3>

    <div class="card mb-4 rounded">
        {{template "versionicons" .}}
        <div class="table-responsive border-0">
            <table class="table table-bordered kk-versions-table mb-0 overflow-hidden border-0">
                <thead class="border-0">
                    <tr class="border-0">
                        <th class="kk-version border-left-0 border-top-0">Version</th>
                        {{ if eq .UserPreferences.Packages.Overview.EAPI "column" -}}
                            <th class="kk-keyword-header kk-keyword border-left-0 border-top-0">EAPI</th>
                        {{- end -}}
                        {{- range .UserPreferences.Packages.Overview.Keywords -}}
                            <th class="kk-keyword-header kk-keyword border-left-0 border-top-0">{{.}}</th>
                        {{ end -}}
                    </tr>
                </thead>
                <tbody>
                    {{template "versionrows" .}}
                </tbody>
            </table>
        </div>
    </div>
{{end}}