|
|
|
@ -74,7 +74,7 @@
|
|
|
|
|
<div class="col-sm-12 form-inline" style="margin-top: 10px;">
|
|
|
|
|
<div ng-repeat="portBinding in formValues.Ports" style="margin-top: 2px;">
|
|
|
|
|
<!-- host-port -->
|
|
|
|
|
<div class="input-group col-sm-4 input-group-sm">
|
|
|
|
|
<div class="input-group col-sm-3 input-group-sm">
|
|
|
|
|
<span class="input-group-addon">host</span>
|
|
|
|
|
<input type="text" class="form-control" ng-model="portBinding.PublishedPort" placeholder="e.g. 80 or 1.2.3.4:80 (optional)">
|
|
|
|
|
</div>
|
|
|
|
@ -83,17 +83,21 @@
|
|
|
|
|
<i class="fa fa-long-arrow-right" aria-hidden="true"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<!-- container-port -->
|
|
|
|
|
<div class="input-group col-sm-4 input-group-sm">
|
|
|
|
|
<div class="input-group col-sm-3 input-group-sm">
|
|
|
|
|
<span class="input-group-addon">container</span>
|
|
|
|
|
<input type="text" class="form-control" ng-model="portBinding.TargetPort" placeholder="e.g. 80">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- !container-port -->
|
|
|
|
|
<!-- protocol-actions -->
|
|
|
|
|
<div class="input-group col-sm-3 input-group-sm">
|
|
|
|
|
<div class="input-group col-sm-5 input-group-sm">
|
|
|
|
|
<div class="btn-group btn-group-sm">
|
|
|
|
|
<label class="btn btn-primary" ng-model="portBinding.Protocol" uib-btn-radio="'tcp'">TCP</label>
|
|
|
|
|
<label class="btn btn-primary" ng-model="portBinding.Protocol" uib-btn-radio="'udp'">UDP</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group btn-group-sm">
|
|
|
|
|
<label class="btn btn-primary" ng-model="portBinding.PublishMode" uib-btn-radio="'ingress'">Ingress</label>
|
|
|
|
|
<label class="btn btn-primary" ng-model="portBinding.PublishMode" uib-btn-radio="'host'">Host</label>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="btn btn-sm btn-danger" type="button" ng-click="removePortBinding($index)">
|
|
|
|
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
|
|
|
|
</button>
|
|
|
|
|