{{- $dialog := Stored.dialog -}} {{- $multiple := Stored.multiple -}}
{{- if not $dialog -}} {{- end -}} {{- if not $dialog -}} {{- end -}} {{- if not $dialog -}} {{- end -}} {{range $k,$v := Stored.listData}} {{- if not $dialog -}} {{- end -}} {{- if not $dialog -}} {{- end -}} {{- if not $dialog -}} {{- end -}} {{end}}
{{- if or (not $dialog) $multiple -}}
{{- end -}}
ID{{"图片"|T}} {{"原始名称"|T}}{{"保存位置"|T}} {{"文件类型"|T}} {{"大小"|T}} {{"尺寸"|T}}{{"时间"|T}}{{"操作"|T}}
{{- if not $dialog -}}
{{- else if $multiple -}}
{{- else -}}
{{- end -}}
{{$v.Id}} {{- if eq $v.Type `image` -}} {{- else -}} {{- end -}} {{$v.Name}}
{{if gt $v.UsedTimes 0}}{{T `使用%d次` $v.UsedTimes}}{{else}}{{`未使用`|T}}{{end}} {{- if $dialog}} {{FormatBytes $v.Size 2 true}} {{if gt $v.Width 0}}{{$v.Width}}×{{$v.Height}}{{end}} {{- end -}}
{{$v.SavePath}} {{$v.Type}} {{FormatBytes $v.Size 2 true}} {{if gt $v.Width 0}}{{$v.Width}}×{{$v.Height}}{{else}}-{{end}}{{(Date $v.Created).Format "2006-01-02 15:04:05"}}
{{- if $dialog -}} {{(Stored.pagination.SetNum 3).Render}} {{- else -}} {{Stored.pagination.Render}} {{- end -}}