-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit-categorie-dialog-template.php
More file actions
32 lines (30 loc) · 1 KB
/
Copy pathedit-categorie-dialog-template.php
File metadata and controls
32 lines (30 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<md-dialog aria-label="List dialog" flex="50">
<md-dialog-content>
<div layout="row" layout-wrap="layout-wrap">
<div flex="100" layout-margin="layout-margin">
<h3>Edit categorie</h3>
<md-input-container class="no-margin-bottom md-block">
<input placeholder="Name" type="text" ng-model="currentCat.name"/>
</md-input-container>
<div>
Categories :
</div>
<treecontrol class="tree-light"
tree-model="tree"
on-selection="showSelected(node)">
{{node.name}}
</treecontrol>
<div>
Parent categorie :
<span class="cat" ng-if="selectedNode.name != null">{{selectedNode.name}}</span>
<span ng-if="selectedNode.name == null">no parent, element will be placed at root</span>
</div>
</div>
</div>
</md-dialog-content>
<md-dialog-actions>
<md-button ng-click="edit()" class="md-primary">
Modify
</md-button>
</md-dialog-actions>
</md-dialog>