diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 01:19:51 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 01:19:51 -0500 |
commit | e32cda84c670957dc887c627435882c377a48a55 (patch) | |
tree | ccd373050ae5abb9045548b801c4ef248d0ffae6 /got | |
parent | 17b0b282a2a17da1ed54c028fdf18b6760c7b129 (diff) |
icons
Diffstat (limited to 'got')
-rw-r--r-- | got/view_tree.got | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/got/view_tree.got b/got/view_tree.got index 09f564b..3b0b9eb 100644 --- a/got/view_tree.got +++ b/got/view_tree.got @@ -2,14 +2,14 @@ <h1>Index of {{.path | html}}</h1> <table> {{if ne .path "/"}} - <tr> + <tr class="tree parent"> <td><a href="..">parent directory</a></td> <td>tree</td> <td>-</td> </tr> {{end}} {{range $name, $file := .files}} - <tr> + <tr class="{{$file.Type}}"> <td><a href="{{$name | html}}">{{$name | html}}</a></td> <td>{{$file.Type | html}}</td> <td>{{if lt $file.Size 0}}-{{else}}{{$file.Size | html}}{{end}}</td> |