stencil-item-template.html 1012 B

123456789101112131415161718192021222324252627
  1. <span ng-click="group.expanded = !group.expanded">
  2. <i class="glyphicon"
  3. ng-class="{'glyphicon-chevron-right': !group.expanded, 'glyphicon-chevron-down': group.expanded}"></i>
  4. {{group.name}}
  5. </span>
  6. <!-- Child groups -->
  7. <ul ng-repeat="group in group.groups"
  8. class="stencil-group stencil-group-non-root"
  9. ng-class="{collapsed: !group.expanded, 'first': $first}"
  10. ng-include="'editor-app/partials/stencil-item-template.html?version=4'">
  11. </ul>
  12. <!-- Group items -->
  13. <ul>
  14. <li ng-repeat="item in group.paletteItems" class="stencil-item"
  15. id="{{item.id}}"
  16. title="{{item.description}}"
  17. ng-model="draggedElement"
  18. data-drag="true"
  19. jqyoui-draggable="{onStart:'startDragCallback', onDrag:'dragCallback'}"
  20. data-jqyoui-options="{revert: 'invalid', helper: 'clone', opacity : 0.5}">
  21. <img ng-src="editor-app/stencilsets/bpmn2.0/icons/{{item.icon}}" width="16px;" height="16px;"/>
  22. {{item.name}}
  23. </li>
  24. </ul>