{{if $path}}
..
|
|
|
|
|
{{end}}
{{range $k,$v := Stored.dirs}}
{{if $v.IsDir}}
{{else}}
{{$fileType := FileTypeByName $v.Name}}
{{if eq $fileType `image`}}
{{end}}
{{end}}
{{$v.Name}}
{{if Stored.canEdit}}
{{end}}
|
{{$v.ModTime.Format "2006-01-02 15:04:05"}} |
{{if $v.IsDir}}{{"文件夹"|T}}{{else}}{{"文件"|T}}{{end}} |
{{if $v.IsDir}}-{{else}}{{$v.Size|FormatByte}}{{end}} |
{{if Stored.canDelete}}
{{end}}
{{if not $v.IsDir}}
{{if Editable $v.Name}}
{{end}}
{{$mediaMime:=Playable $v.Name}}
{{if $mediaMime}}
{{end}}
{{end}}
|
{{end}}