aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/app.component.html
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-03-27 17:58:42 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-03-27 17:58:42 +0800
commit59884c775c9d06e2195401a09e08650a5cf37b20 (patch)
tree80a2db253939f7a3aeb6e7be45c517c87d748511 /sdc-workflow-designer-ui/src/app/app.component.html
parent8261a4ea8091c27b61ac581a852e2e18283b3cdd (diff)
Display Extend Activities on WF Designer UI.
Display Extend Activities on WF Designer UI. Use Extend Activities to Design Workflow and Save Issue-ID: SDC-1130,SDC-1131 Change-Id: Iea62eb0edafb2270deaac89b458015e78d961cd0 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/app.component.html')
-rw-r--r--sdc-workflow-designer-ui/src/app/app.component.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/sdc-workflow-designer-ui/src/app/app.component.html b/sdc-workflow-designer-ui/src/app/app.component.html
index 93788ec5..d629bbd9 100644
--- a/sdc-workflow-designer-ui/src/app/app.component.html
+++ b/sdc-workflow-designer-ui/src/app/app.component.html
@@ -11,15 +11,20 @@
* ZTE - initial API and implementation and/or initial documentation
*/
-->
-<div class="main-content-wrapper">
- <b4t-toolbar class="tool-bar"></b4t-toolbar>
- <div class="design-area">
- <menus class="design-menus"></menus>
- <b4t-container class="design-container"></b4t-container>
- </div>
- <global-notice></global-notice>
+<div *ngIf="!isAuthorized" class="unauthorized-div">
+ <span>{{ 'WORKFLOW.UNAUTHORIZED' | translate }}</span>
</div>
+<div *ngIf="isAuthorized" class="authorized-div">
+ <div *ngIf="toscaLoaded && restLoaded && typeLoaded" class="main-content-wrapper">
+ <wfm-toolbar class="tool-bar"></wfm-toolbar>
+ <div class="design-area">
+ <menus class="design-menus"></menus>
+ <wfm-container class="design-container"></wfm-container>
+ </div>
+ <wfm-notice></wfm-notice>
+ </div>
-<div *ngIf="isLoading" class="loading-div">
- <div></div>
+ <div *ngIf="!(toscaLoaded && restLoaded && typeLoaded)" class="loading-div">
+ <div></div>
+ </div>
</div> \ No newline at end of file