2020-05-15 01:28:51 +00:00
<!-- NFS - settings -->
< div ng-show = "$ctrl.data.useNFS" >
< ng-form class = "form-horizontal" name = "nfsInformationForm" >
2022-01-17 05:53:32 +00:00
< div class = "col-sm-12 form-section-title" > NFS Settings < / div >
2020-05-15 01:28:51 +00:00
<!-- address - input -->
< div class = "form-group col-md-12" >
< label for = "nfs_address" class = "col-sm-2 col-md-1 control-label text-left" > Address< / label >
< div class = "col-sm-10 col-md-11" >
< input type = "text" class = "form-control" ng-model = "$ctrl.data.serverAddress" name = "nfs_address" placeholder = "e.g. my.nfs-server.com OR xxx.xxx.xxx.xxx" required / >
2018-08-09 08:33:16 +00:00
< / div >
2020-05-15 01:28:51 +00:00
< / div >
< div class = "form-group col-md-12" ng-show = "nfsInformationForm.nfs_address.$invalid" >
2022-07-25 23:04:01 +00:00
< div class = "small" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "nfsInformationForm.nfs_address.$error" >
2022-07-25 23:04:01 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" feather = "true" > < / pr-icon > This field is required.< / p >
2018-08-09 08:33:16 +00:00
< / div >
< / div >
2020-05-15 01:28:51 +00:00
< / div >
<!-- !address - input -->
<!-- version - input -->
< div class = "form-group col-md-12" >
< label for = "nfs_version" class = "col-sm-2 col-md-1 control-label text-left" > NFS Version< / label >
< div class = "col-sm-10 col-md-11" >
< select class = "form-control" ng-model = "$ctrl.data.version" name = "nfs_version" ng-options = "version for version in $ctrl.data.versions" required > < / select >
2018-08-09 08:33:16 +00:00
< / div >
2020-05-15 01:28:51 +00:00
< / div >
< div class = "form-group col-md-12" ng-show = "nfsInformationForm.nfs_version.$invalid" >
2022-07-25 23:04:01 +00:00
< div class = "small" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "nfsInformationForm.nfs_version.$error" >
2022-07-25 23:04:01 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" feather = "true" > < / pr-icon > This field is required.< / p >
2018-08-09 08:33:16 +00:00
< / div >
< / div >
2020-05-15 01:28:51 +00:00
< / div >
<!-- !version - input -->
<!-- mount - point - input -->
< 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 >
< div class = "col-sm-10 col-md-11" >
2020-07-05 23:21:03 +00:00
< 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
/>
2018-08-09 08:33:16 +00:00
< / div >
2020-05-15 01:28:51 +00:00
< / div >
< div class = "form-group col-md-12" ng-show = "nfsInformationForm.nfs_mountpoint.$invalid" >
2022-07-25 23:04:01 +00:00
< div class = "small" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "nfsInformationForm.nfs_mountpoint.$error" >
2022-07-25 23:04:01 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" feather = "true" > < / pr-icon > This field is required.< / p >
2018-08-09 08:33:16 +00:00
< / div >
< / div >
2020-05-15 01:28:51 +00:00
< / div >
<!-- !mount - point - input -->
<!-- options - input -->
< div class = "form-group col-md-12" >
< label for = "nfs_options" class = "col-sm-2 col-md-1 control-label text-left"
>Options
2022-07-03 23:21:25 +00:00
< portainer-tooltip message = "'Comma separated list of options'" > < / portainer-tooltip >
2020-05-15 01:28:51 +00:00
< / label >
< div class = "col-sm-10 col-md-11" >
< input type = "text" class = "form-control" ng-model = "$ctrl.data.options" name = "nfs_options" placeholder = "e.g. rw,noatime,tcp ..." required / >
2018-08-09 08:33:16 +00:00
< / div >
2020-05-15 01:28:51 +00:00
< / div >
< div class = "form-group col-md-12" ng-show = "nfsInformationForm.nfs_options.$invalid" >
2022-07-25 23:04:01 +00:00
< div class = "small" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "nfsInformationForm.nfs_options.$error" >
2022-07-25 23:04:01 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" feather = "true" > < / pr-icon > This field is required.< / p >
2018-08-09 08:33:16 +00:00
< / div >
< / div >
2020-05-15 01:28:51 +00:00
< / div >
<!-- !options - input -->
< / ng-form >
2020-04-10 21:54:53 +00:00
< / div >
2020-05-15 01:28:51 +00:00
<!-- !NFS - settings -->