-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.js
1 lines (1 loc) · 1.27 KB
/
template.js
1
module.exports = '<div>\n\n <div style="float:left; width:30px">\n <a href="" ng-click="toggleview()">\n <span ng-show="childrenactive">-</span>\n <span ng-hide="childrenactive">+</span>\n </a>\n </div>\n\n <div style="margin-left:30px;">\n\n <div>\n <!--\n tag\n -->\n <<span class="diggertag">{{ model._digger.tag }}</span> \n <!--\n id\n -->\n <span ng-show="model._digger.id">id="<span class="diggerid">{{ model._digger.id }}</span>"</span>\n <!--\n class\n -->\n <span ng-hide="model._digger.class.length<=0">class="<span class="diggerclass">{{ model._digger.class.join(\' \') }}</span>"</span>\n\n <!--\n attributes\n -->\n <span ng-repeat="attr in display_attrs" >{{attr.title}}="<span id="attr{{$index}}">{{ attr.value }}</span>" </span>\n\n <!--\n no children\n -->\n <span ng-show="model._children.length<=0">\n / >\n </span>\n <span ng-hide="model._children.length<=0">\n >\n </span>\n </div>\n \n <div style="margin-left:20px">\n <div ng-repeat="child in model._children">\n <digger-html container="child" />\n </div>\n </div>\n\n </<span id="diggertag">{{ model._digger.tag}}</span>>\n \n\n </div>\n\n</div>';