change component structure
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-ui / src / app / components / toolbar / toolbar.component.html
1 <!--\r
2 /**\r
3  * Copyright (c) 2017 ZTE Corporation.\r
4  * All rights reserved. This program and the accompanying materials\r
5  * are made available under the terms of the Eclipse Public License v1.0\r
6  * and the Apache License 2.0 which both accompany this distribution,\r
7  * and are available at http://www.eclipse.org/legal/epl-v10.html\r
8  * and http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Contributors:\r
11  *     ZTE - initial API and implementation and/or initial documentation\r
12  */\r
13 -->\r
14 <div class="toolbar">\r
15     <div class="row">\r
16         <button *ngFor="let nodeType of nodeTypes" type="button" [attr.nodeType]="nodeType"\r
17             class="btn btn-secondary item ui-draggable">\r
18             <div class="{{nodeType}}">\r
19             </div>\r
20             <span>{{getNameByType(nodeType)}}</span>\r
21         </button>\r
22     </div>\r
23 </div>\r