diff --git a/caddyhttp/browse/setup.go b/caddyhttp/browse/setup.go index 8692c9f5..fd8a443e 100644 --- a/caddyhttp/browse/setup.go +++ b/caddyhttp/browse/setup.go @@ -146,12 +146,12 @@ header, th:first-child, td:first-child { - padding-left: 5%; + width: 5%; } th:last-child, td:last-child { - padding-right: 5%; + width: 5%; } header { @@ -242,20 +242,20 @@ td { font-size: 14px; } -td:first-child { - width: 100%; +td:nth-child(2) { + width: 80%; } -td:nth-child(2) { +td:nth-child(3) { padding: 0 20px 0 20px; } -th:last-child, -td:last-child { +th:nth-child(4), +td:nth-child(4) { text-align: right; } -td:first-child svg { +td:nth-child(2) svg { position: absolute; } @@ -302,12 +302,12 @@ footer { display: none; } - td:first-child { + td:nth-child(2) { width: auto; } - th:nth-child(2), - td:nth-child(2) { + th:nth-child(3), + td:nth-child(3) { padding-right: 5%; text-align: right; } @@ -391,6 +391,7 @@ footer { + + {{- if .CanGoUp}} + + {{- end}} {{- range .Items}} + {{- end}} + {{- end}}
{{- if and (eq .Sort "namedirfirst") (ne .Order "desc")}} @@ -426,11 +427,13 @@ footer { Modified {{- end}}
Go up @@ -438,10 +441,12 @@ footer {
{{- if .IsDir}} @@ -458,6 +463,7 @@ footer { {{.HumanSize}}