package app import ( "fmt" "time" "github.com/seaweedfs/seaweedfs/weed/admin/dash" ) templ VolumeDetails(data dash.VolumeDetailsData) {
{fmt.Sprintf("%d", data.Volume.Id)}
Server | Data Center | Rack | Size | File Count | Status | Actions |
---|---|---|---|---|---|---|
{data.Volume.Server} Primary | {data.Volume.DataCenter} | {data.Volume.Rack} | {formatBytes(int64(data.Volume.Size))} | {fmt.Sprintf("%d", data.Volume.FileCount)} | Active | Current Volume |
{replica.Server} | {replica.DataCenter} | {replica.Rack} | {formatBytes(int64(replica.Size))} | {fmt.Sprintf("%d", replica.FileCount)} | Replica | View |