diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-02-23 22:00:19 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-02-23 22:01:03 -0800 |
| commit | b06b7ca6e6257c16e006adeb8910864068b432b3 (patch) | |
| tree | 6e645b4faf2424a8e237724be6b5ce969866b4a1 | |
| parent | 69aeafec679dac290e9b9803a802f0898db41fb1 (diff) | |
| download | seaweedfs-b06b7ca6e6257c16e006adeb8910864068b432b3.tar.xz seaweedfs-b06b7ca6e6257c16e006adeb8910864068b432b3.zip | |
adjust UI
| -rw-r--r-- | weed/server/volume_server_ui/templates.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/server/volume_server_ui/templates.go b/weed/server/volume_server_ui/templates.go index ac2a2bf69..1c1394369 100644 --- a/weed/server/volume_server_ui/templates.go +++ b/weed/server/volume_server_ui/templates.go @@ -83,7 +83,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC <th>Path</th> <th>Total</th> <th>Free</th> - <th>% Usage</th> + <th>Usage</th> </tr> </thead> <tbody> @@ -92,7 +92,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC <td>{{ .Dir }}</td> <td>{{ bytesToHumanReadble .All }}</td> <td>{{ bytesToHumanReadble .Free }}</td> - <td>{{ percentFrom .All .Used}}</td> + <td>{{ percentFrom .All .Used}}%</td> </tr> {{ end }} </tbody> |
