walnut_launchpad.html/templates/widgets/filetree.html

30 lines
1.0 KiB
HTML
Raw Normal View History

2017-09-25 23:15:52 +00:00
<div class="text-left">
<div class="row">
<ul class="breadcrumb">
2017-09-26 19:06:05 +00:00
<li ng-repeat="breadcrumb in vm.breadcrumbs track by $index">
<a ng-click="vm.doSomething(breadcrumb)" data="{{ breadcrumb }}">{{ breadcrumb }}</a>
2017-09-25 23:15:52 +00:00
<!-- <li class="active">Data</li> -->
</li>
</ul>
</div>
<div class="row">
<ul class="tree ls-none">
<li class="directories-go-here" ng-repeat="directory in vm.siteDirectories track by $index">
<input type="checkbox" id="{{ r.challenge }}{{ $index }}" />
2017-09-26 19:06:05 +00:00
<label class="tree_label" for="{{ r.challenge }}{{ $index }}" ng-click="vm.getDirectories(directory)" data="{{ directory }}">{{ directory }}</label>
2017-09-25 23:15:52 +00:00
</li>
2017-09-26 19:06:05 +00:00
</ul>
<ul class="tree ls-none">
<li ng-repeat="file in vm.siteFiles track by $index">
<span class="tree_label">{{ file }}</span>
2017-09-25 23:15:52 +00:00
</li>
</ul>
</div>
<hr>
<div class="row">
<div class="col-lg-12">
<pre style="font-size: 10px;">{{ vm.folderStructure | stringify }}</pre>
</div>
</div>
</div>