summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html')
-rw-r--r--usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html57
1 files changed, 29 insertions, 28 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html
index 8aa7bd61..3409c8fa 100644
--- a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html
+++ b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.html
@@ -18,10 +18,10 @@
<div class="model creation-model">
<div class="top-title">
- <h3 class="title fl">{{createParams.commonParams.templateType}} Instance Creation</h3>
+ <h3 class="title fl">{{createParams.commonParams.templateType}} {{"i18nTextDefine_InstanceCreation" | translate}} </h3>
<div class="fl" style="width: 20%">
- <button class="submit" nz-button (click)="submit()"><i
- class="anticon anticon-plus" style="transform: scale(1.5);line-height: 15px;margin-right: 5px;"></i><span>Create</span></button>
+ <button class="submit" nz-button (click)="submit()"><span> {{"i18nTextDefine_Create" | translate}} </span>
+ </button>
<button class="back" nz-button (click)="goback()">
<i class="anticon anticon-arrow-left" style="transform: scale(1.5)"></i>
</button>
@@ -30,31 +30,32 @@
<!-- chart -->
<div class="chart">
<span style="padding: 25px;display: inline-block;">
- Instance Topology
+ {{"i18nTextDefine_InstanceTopology" | translate}}
</span>
<div id="createChart">
<svg width="100%" height="100%">
- <image id="domain" xlink:href="../../assets/images/domain1.png" style="width: 15%"
+ <image id="domain" xlink:href="assets/images/domain1.png" style="width: 15%"
x="40%" y="0"/>
</svg>
- <!-- <p class="siteNameP" [ngStyle]="siteNameStyle">{{ siteName }}</p> -->
</div>
</div>
<div class="creation">
<nz-tabset [nzTabPosition]="'top'" [nzShowPagination]=false [nzTabBarGutter]="'2'" [nzTabBarStyle]=tabBarStyle>
- <nz-tab nzTitle="sdwanvpnresource_list">
+ <nz-tab nzTitle="Service Info">
+ <div class="service-title" style="clear: both">
+ <span style="color: red;">*</span><span class="lable" style="width: 60px">name:</span>
+ <input nz-input [(ngModel)]="this.templateParameters.service['name']" required="required">
+ <span style="color: red;">*</span><span class="lable">description:</span>
+ <input nz-input [(ngModel)]="this.templateParameters.service['description']">
+ </div>
+ </nz-tab>
+ <nz-tab nzTitle="Sdwanvpnresource List">
<div class="sotnvpn clearfix">
- <div class="service-title" style="clear: both">
- <span style="color: red;">*</span><span class="lable" style="width: 50px">name:</span>
- <input nz-input [(ngModel)]="this.templateParameters.service['name']" required="required">
- <span style="color: red;">*</span><span class="lable">description:</span>
- <input nz-input [(ngModel)]="this.templateParameters.service['description']">
- </div>
<div style="clear: both;height: 10px">
<h3 style="float: left;color: #3C4F8C">sdwanVPN List</h3>
<button nz-button (click)="addSotnvpn()" class="addListBtn"
style="float: right;margin-right: 10px"><i class="anticon anticon-plus"
- style="transform: scale(1.2);font-weight: 700"></i>Add
+ style="transform: scale(1.2);font-weight: 700"></i> {{"i18nTextDefine_Add" | translate}}
</button>
</div>
<nz-table #sotnVpnTable [nzData]="sotnVpnTableData"
@@ -86,13 +87,13 @@
</nz-table>
</div>
</nz-tab>
- <nz-tab nzTitle="sdwansiteresource_list">
+ <nz-tab nzTitle="Sdwansiteresource List">
<div class="site">
- <div>
+ <div style="height: 10px">
<h3 style="float: left;color: #3C4F8C">Site List</h3>
<button nz-button (click)="addSite()" class="addListBtn"
style="float: right;margin-right: 10px"><i class="anticon anticon-plus"
- style="transform: scale(1.2);font-weight: 700"></i>Add
+ style="transform: scale(1.2);font-weight: 700"></i>{{"i18nTextDefine_Add" | translate}}
</button>
</div>
<nz-table #siteTable [nzData]="siteTableData"
@@ -134,7 +135,7 @@
</div>
<!-- sotnVpnmodel -->
<div class="sotnnpnmodel" *ngIf="sotnVpnModelShow">
- <h3>sdwanvpnresource_list</h3>
+ <h3> {{"i18nTextDefine_Base" | translate}} </h3>
<div class="inputs">
<ul>
<li *ngFor="let item of this.templateParameters.sotnvpn.sdwanvpnresource_list">
@@ -144,11 +145,11 @@
</ul>
</div>
<div>
- <h3>sdwansitelan_list</h3>
+ <h3>Sdwansitelan List</h3>
<div>
<div style="width: 100%;text-align: right">
<button nz-button (click)="addSotnSdwansitelan()" class="addListBtn"><i class="anticon anticon-plus"
- style="transform: scale(1.2);font-weight: 700;"></i>Add
+ style="transform: scale(1.2);font-weight: 700;"></i>{{"i18nTextDefine_Add" | translate}}
</button>
</div>
<table class="siteWanTab">
@@ -185,13 +186,13 @@
</div>
<div class="action">
- <button nz-button nzType="primary" (click)="addSotnVpn_cancel()">Cancel</button>
- <button nz-button nzType="primary" (click)="addSotnVpn_OK()">Add</button>
+ <button nz-button nzType="primary" (click)="addSotnVpn_cancel()">{{"i18nTextDefine_Cancel" | translate}}</button>
+ <button nz-button nzType="primary" (click)="addSotnVpn_OK()">{{"i18nTextDefine_Add" | translate}}</button>
</div>
</div>
<!-- sitemodel -->
<div class="sitemodel" *ngIf="siteModelShow">
- <h3>sdwansiteresource_list</h3>
+ <h3> {{"i18nTextDefine_Base" | translate}} </h3>
<div class="inputs">
<ul>
<li *ngFor="let item of this.templateParameters.site.sdwansiteresource_list">
@@ -201,7 +202,7 @@
</ul>
</div>
<div>
- <h3>sdwandevice_list</h3>
+ <h3>Sdwandevice</h3>
<div class="inputs">
<ul>
<li *ngFor="let item of this.templateParameters.site.sdwandevice_list">
@@ -210,11 +211,11 @@
required="{{item.required==true ? 'required':null}}"></li>
</ul>
</div>
- <h3>sdwansitewan_list</h3>
+ <h3>Sdwansitewan List</h3>
<div>
<div style="width: 100%;text-align: right">
<button nz-button (click)="addSiteWan()" class="addListBtn"><i class="anticon anticon-plus"
- style="transform: scale(1.2);font-weight: 700;"></i>Add
+ style="transform: scale(1.2);font-weight: 700;"></i>{{"i18nTextDefine_Add" | translate}}
</button>
</div>
<table class="siteWanTab">
@@ -251,8 +252,8 @@
</div>
<div class="action">
- <button nz-button nzType="primary" (click)="addsite_cancel()">Cancel</button>
- <button nz-button nzType="primary" (click)="addsite_OK()">Add</button>
+ <button nz-button nzType="primary" (click)="addsite_cancel()">{{"i18nTextDefine_Cancel" | translate}}</button>
+ <button nz-button nzType="primary" (click)="addsite_OK()">{{"i18nTextDefine_Add" | translate}}</button>
</div>
</div>
<div class="mask" *ngIf="siteModelShow || sotnVpnModelShow"></div>