mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
EE-3905 changes for item 1,2,3,4,9,10,12,13,14 (#7467)
This commit is contained in:
parent
95fb5a4baa
commit
b67f404d8d
14 changed files with 66 additions and 56 deletions
|
@ -40,9 +40,9 @@
|
|||
<select
|
||||
class="form-control"
|
||||
ng-model="mount.Source"
|
||||
ng-change="updateMount(service, mount)"
|
||||
ng-options="vol.Id as ((vol.Id|truncate:30) + ' - ' + (vol.Driver|truncate:30)) for vol in availableVolumes"
|
||||
ng-if="mount.Type === 'volume'"
|
||||
ng-change="updateMount(service, mount)"
|
||||
disable-authorization="DockerServiceUpdate"
|
||||
>
|
||||
<option selected disabled hidden value="">Select a volume</option>
|
||||
|
@ -57,7 +57,9 @@
|
|||
ng-disabled="isUpdating || (!isAdmin && !allowBindMounts && mount.Type === 'bind')"
|
||||
ng-if="mount.Type === 'bind'"
|
||||
/>
|
||||
<div class="col-sm-12 small" ng-show="!mount.Source"> <pr-icon icon="'alert-triangle'" mode="'warning'" feather="true"></pr-icon> Source is required. </div>
|
||||
<div class="col-sm-12 small text-warning" ng-show="!mount.Source">
|
||||
<pr-icon icon="'alert-triangle'" mode="'warning'" feather="true"></pr-icon> Source is required.
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<input
|
||||
|
@ -69,7 +71,9 @@
|
|||
ng-disabled="isUpdating"
|
||||
disable-authorization="DockerServiceUpdate"
|
||||
/>
|
||||
<div class="col-sm-12 small" ng-show="!mount.Target"> <pr-icon icon="'alert-triangle'" mode="'warning'" feather="true"></pr-icon> Target is required. </div>
|
||||
<div class="col-sm-12 small text-warning" ng-show="!mount.Target">
|
||||
<pr-icon icon="'alert-triangle'" mode="'warning'" feather="true"></pr-icon> Target is required.
|
||||
</div>
|
||||
</td>
|
||||
<td authorization="DockerServiceUpdate">
|
||||
<input type="checkbox" class="form-control" ng-model="mount.ReadOnly" ng-change="updateMount(service, mount)" ng-disabled="isUpdating" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue