You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocr/htmlweb/modeler/editor-app/partials/stencil-item-template.html

29 lines
1.2 KiB

<span ng-click="group.expanded = !group.expanded">
<i class="glyphicon"
ng-class="{'glyphicon-chevron-right': !group.expanded, 'glyphicon-chevron-down': group.expanded}"></i>
{{group.name | translate}}
</span>
<!-- Child groups -->
<ul ng-repeat="group in group.groups"
class="stencil-group stencil-group-non-root"
ng-class="{collapsed: !group.expanded, 'first': $first}"
ng-include="'editor-app/partials/stencil-item-template.html?version=5'">
</ul>
<!-- Group items -->
<ul>
<li ng-repeat="item in group.paletteItems" class="stencil-item"
id="{{item.id}}"
title="{{item.description | translate}}"
ng-model="draggedElement"
data-drag="true"
jqyoui-draggable="{onStart:'startDragCallback', onDrag:'dragCallback'}"
data-jqyoui-options="{revert: 'invalid', helper: 'clone', opacity : 0.5}">
<img ng-if="!item.customIcon" ng-src="editor-app/stencilsets/{{getStencilSetName()}}/icons/{{item.icon}}" width="16px;"
height="16px;"/>
<img ng-if="item.customIcon" ng-src="{{getImageUrl(item.icon)}}" width="16px;" height="16px;"/>
{{item.name | translate}}
</li>
</ul>