-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.html
53 lines (43 loc) · 1.2 KB
/
template.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div>
<div style="float:left; width:30px">
<a href="" ng-click="toggleview()">
<span ng-show="childrenactive">-</span>
<span ng-hide="childrenactive">+</span>
</a>
</div>
<div style="margin-left:30px;">
<div>
<!--
tag
-->
<<span class="diggertag">{{ model._digger.tag }}</span>
<!--
id
-->
<span ng-show="model._digger.id">id="<span class="diggerid">{{ model._digger.id }}</span>"</span>
<!--
class
-->
<span ng-hide="model._digger.class.length<=0">class="<span class="diggerclass">{{ model._digger.class.join(' ') }}</span>"</span>
<!--
attributes
-->
<span ng-repeat="attr in display_attrs" >{{attr.title}}="<span id="attr{{$index}}">{{ attr.value }}</span>" </span>
<!--
no children
-->
<span ng-show="model._children.length<=0">
/ >
</span>
<span ng-hide="model._children.length<=0">
>
</span>
</div>
<div style="margin-left:20px">
<div ng-repeat="child in model._children">
<digger-html container="child" />
</div>
</div>
</<span id="diggertag">{{ model._digger.tag}}</span>>
</div>
</div>