summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-10-11 11:21:34 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-10-11 11:21:45 +0800
commit3a32288d1a4053e3bf561766c35cf27d5a938b38 (patch)
treea0178d79b5a6f339222769c6aed9fc716a306744 /usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html
parent8bc1e72e2874e5734965fd4647dc7fb682d4dd98 (diff)
feat: extract the notification bar of the onboard page
Change-Id: I4fcc0a1a5d4372d8b95127e2baa125e95d2c006d Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html')
-rw-r--r--usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html32
1 files changed, 6 insertions, 26 deletions
diff --git a/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html b/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html
index d4429c0b..374afe0d 100644
--- a/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html
+++ b/usecaseui-portal/src/app/views/services/onboard-vnf-vm/onboard-vnf-vm.component.html
@@ -81,9 +81,9 @@
<td>{{item.nsdUsageState}}</td>
<td>
<i [ngClass]="{'cannotclick': isUpdate}"
- class="anticon anticon-upload upicon" #upload_icon (click)="updataService(item.uuid,notificationModel)"
+ class="anticon anticon-upload upicon" #upload_icon (click)="updataService(item.uuid)"
*ngIf="item.uuid"></i>
- <i class="anticon anticon-delete" (click)="showDeleteConfirm(item.id,notificationModel)"
+ <i class="anticon anticon-delete" (click)="showDeleteConfirm(item.id)"
*ngIf="item.id"></i>
</td>
</tr>
@@ -98,9 +98,9 @@
<td>{{item.usageState}}</td>
<td>
<i [ngClass]="{'cannotclick': isUpdate}"
- class="anticon anticon-upload upicon" #upload_icon (click)="updataService(item.uuid,notificationModel)"
+ class="anticon anticon-upload upicon" #upload_icon (click)="updataService(item.uuid)"
*ngIf="item.uuid"></i>
- <i class="anticon anticon-delete" (click)="showDeleteConfirm(item.id,notificationModel)"
+ <i class="anticon anticon-delete" (click)="showDeleteConfirm(item.id)"
*ngIf="item.id"></i>
</td>
</tr>
@@ -113,31 +113,11 @@
<td>{{item.pnfdOnboardingState}}</td>
<td>{{item.pnfdUsageState}}</td>
<td>
- <i class="anticon anticon-delete" (click)="showDeleteConfirm(item.id,notificationModel)"></i>
+ <i class="anticon anticon-delete" (click)="showDeleteConfirm(item.id)"></i>
</td>
</tr>
</tbody>
</nz-table>
</nz-spin>
</div>
-<ng-template #notificationModel >
- <div class="ant-notification-notice-content">
- <div class="ant-notification-notice-with-icon">
- <span class="ant-notification-notice-icon">
- <img src="{{notificationAttributes.imgPath}}" alt="{{notificationAttributes.status}}">
- </span>
- <div class="ant-notification-notice-message">
- {{notificationAttributes.title}}&nbsp;
- {{"i18nTextDefine_"+notificationAttributes.action | translate}}&nbsp;&nbsp;{{"i18nTextDefine_"+notificationAttributes.status | translate}}
- </div>
- <div class="ant-notification-notice-description">
- <div class="notificationlist">
- <p>{{notificationAttributes.title}} id:&nbsp;</p>
- <span>{{ notificationAttributes.id }}</span>
- </div>
- </div>
- <div class="close-icons">{{"i18nTextDefine_Close" | translate}}</div>
- </div>
- </div>
-</ng-template>
-
+<app-notification #notification></app-notification> \ No newline at end of file