Files
core/internal/api/ui_components_models.tmpl

43 lines
1.0 KiB
Cheetah

{{define "components_models"}}
<!DOCTYPE html>
<html lang="en">
{{template "head" .}}
<body>
{{template "topbar" .}}
{{template "breadcrumbs" .}}
<main class="container">
<section class="card">
<h2>Unique Component Models</h2>
{{if .Rows}}
<table class="table" data-disable-auto-filters="true">
<thead>
<tr>
<th>Vendor</th>
<th>Model</th>
<th>Total</th>
<th>Failed</th>
</tr>
</thead>
<tbody>
{{range .Rows}}
<tr class="clickable" onclick="navigateToRow('{{.URL}}')">
<td>{{.Vendor}}</td>
<td>{{.Model}}</td>
<td>{{.Total}}</td>
<td>{{.Failed}}</td>
</tr>
{{end}}
</tbody>
</table>
{{template "pagination" .Pager}}
<div class="meta">Click a row to open components of this model with status filters.</div>
{{else}}
<div class="meta">No component models yet.</div>
{{end}}
</section>
</main>
</body>
</html>
{{end}}