mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUAC-1172: Provide root-level breadcrumb.
This commit is contained in:
@@ -21,22 +21,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#filesystem-menu .header h2 {
|
#filesystem-menu .header h2 {
|
||||||
|
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
padding-left: 3.5em;
|
|
||||||
|
|
||||||
background-size: 1.5em 1.5em;
|
|
||||||
-moz-background-size: 1.5em 1.5em;
|
|
||||||
-webkit-background-size: 1.5em 1.5em;
|
|
||||||
-khtml-background-size: 1.5em 1.5em;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: 1em center;
|
|
||||||
background-image: url('images/drive.png');
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#filesystem-menu .header {
|
#filesystem-menu .header {
|
||||||
@@ -71,3 +59,17 @@
|
|||||||
background-color: #CDA;
|
background-color: #CDA;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#filesystem-menu .header.breadcrumbs .breadcrumb.root {
|
||||||
|
background-size: 1.5em 1.5em;
|
||||||
|
-moz-background-size: 1.5em 1.5em;
|
||||||
|
-webkit-background-size: 1.5em 1.5em;
|
||||||
|
-khtml-background-size: 1.5em 1.5em;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
background-image: url('images/drive.png');
|
||||||
|
width: 2em;
|
||||||
|
height: 2em;
|
||||||
|
padding: 0;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
@@ -175,8 +175,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Breadcrumbs -->
|
<!-- Breadcrumbs -->
|
||||||
<div class="header breadcrumbs" ng-show="getPath(filesystemMenuContents.currentDirectory).length">
|
<div class="header breadcrumbs"><div
|
||||||
<div class="breadcrumb" ng-repeat="file in getPath(filesystemMenuContents.currentDirectory)"
|
class="breadcrumb root"
|
||||||
|
ng-click="changeDirectory(filesystemMenuContents, filesystemMenuContents.root)"></div><div
|
||||||
|
class="breadcrumb"
|
||||||
|
ng-repeat="file in getPath(filesystemMenuContents.currentDirectory)"
|
||||||
ng-click="changeDirectory(filesystemMenuContents, file)">{{file.name}}</div>
|
ng-click="changeDirectory(filesystemMenuContents, file)">{{file.name}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user