feat(volumes): Revise the UX for creation of NFS volumes (#3815)

* feat(volumes): Revise the UX for creation of NFS volumes

* feat(volume-creation): minor UI update

Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
pull/3796/head^2
Maxime Bajeux 2020-05-12 00:23:42 +02:00 committed by GitHub
parent c8f55ac896
commit b3af91cea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,9 @@
<input type="checkbox" name="useNFS" ng-model="$ctrl.data.useNFS" /> <input type="checkbox" name="useNFS" ng-model="$ctrl.data.useNFS" />
<i></i> <i></i>
</label> </label>
<div ng-if="$ctrl.data.useNFS" class="small text-muted" style="margin-top: 10px;">
Ensure <code>nfs-utils</code> are installed on your hosts.
</div>
</div> </div>
<!-- NFS-settings --> <!-- NFS-settings -->
<div ng-show="$ctrl.data.useNFS"> <div ng-show="$ctrl.data.useNFS">
@ -48,7 +51,7 @@
<div class="form-group col-md-12"> <div class="form-group col-md-12">
<label for="nfs_mountpoint" class="col-sm-2 col-md-1 control-label text-left">Mount point</label> <label for="nfs_mountpoint" class="col-sm-2 col-md-1 control-label text-left">Mount point</label>
<div class="col-sm-10 col-md-11"> <div class="col-sm-10 col-md-11">
<input type="text" class="form-control" ng-model="$ctrl.data.mountPoint" name="nfs_mountpoint" placeholder="e.g. /export/share or :/export/share" required /> <input type="text" class="form-control" ng-model="$ctrl.data.mountPoint" name="nfs_mountpoint" placeholder="e.g. /export/share, :/export/share, /share or :/share" required />
</div> </div>
</div> </div>
<div class="form-group col-md-12" ng-show="nfsInformationForm.nfs_mountpoint.$invalid"> <div class="form-group col-md-12" ng-show="nfsInformationForm.nfs_mountpoint.$invalid">