| {{t 'formPorts.hostIp.label'}} | {{/if}} | {{t 'formPorts.hostPort.label'}} | {{t 'formPorts.containerPort.label'}}{{#if editing}}{{field-required}}{{/if}} | {{t 'formPorts.protocol.label'}} | |||
|---|---|---|---|---|---|---|---|
| {{#if port.existing}} {{#if port.hostIP}} {{port.hostIP}} {{else}} {{t 'generic.any'}} {{/if}} {{else}} {{#if editing}} {{input class="form-control input-sm" type="text" value=port.hostIP placeholder=(t 'formPorts.hostIp.placeholder')}} {{else}} {{#if port.hostIP}} {{port.hostIP}} {{else}} {{t 'generic.na'}} {{/if}} {{/if}} {{/if}} | {{/if}} | {{#if editing}} {{input-integer class="form-control input-sm public" min="1" max="65535" value=port.hostPort placeholder=(t 'formPorts.hostPort.placeholder')}} {{else}} {{port.hostPort}} {{/if}} |
{{#if port.existing}}
{{port.containerPort}}
{{else}}
{{#if editing}}
{{input-integer class="form-control input-sm" min="1" max="65535" value=port.containerPort placeholder=(t 'formPorts.containerPort.placeholder')}}
{{else}}
{{port.containerPort}}
{{/if}}
{{/if}}
|
{{#if port.existing}}
{{upper-case port.protocol}}
{{else}}
{{#if editing}}
{{new-select
class="form-control input-sm"
content=protocolOptions
value=port.protocol
}}
{{else}}
{{port.protocol}}
{{/if}}
{{/if}}
|
{{#if port.existing}} {{else}} {{#if editing}} {{/if}} {{/if}} |