diff options
author | 2018-03-27 17:58:42 +0800 | |
---|---|---|
committer | 2018-03-27 17:58:42 +0800 | |
commit | 59884c775c9d06e2195401a09e08650a5cf37b20 (patch) | |
tree | 80a2db253939f7a3aeb6e7be45c517c87d748511 /sdc-workflow-designer-ui/src/app/app.component.html | |
parent | 8261a4ea8091c27b61ac581a852e2e18283b3cdd (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.html | 23 |
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 |