diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-12-15 20:57:17 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-12-15 20:57:17 -0800 |
| commit | ad9d5ff5d0a33929ab8a6c603bdb6fc93e74e640 (patch) | |
| tree | 40daac59f2a86314019e057a4d561d70098df37b | |
| parent | 392678f8f33974b2b7f3c6ff1e311887a846d1e3 (diff) | |
| download | seaweedfs-ad9d5ff5d0a33929ab8a6c603bdb6fc93e74e640.tar.xz seaweedfs-ad9d5ff5d0a33929ab8a6c603bdb6fc93e74e640.zip | |
adjust UI
| -rw-r--r-- | weed/server/filer_ui/templates.go | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/weed/server/filer_ui/templates.go b/weed/server/filer_ui/templates.go index c4555afc3..e532b27e2 100644 --- a/weed/server/filer_ui/templates.go +++ b/weed/server/filer_ui/templates.go @@ -78,20 +78,19 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC </a> {{end}} </td> - <td align="right"> + <td align="right" nowrap> {{if $entry.IsDirectory}} {{else}} - {{ $entry.Mime }} + {{ $entry.Mime }} {{end}} </td> - <td align="right"> + <td align="right" nowrap> {{if $entry.IsDirectory}} {{else}} - {{ $entry.Size | humanizeBytes }} - + {{ $entry.Size | humanizeBytes }} {{end}} </td> - <td> + <td nowrap> {{ $entry.Timestamp.Format "2006-01-02 15:04" }} </td> </tr> |
