<div ng-controller="Configs.GfsController">
    <div class="row">
        <div hawtio-breadcrumbs></div>
    </div>
    <div class="row">
        <div hawtio-tabs></div>
    </div>
    <div class="container-content  sj_content">
        <div class="row">
            <div class="mb10">
                <button class="btn  sj_btn_green" style="color:#fff;" ng-click="create()">
                    <span class="glyphicon glyphicon-plus "></span> 添加
                </button>
            </div>
        </div>
        <div class="row" ng-repeat="volume in volumes">
            <table class="table  table-bordered sj_content_table " >
                <thead class="no-scope">
                <tr>
                    <th class="sj_c_green simple-table-checkbox" style="padding:0 10px;color: #58b358;">已启用</th>
                    <th class="no-fade table-header">
                        <span class="">{{volume.name}}</span>
                    </th>
                    <th class="no-fade table-header" colspan="2">
                        <span class="">云路径：{{volume.path}}</span>
                    </th>
                    
                    <th class="no-fade table-header">
                        <span class="">已用&nbsp;{{volume.usedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;共&nbsp;{{allSize}}</span>
                    </th>
                    <th class="no-fade table-header">
                        <button class="btn sj_btn" ng-click="editRow(volume)">
                            <span class="glyphicon glyphicon-pencil"></span>&nbsp;&nbsp;编辑
                        </button>
                    </th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="row in volume.brick track by $index" class="row.class">
                    <td>
                        <span class="glyphicon glyphicon-ok sj_c_green" style="padding:0 10px; color: #58b358;"></span>
                    </td>
                    <td >
                        <span class="">服务器{{$index+1}}</span>
                    </td>
                    <td >
                        <span class="">{{row.ip}}</span>
                    </td>
                    <td >
                        <span class="">存储路径:{{row.path}}</span>
                    </td>
                    <td >
                        <span class="">已用&nbsp;{{row.usedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;共&nbsp;{{row.availableSize}}</span>
                    </td>
                    <td></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
