Browse Source

volume ui add readonly status

pull/1171/head
Chris Lu 5 years ago
parent
commit
7ba6be2312
  1. 4
      weed/server/volume_server_ui/templates.go

4
weed/server/volume_server_ui/templates.go

@ -107,10 +107,11 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<tr> <tr>
<th>Id</th> <th>Id</th>
<th>Collection</th> <th>Collection</th>
<th>Size</th>
<th>Data Size</th>
<th>Files</th> <th>Files</th>
<th>Trash</th> <th>Trash</th>
<th>TTL</th> <th>TTL</th>
<th>ReadOnly</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -122,6 +123,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<td>{{ .FileCount }}</td> <td>{{ .FileCount }}</td>
<td>{{ .DeleteCount }} / {{.DeletedByteCount}} Bytes</td> <td>{{ .DeleteCount }} / {{.DeletedByteCount}} Bytes</td>
<td>{{ .Ttl }}</td> <td>{{ .Ttl }}</td>
<td>{{ .ReadOnly }}</td>
</tr> </tr>
{{ end }} {{ end }}
</tbody> </tbody>

Loading…
Cancel
Save