mirror of https://github.com/rancher/ui.git
36 lines
1.3 KiB
Handlebars
36 lines
1.3 KiB
Handlebars
<div>
|
|
<button class="btn bg-link icon-btn" {{action "addDisk"}}>
|
|
<i class="icon icon-plus text-small"/>
|
|
<span>{{t 'formDisks.addDiskLabel'}}</span>
|
|
</button>
|
|
<button class="btn bg-link icon-btn ml-20" {{action "addRootDisk"}} disabled={{hasRoot}}>
|
|
<i class="icon icon-plus text-small"></i>
|
|
<span>{{t 'formDisks.addRootDiskLabel'}}</span>
|
|
</button>
|
|
</div>
|
|
|
|
{{#if disksArray.length}}
|
|
<table class="table fixed no-lines no-top-padding tight">
|
|
<tr class="text-muted">
|
|
<th>{{t 'formDisks.name.label'}}*</th>
|
|
<th width="30"> </th>
|
|
<th>{{t 'formDisks.size.label'}}</th>
|
|
<th width="30"> </th>
|
|
<th width="100">{{t 'formDisks.readIops.label'}}</th>
|
|
<th width="30"> </th>
|
|
<th width="100">{{t 'formDisks.writeIops.label'}}</th>
|
|
<th width="30"> </th>
|
|
<th width="130">{{t 'formDisks.driver.label'}}</th>
|
|
<th width="50"></th>
|
|
</tr>
|
|
{{#each disksArray as |disk|}}
|
|
{{disk-row disk=disk driverChoices=driverChoices remove=(action "removeDisk" disk)}}
|
|
{{/each}}
|
|
</table>
|
|
{{/if}}
|
|
|
|
|
|
<button class="btn bg-link icon-btn" {{action "addRule" true}}>
|
|
<i class="btn bg-link icon-btn"/>
|
|
<span>{{t 'formBalancerRules.addSelectorLabel'}}</span>
|
|
</button> |