2016-12-25 20:34:02 +00:00
< rd-header >
< rd-header-title title = "Endpoint details" >
< i id = "loadingViewSpinner" class = "fa fa-cog fa-spin" > < / i >
< / rd-header-title >
< rd-header-content >
2017-07-08 08:23:00 +00:00
< a ui-sref = "endpoints" > Endpoints< / a > > < a ui-sref = "endpoint({id: endpoint.Id})" > {{ endpoint.Name }}< / a >
2016-12-25 20:34:02 +00:00
< / rd-header-content >
< / rd-header >
< div class = "row" >
< div class = "col-lg-12 col-md-12 col-xs-12" >
< rd-widget >
< rd-widget-body >
< form class = "form-horizontal" >
2017-09-14 06:08:37 +00:00
< div class = "col-sm-12 form-section-title" >
Configuration
< / div >
2016-12-25 20:34:02 +00:00
<!-- name - input -->
< div class = "form-group" >
2017-03-27 12:44:39 +00:00
< label for = "container_name" class = "col-sm-3 col-lg-2 control-label text-left" > Name< / label >
< div class = "col-sm-9 col-lg-10" >
2016-12-25 20:34:02 +00:00
< input type = "text" class = "form-control" id = "container_name" ng-model = "endpoint.Name" placeholder = "e.g. docker-prod01" >
< / div >
< / div >
<!-- !name - input -->
<!-- endpoint - url - input -->
< div class = "form-group" >
2017-03-27 12:44:39 +00:00
< label for = "endpoint_url" class = "col-sm-3 col-lg-2 control-label text-left" >
Endpoint URL
< portainer-tooltip position = "bottom" message = "URL or IP address of a Docker host. The Docker API must be exposed over a TCP port. Please refer to the Docker documentation to configure it." > < / portainer-tooltip >
< / label >
< div class = "col-sm-9 col-lg-10" >
2016-12-25 20:34:02 +00:00
< input ng-disabled = "endpointType === 'local'" type = "text" class = "form-control" id = "endpoint_url" ng-model = "endpoint.URL" placeholder = "e.g. 10.0.0.10:2375 or mydocker.mydomain.com:2375" >
< / div >
< / div >
<!-- !endpoint - url - input -->
2017-05-01 10:19:43 +00:00
<!-- endpoint - public - url - input -->
< div class = "form-group" >
< label for = "endpoint_public_url" class = "col-sm-3 col-lg-2 control-label text-left" >
Public IP
< portainer-tooltip position = "bottom" message = "URL or IP address where exposed containers will be reachable. This field is optional and will default to the endpoint URL." > < / portainer-tooltip >
< / label >
< div class = "col-sm-9 col-lg-10" >
2017-06-20 11:18:08 +00:00
< input type = "text" class = "form-control" id = "endpoint_public_url" ng-model = "endpoint.PublicURL" placeholder = "e.g. 10.0.0.10 or mydocker.mydomain.com" >
2017-05-01 10:19:43 +00:00
< / div >
< / div >
<!-- !endpoint - public - url - input -->
2017-09-14 06:08:37 +00:00
<!-- endpoint - security -->
< div ng-if = "endpointType === 'remote'" >
< div class = "col-sm-12 form-section-title" >
Security
2016-12-25 20:34:02 +00:00
< / div >
2017-09-14 06:08:37 +00:00
< por-endpoint-security form-data = "formValues.SecurityFormData" endpoint = "endpoint" > < / por-endpoint-security >
2016-12-25 20:34:02 +00:00
< / div >
2017-09-14 06:08:37 +00:00
<!-- !endpoint - security -->
2016-12-25 20:34:02 +00:00
< div class = "form-group" >
< div class = "col-sm-12" >
2017-09-14 06:08:37 +00:00
< button type = "button" class = "btn btn-primary btn-sm" ng-disabled = "!endpoint.Name || !endpoint.URL || (endpoint.TLS && ((endpoint.TLSVerify && !formValues.TLSCACert) || (endpoint.TLSClientCert && (!formValues.TLSCert || !formValues.TLSKey))))" ng-click = "updateEndpoint()" > Update endpoint< / button >
2016-12-25 20:34:02 +00:00
< a type = "button" class = "btn btn-default btn-sm" ui-sref = "endpoints" > Cancel< / a >
2017-09-14 06:08:37 +00:00
< i id = "updateResourceSpinner" class = "fa fa-cog fa-spin" style = "margin-left: 5px; display: none;" > < / i >
2016-12-25 20:34:02 +00:00
< / div >
< / div >
< / form >
< / rd-widget-body >
< / rd-widget >
< / div >
< / div >