2020-05-15 01:28:51 +00:00
<!-- CIFS - settings -->
< div ng-show = "$ctrl.data.useCIFS" >
< ng-form class = "form-horizontal" name = "cifsInformationForm" >
2022-01-17 05:53:32 +00:00
< div class = "col-sm-12 form-section-title" > CIFS Settings < / div >
2020-05-15 01:28:51 +00:00
<!-- address - input -->
< div class = "form-group col-md-12" >
2023-02-12 21:04:24 +00:00
< label for = "cifs_address" class = "col-sm-2 col-md-1 control-label required text-left" > Address< / label >
2020-05-15 01:28:51 +00:00
< div class = "col-sm-10 col-md-11" >
< input type = "text" class = "form-control" ng-model = "$ctrl.data.serverAddress" name = "cifs_address" placeholder = "e.g. my.cifs-server.com OR xxx.xxx.xxx.xxx" required / >
< / div >
< / div >
< div class = "form-group col-md-12" ng-show = "cifsInformationForm.cifs_address.$invalid" >
2022-08-12 04:47:44 +00:00
< div class = "small text-warning" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "cifsInformationForm.cifs_address.$error" >
2022-11-28 02:00:28 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" > < / pr-icon > This field is required.< / p >
2020-05-15 01:28:51 +00:00
< / div >
< / div >
< / div >
<!-- !address - input -->
<!-- mount - point - input -->
< div class = "form-group col-md-12" >
2023-02-12 21:04:24 +00:00
< label for = "cifs_share" class = "col-sm-2 col-md-1 control-label required text-left" > Share< / label >
2020-05-15 01:28:51 +00:00
< div class = "col-sm-10 col-md-11" >
< input type = "text" class = "form-control" ng-model = "$ctrl.data.share" name = "cifs_share" placeholder = "e.g. /myshare" required / >
< / div >
< / div >
< div class = "form-group col-md-12" ng-show = "cifsInformationForm.cifs_share.$invalid" >
2022-08-12 04:47:44 +00:00
< div class = "small text-warning" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "cifsInformationForm.cifs_share.$error" >
2022-11-28 02:00:28 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" > < / pr-icon > This field is required.< / p >
2020-05-15 01:28:51 +00:00
< / div >
< / div >
< / div >
<!-- !mount - point - input -->
<!-- version - input -->
< div class = "form-group col-md-12" >
< label for = "cifs_version" class = "col-sm-2 col-md-1 control-label text-left" > CIFS Version< / label >
< div class = "col-sm-10 col-md-11" >
< select class = "form-control" ng-model = "$ctrl.data.version" name = "cifs_version" ng-options = "version for version in $ctrl.data.versions" required > < / select >
< / div >
< / div >
< div class = "form-group col-md-12" ng-show = "cifsInformationForm.cifs_version.$invalid" >
2022-08-12 04:47:44 +00:00
< div class = "small text-warning" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "cifsInformationForm.cifs_version.$error" >
2022-11-28 02:00:28 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" > < / pr-icon > This field is required.< / p >
2020-05-15 01:28:51 +00:00
< / div >
< / div >
< / div >
<!-- !version - input -->
<!-- username -->
< div class = "form-group col-md-12" >
2023-02-12 21:04:24 +00:00
< label for = "cifs_username" class = "col-sm-2 col-md-1 control-label required text-left" > Username< / label >
2020-05-15 01:28:51 +00:00
< div class = "col-sm-10 col-md-11" >
< input type = "text" class = "form-control" ng-model = "$ctrl.data.username" name = "cifs_username" required / >
< / div >
< / div >
< div class = "form-group col-md-12" ng-show = "cifsInformationForm.cifs_username.$invalid" >
2022-08-12 04:47:44 +00:00
< div class = "small text-warning" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "cifsInformationForm.cifs_username.$error" >
2022-11-28 02:00:28 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" > < / pr-icon > This field is required.< / p >
2020-05-15 01:28:51 +00:00
< / div >
< / div >
< / div >
<!-- !username -->
<!-- password -->
< div class = "form-group col-md-12" >
< label for = "cifs_password" class = "col-sm-2 col-md-1 control-label text-left" > Password< / label >
< div class = "col-sm-10 col-md-11" >
< input type = "text" class = "form-control" ng-model = "$ctrl.data.password" name = "cifs_password" required / >
< / div >
< / div >
< div class = "form-group col-md-12" ng-show = "cifsInformationForm.password.$invalid" >
2022-08-12 04:47:44 +00:00
< div class = "small text-warning" >
2020-05-15 01:28:51 +00:00
< div ng-messages = "cifsInformationForm.cifs_password.$error" >
2022-11-28 02:00:28 +00:00
< p ng-message = "required" > < pr-icon icon = "'alert-triangle'" mode = "'warning'" > < / pr-icon > This field is required.< / p >
2020-05-15 01:28:51 +00:00
< / div >
< / div >
< / div >
<!-- !password -->
< / ng-form >
< / div >
<!-- !CIFS - settings -->