Order fs by mnt_point in the web UI

This commit is contained in:
Floran Brutel 2015-05-07 13:55:12 +02:00
parent 1ce36026b4
commit 0959389402

View File

@ -3,7 +3,7 @@
<div class="table-cell">Used</div>
<div class="table-cell">Total</div>
</div>
<div class="table-row" ng-repeat="fs in result['fs']">
<div class="table-row" ng-repeat="fs in result['fs'] | orderBy: 'mnt_point'">
<div class="table-cell text-left">{{fs.mnt_point}} ({{fs.device_name}})</div>
<div class="table-cell" ng-class="getClass('fs', 'fs_', fs.percent, 0)">
{{fs.size - fs.free | bytes}}