mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-11 14:28:57 +00:00
We've been cutting down on the "striped" tables (where rows are using alternate row background colors). This completely removes them as I think such a design looks outdated. The removal of selectors starting with `.ui[class*="very basic"].table:not(.striped)` is needed because of a specificity issue in the CSS where table cells would otherwise render with incorrect padding. Example of one affected table: <img width="1027" height="224" alt="image" src="https://github.com/user-attachments/assets/2f3006ca-99a1-4655-afdb-b7cd9e5f19c7" />
18 lines
514 B
Handlebars
18 lines
514 B
Handlebars
{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}}
|
|
<div class="admin-setting-content">
|
|
<h4 class="ui top attached header">
|
|
{{ctx.Locale.Tr "admin.dashboard.statistic"}}
|
|
</h4>
|
|
<div class="ui attached table segment">
|
|
<table class="ui very basic table unstackable">
|
|
{{range $statsKey := .StatsKeys}}
|
|
<tr>
|
|
<td width="200">{{$statsKey}}</td>
|
|
<td>{{index $.StatsCounter $statsKey}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{{template "admin/layout_footer" .}}
|