You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/plugins/configs/html/glusterfsSetting.html

78 lines
3.7 KiB

<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" ng-model="volumes">
<div class="row">
<div class="mb10">
<button class="btn sj_btn_green" style="color:#fff;
" ng-click="createGfs()">
<span class="glyphicon glyphicon-plus "></span> 添加
</button>
</div>
</div>
<div class="row" ng-repeat="volume in volumes">
<table class="table sj_content_table sj_table_border">
<thead class="no-scope">
<tr>
<th ng-show="volume.status" class="sj_c_green table-header sj_table_td00">已启用</th>
<th ng-hide="volume.status" class="sj_c_green table-header sj_table_td00">已停止</th>
<th class="no-fade table-header sj_table_td06">
<span class="">{{volume.name}}</span>
</th>
<th class="no-fade table-header sj_table_td02">
<span class="">云路径:{{volume.path}}</span>
</th>
<th class="no-fade table-header sj_table_td02">
<span class=""></span>
</th>
<th class="no-fade table-header">
<span class="">已用&nbsp;{{volume.formatUsedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;{{volume.formatTotalSize}}</span>
</th>
<th class="no-fade table-header sj_table_td01">
<button class="btn sj_btn" ng-click="editRow(volume)">
<span class="glyphicon glyphicon-pencil"></span>&nbsp;&nbsp;编辑
</button>
<button class="btn sj_btn" ng-click="showDeleteVolume.open(volume)">
<span class="glyphicon glyphicon-trash"></span>&nbsp;&nbsp;刪除
</button>
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="row in volume.brick track by $index" class="row.class">
<td>
<span ng-show="row.status" class="glyphicon glyphicon-ok sj_c_green "></span>
<span ng-hide="row.status" class="glyphicon glyphicon-remove sj_c_green "></span>
</td>
<td>
<span class="">服务器{{$index+1}}</span>
</td>
<td>
<span class="sj_table_td02">{{row.ip}}</span>
</td>
<td>
<span class="sj_table_td02">存储路径:{{row.path}}</span>
</td>
<td>
<span class="">已用&nbsp;{{row.formatUsedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;{{row.formatAllSize}}</span>
</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div hawtio-confirm-dialog="showDeleteVolume.show" title="是否删除任务?" ok-button-text="确认" cancel-button-text="取消" on-cancel="showDeleteVolume.onCancelled()" on-ok="showDeleteVolume.onOk()">
<div class="dialog-body">
<p>
是否删除:{{showDeleteVolume.item.name}} 云盘?
</p>
</div>
</div>
</div>