diff options
Diffstat (limited to 'src/app/vnfs/myvnfs/myvnfs.component.html')
-rw-r--r-- | src/app/vnfs/myvnfs/myvnfs.component.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/app/vnfs/myvnfs/myvnfs.component.html b/src/app/vnfs/myvnfs/myvnfs.component.html index 097cf1e..3bfabc3 100644 --- a/src/app/vnfs/myvnfs/myvnfs.component.html +++ b/src/app/vnfs/myvnfs/myvnfs.component.html @@ -34,7 +34,7 @@ limitations under the License. </div> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> - <div class="table-responsive" style="height:600px; overflow: auto;"> + <div class="table-responsive" style="height:auto; overflow: auto;"> <table class="table"> <thead> <tr> @@ -54,7 +54,6 @@ limitations under the License. <tr *ngFor="let item of vnfData | orderBy:sortBy:sortOrder | tableFilter:filterQuery:filter"> <td>{{item['vnf-type']}}</td> <td>{{item['vnfc-type']}}</td> - <!--td>{{defineData(item)}}</td--> <!-- <td>{{item.incart}}</td> --> <!-- <td>{{item.protocol}}</td> <td>{{item.action}}</td> --> @@ -85,9 +84,6 @@ limitations under the License. </div> </div> <div class="col-lg-12-ln2"> - <!-- <button type="button" (click)="buildNewDesign(content)" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary">Create New - VNF Type - </button> --> <button type="button" (click)="createVnfcModal.open()" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary"> Create New VNF Type </button> @@ -97,7 +93,7 @@ limitations under the License. <!-- <ng-template #content let-c="close" let-d="dismiss"> <form ngNativeValidate (ngSubmit)="c('yes')"> <div class="modal-header"> - <h4 class="modal-title">Enter VNF Type</h4> + <h4 class="modal-title">Enter VNF type and VNFC to proceed</h4> <button type="button" class="close" aria-label="Close" (click)="d('Cross click')"> <span aria-hidden="true">×</span> </button> @@ -107,25 +103,29 @@ limitations under the License. <div class="form-group row"> <label for="example-text-input" class="col-12 col-form-label">Enter Vnf Type</label> <div class="col-12"> - <input pattern=".*[^ ].*" required name="vnfType" class="form-control" (ngModelChange)="validateVnfName($event)" [(ngModel)]="vnfType" type="text" id="vnfType"> - <span class="error-message">{{errorMessage}}</span> + <input required name="vnfType" class="form-control" [(ngModel)]="vnfType" type="text" id="vnfType"> </div> - </div> <div class="form-check"> <label class="form-check-label"> - <input name="vnfcRequired" class="form-check-input" [(ngModel)]="vnfcRequired" type="checkbox" + <input name="vnfcRequired" class="form-check-input" [(ngModel)]="vnfcRequired" type="checkbox" id="vnfcRequired"> - This VNF has VNFC templates + Enter vnfc info </label> </div> + <div class="form-group row" *ngIf="vnfcRequired"> + <label for="example-search-input" class="col-12 col-form-label">Enter Vnfc Type</label> + <div class="col-12"> + <input required name="vnfcType" class="form-control" [(ngModel)]="vnfcType" type="text" id="vnfcType"> + </div> + </div> </div> <div class="modal-footer"> <button type="button" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent - " (click)="c('no')">Proceed To Upload + " (click)="c('yes')">Proceed anyway </button> - <button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary" [disabled]="invalid">Next + <button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary">Next </button> </div> @@ -164,4 +164,4 @@ limitations under the License. </button> </modal-footer> </form> -</modal>
\ No newline at end of file +</modal> |