Fixup mounts ui layout in app configuration

This commit is contained in:
Johannes Zellner
2020-10-30 12:37:32 +01:00
parent da726872ef
commit 04299a7436

View File

@@ -836,17 +836,14 @@
<tbody>
<tr ng-repeat="mount in storage.mounts">
<td>
<select class="form-control" ng-model="mount.volume" ng-options="v as v.name + ' (' + v.hostPath + ')' for v in volumes">
</select>
<multiselect ng-model="mount.volume" data-compare-by="hostPath" options="volume.name for volume in volumes" data-multiple="false" filter-after-rows="5" scroll-after-rows="10"></multiselect>
<!-- <select class="form-control input-xs" ng-model="mount.volume" ng-options="v as v.name + ' (' + v.hostPath + ')' for v in volumes"></select> -->
</td>
<td class="text-left elide-table-cell hidden-xs hidden-sm">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="mount.readOnly">
</label>
</div>
</td>
<td class="text-right no-wrap" style="vertical-align: bottom">
<td class="text-left" style="vertical-align: middle;">
<input type="checkbox" ng-model="mount.readOnly" style="margin-top: initial;"/>
</td>
<td class="text-right no-wrap" style="vertical-align: middle">
<button class="btn btn-danger btn-xs" ng-click="storage.delMount($event, $index)"><i class="far fa-trash-alt"></i></button>
</td>
</tr>