Browse Source

adjust UI

pull/1213/head
Chris Lu 5 years ago
parent
commit
b06b7ca6e6
  1. 4
      weed/server/volume_server_ui/templates.go

4
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>

Loading…
Cancel
Save