mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-823: Render empty balancing connection groups on home screen as if they are connections.
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
<script type="text/ng-template" id="nestedItem.html">
|
<script type="text/ng-template" id="nestedItem.html">
|
||||||
<div class="{{item.type}}" ng-if="isVisible(item.type)"
|
<div class="{{item.type}}" ng-if="isVisible(item.type)"
|
||||||
ng-class="{
|
ng-class="{
|
||||||
|
balancer : item.balancing,
|
||||||
expanded : item.expanded,
|
expanded : item.expanded,
|
||||||
expandable : item.expandable,
|
expandable : item.expandable,
|
||||||
empty : !item.children.length
|
empty : !item.children.length
|
||||||
|
@@ -51,11 +51,11 @@ div.recent-connections div.connection {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.home-connection {
|
a.home-connection, .empty.balancer a.home-connection-group {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Show only expand/collapse icon for connection groups on home screen */
|
/* Show only expand/collapse icon for connection groups on home screen ... */
|
||||||
|
|
||||||
.all-connections .connection-group > .caption .icon {
|
.all-connections .connection-group > .caption .icon {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -64,3 +64,14 @@ a.home-connection {
|
|||||||
.all-connections .connection-group > .caption .icon.expand {
|
.all-connections .connection-group > .caption .icon.expand {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ... except for empty balancing groups, which should be rendered as if they
|
||||||
|
* are connections. */
|
||||||
|
|
||||||
|
.all-connections .connection-group.empty.balancer > .caption .icon {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.all-connections .connection-group.empty.balancer > .caption .icon.expand {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user