salix/front/core/components/treeview/child.html

21 lines
740 B
HTML
Raw Permalink Normal View History

2019-10-16 06:56:13 +00:00
<div class="node clickable">
<vn-icon
class="arrow"
ng-class="{invisible: !$ctrl.item.sons}"
icon="keyboard_arrow_down"
translate-attr="::{title: 'Toggle'}">
</vn-icon>
<section class="content"></section>
<section class="buttons" ng-if="::!$ctrl.treeview.readOnly">
<vn-icon-button translate-attr="::{title: 'Remove'}"
icon="delete"
2019-10-24 08:17:32 +00:00
ng-click="$ctrl.treeview.onRemove($event, $ctrl.item)"
2019-10-16 06:56:13 +00:00
ng-if="$ctrl.item.parent">
</vn-icon-button>
<vn-icon-button translate-attr="::{title: 'Create'}"
icon="add_circle"
2019-10-24 08:17:32 +00:00
ng-click="$ctrl.treeview.onCreate($event, $ctrl.item)">
2019-10-16 06:56:13 +00:00
</vn-icon-button>
</section>
</div>