diff options
author | Lvbo163 <lv.bo163@zte.com.cn> | 2017-08-31 19:43:52 +0800 |
---|---|---|
committer | Lvbo163 <lv.bo163@zte.com.cn> | 2017-08-31 19:43:52 +0800 |
commit | e0597dc5b0a3718aa3b5991a65096c609d23dba2 (patch) | |
tree | f7b258112dfae0be3a51e5e6ea08189ce28f63fd /sdc-workflow-designer-ui/src/app/components/toolbar/toolbar.component.html | |
parent | 626d74e4c51aa47da5d5d643b5b7a04188b5552a (diff) |
change component structure
separate bpmn elements from toolbar component, and add rest task and gateway elements.
Issue-ID: SDC-266
Change-Id: I5aabe92b161a44bfc24290e93cd80b8d73dbe963
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/components/toolbar/toolbar.component.html')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/components/toolbar/toolbar.component.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sdc-workflow-designer-ui/src/app/components/toolbar/toolbar.component.html b/sdc-workflow-designer-ui/src/app/components/toolbar/toolbar.component.html index 91b935e9..bb52644f 100644 --- a/sdc-workflow-designer-ui/src/app/components/toolbar/toolbar.component.html +++ b/sdc-workflow-designer-ui/src/app/components/toolbar/toolbar.component.html @@ -13,13 +13,11 @@ -->
<div class="toolbar">
<div class="row">
- <button type="button" class="btn btn-secondary item ui-draggable" [attr.nodeType]="'startEvent'">
- <span>startEvent</span>
+ <button *ngFor="let nodeType of nodeTypes" type="button" [attr.nodeType]="nodeType"
+ class="btn btn-secondary item ui-draggable">
+ <div class="{{nodeType}}">
+ </div>
+ <span>{{getNameByType(nodeType)}}</span>
</button>
- <button type="button" class="btn btn-secondary item ui-draggable" [attr.nodeType]="'endEvent'">
- <span>endEvent</span>
- </button>
-
- <button type="button" class="btn btn-success" (click)="save()">Save</button>
</div>
</div>
|