mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Merge pull request #739 from tboerger/feature/browse-go-up
Added "go up" link to browse template
This commit is contained in:
commit
ed8a48e7f1
1 changed files with 13 additions and 1 deletions
|
@ -210,7 +210,8 @@ td:first-child svg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
td .name {
|
td .name,
|
||||||
|
td .goup {
|
||||||
margin-left: 1.75em;
|
margin-left: 1.75em;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
@ -342,6 +343,17 @@ footer {
|
||||||
{{end}}
|
{{end}}
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
{{if .CanGoUp}}
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="..">
|
||||||
|
<span class="goup">Go up</span>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>—</td>
|
||||||
|
<td>—</td>
|
||||||
|
</tr>
|
||||||
|
{{end}}
|
||||||
{{range .Items}}
|
{{range .Items}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in a new issue