GUAC-1172: Implement navigation via breadcrumbs - no more tree.

This commit is contained in:
Michael Jumper
2015-07-01 15:47:01 -07:00
parent c673de30e1
commit 149fba6737
8 changed files with 131 additions and 38 deletions

View File

@@ -174,6 +174,12 @@
<button class="back" ng-click="hideFilesystemMenu()">Back</button>
</div>
<!-- Breadcrumbs -->
<div class="header breadcrumbs" ng-show="getPath(filesystemMenuContents.currentDirectory).length">
<div class="breadcrumb" ng-repeat="file in getPath(filesystemMenuContents.currentDirectory)"
ng-click="changeDirectory(filesystemMenuContents, file)">{{file.name}}</div>
</div>
<!-- Scrollable body -->
<div class="menu-body">
<guac-file-browser client="client" filesystem="filesystemMenuContents"></guac-file-browser>