diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-12-02 23:23:54 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-12-02 23:23:54 -0800 |
| commit | 1becbce65723cf30d36e1af23f49fe3e2a88871d (patch) | |
| tree | b5fac4d747b86153bc09afa99493f392b5cecfa5 /weed/server/volume_server_ui | |
| parent | 70648d35ad1a8321e2e1e51a48f781865907f015 (diff) | |
| download | seaweedfs-1becbce65723cf30d36e1af23f49fe3e2a88871d.tar.xz seaweedfs-1becbce65723cf30d36e1af23f49fe3e2a88871d.zip | |
display remote volumes on volume server ui page
Diffstat (limited to 'weed/server/volume_server_ui')
| -rw-r--r-- | weed/server/volume_server_ui/templates.go | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/weed/server/volume_server_ui/templates.go b/weed/server/volume_server_ui/templates.go index eafc0aaeb..1294604cd 100644 --- a/weed/server/volume_server_ui/templates.go +++ b/weed/server/volume_server_ui/templates.go @@ -129,6 +129,36 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC </div> <div class="row"> + <h2>Remote Volumes</h2> + <table class="table table-striped"> + <thead> + <tr> + <th>Id</th> + <th>Collection</th> + <th>Size</th> + <th>Files</th> + <th>Trash</th> + <th>Remote</th> + <th>Key</th> + </tr> + </thead> + <tbody> + {{ range .RemoteVolumes }} + <tr> + <td><code>{{ .Id }}</code></td> + <td>{{ .Collection }}</td> + <td>{{ .Size }} Bytes</td> + <td>{{ .FileCount }}</td> + <td>{{ .DeleteCount }} / {{.DeletedByteCount}} Bytes</td> + <td>{{ .RemoteStorageName }}</td> + <td>{{ .RemoteStorageKey }}</td> + </tr> + {{ end }} + </tbody> + </table> + </div> + + <div class="row"> <h2>Erasure Coding Shards</h2> <table class="table table-striped"> <thead> |
