walnut_launchpad.html/templates/widgets/filetree.html

38 lines
1.5 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 23:25:59 +00:00
<button type="button" class="close" ng-click="vm.showListFiles = false" ng-show="vm.showListFiles"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
2017-09-27 21:29:35 +00:00
<li ng-repeat="breadcrumb in vm.breadcrumbs track by $index" ng-click="vm.getDirectoriesFromBreadcrumbs(breadcrumb)" data="{{ breadcrumb }}" class="cp breadcrumbs-list">
{{ breadcrumb }}
2017-09-25 23:15:52 +00:00
</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>
2017-09-27 21:29:35 +00:00
<ul class="tree files-only ls-none">
2017-09-26 19:06:05 +00:00
<li ng-repeat="file in vm.siteFiles track by $index">
2017-09-27 21:29:35 +00:00
<span class="tree_label filez">{{ file }}</span>
2017-09-25 23:15:52 +00:00
</li>
2017-09-28 15:58:02 +00:00
<li class="move-back">
<a><i class="fa fa-plus"></i> Add Files</a>
</li>
2017-09-25 23:15:52 +00:00
</ul>
</div>
<hr>
<div class="row">
<div class="col-lg-12">
<pre style="font-size: 10px;">{{ vm.folderStructure | stringify }}</pre>
</div>
</div>
2017-09-26 23:25:59 +00:00
<div class="row">
<div class="text-center">
2017-09-28 15:58:02 +00:00
<button type="button" class="btn btn-danger" ng-click="vm.Sites.remove(r)"><i class="fa fa-trash"></i> Remove all Files</button>
2017-09-26 23:25:59 +00:00
</div>
</div>
2017-09-25 23:15:52 +00:00
</div>