aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-02-23 22:00:19 -0800
committerChris Lu <chris.lu@gmail.com>2020-02-23 22:01:03 -0800
commitb06b7ca6e6257c16e006adeb8910864068b432b3 (patch)
tree6e645b4faf2424a8e237724be6b5ce969866b4a1
parent69aeafec679dac290e9b9803a802f0898db41fb1 (diff)
downloadseaweedfs-b06b7ca6e6257c16e006adeb8910864068b432b3.tar.xz
seaweedfs-b06b7ca6e6257c16e006adeb8910864068b432b3.zip
adjust UI
-rw-r--r--weed/server/volume_server_ui/templates.go4
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>