aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server_ui
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-13 15:42:42 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-13 15:42:42 -0800
commit7ce647f27e756b8f09c0dc0c7ca687e243d91ae0 (patch)
treea3bd0ee96d153b2c4da1c4d6bf4aa82034452712 /weed/server/volume_server_ui
parent4bd8a692d80801f3864cf9ce4325908529a0f6ef (diff)
downloadseaweedfs-7ce647f27e756b8f09c0dc0c7ca687e243d91ae0.tar.xz
seaweedfs-7ce647f27e756b8f09c0dc0c7ca687e243d91ae0.zip
support customizable disk type
Diffstat (limited to 'weed/server/volume_server_ui')
-rw-r--r--weed/server/volume_server_ui/templates.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/server/volume_server_ui/templates.go b/weed/server/volume_server_ui/templates.go
index 2a93c3441..6a8bb6f55 100644
--- a/weed/server/volume_server_ui/templates.go
+++ b/weed/server/volume_server_ui/templates.go
@@ -69,7 +69,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<thead>
<tr>
<th>Path</th>
- <th>Type</th>
+ <th>Disk</th>
<th>Total</th>
<th>Free</th>
<th>Usage</th>
@@ -129,6 +129,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<tr>
<th>Id</th>
<th>Collection</th>
+ <th>Disk</th>
<th>Data Size</th>
<th>Files</th>
<th>Trash</th>
@@ -141,6 +142,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<tr>
<td><code>{{ .Id }}</code></td>
<td>{{ .Collection }}</td>
+ <td>{{ .DiskType }}</td>
<td>{{ bytesToHumanReadable .Size }}</td>
<td>{{ .FileCount }}</td>
<td>{{ .DeleteCount }} / {{bytesToHumanReadable .DeletedByteCount}}</td>