aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/myvnfs/myvnfs.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/vnfs/myvnfs/myvnfs.component.html')
-rw-r--r--src/app/vnfs/myvnfs/myvnfs.component.html28
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 3bfabc3..097cf1e 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:auto; overflow: auto;">
+ <div class="table-responsive" style="height:600px; overflow: auto;">
<table class="table">
<thead>
<tr>
@@ -54,6 +54,7 @@ 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> -->
@@ -84,6 +85,9 @@ 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>
@@ -93,7 +97,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 and VNFC to proceed</h4>
+ <h4 class="modal-title">Enter VNF Type</h4>
<button type="button" class="close" aria-label="Close" (click)="d('Cross click')">
<span aria-hidden="true">&times;</span>
</button>
@@ -103,29 +107,25 @@ 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 required name="vnfType" class="form-control" [(ngModel)]="vnfType" type="text" id="vnfType">
+ <input pattern=".*[^ ].*" required name="vnfType" class="form-control" (ngModelChange)="validateVnfName($event)" [(ngModel)]="vnfType" type="text" id="vnfType">
+ <span class="error-message">{{errorMessage}}</span>
</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">
- Enter vnfc info
+ This VNF has VNFC templates
</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('yes')">Proceed anyway
+ " (click)="c('no')">Proceed To Upload
</button>
- <button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary">Next
+ <button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary" [disabled]="invalid">Next
</button>
</div>
@@ -164,4 +164,4 @@ limitations under the License.
</button>
</modal-footer>
</form>
-</modal>
+</modal> \ No newline at end of file