Make volume read-only checkbox a dropdown
This commit is contained in:
@@ -1010,7 +1010,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 40%">{{ 'app.storage.mounts.volume' | tr }}</th>
|
||||
<th class="text-left hidden-xs hidden-sm">{{ 'app.storage.mounts.readOnly' | tr }}</th>
|
||||
<th class="text-left hidden-xs hidden-sm">{{ 'app.storage.mounts.permissions.label' | tr }}</th>
|
||||
<th style="width: 100px" class="text-right">{{ 'main.actions' | tr }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -1020,7 +1020,10 @@
|
||||
<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>
|
||||
</td>
|
||||
<td class="text-left" style="vertical-align: middle;">
|
||||
<input type="checkbox" ng-model="mount.readOnly" style="margin-top: initial;"/>
|
||||
<select class="form-control" ng-model="mount.readOnly">
|
||||
<option value="true">{{ 'app.storage.mounts.permissions.readOnly' | tr }}</option>
|
||||
<option value="false">{{ 'app.storage.mounts.permissions.readWrite' | tr }}</option>
|
||||
</select>
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user