GUAC-1133: Add session placeholder.

This commit is contained in:
Michael Jumper
2015-03-19 14:38:23 -07:00
parent 292b01d475
commit ed3ee60cc5
6 changed files with 20 additions and 12 deletions

View File

@@ -41,16 +41,6 @@ div.recent-connections {
text-align: center;
}
.no-recent {
color: rgba(255, 255, 255, 0.5);
text-shadow: -1px -1px rgba(0, 0, 0, 0.5);
opacity: 0.5;
font-size: 2em;
font-weight: bolder;
}
div.recent-connections div.connection {
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;

View File

@@ -22,7 +22,7 @@
-->
<!-- Text displayed if no recent connections exist -->
<p class="no-recent" ng-hide="hasRecentConnections()">{{'HOME.INFO_NO_RECENT_CONNECTIONS' | translate}}</p>
<p class="placeholder" ng-hide="hasRecentConnections()">{{'HOME.INFO_NO_RECENT_CONNECTIONS' | translate}}</p>
<!-- All active connections -->
<div ng-repeat="activeConnection in activeConnections" class="connection">

View File

@@ -83,3 +83,14 @@ div.recent-connections .protocol {
margin-left: 0.25em;
}
.placeholder {
color: rgba(255, 255, 255, 0.5);
text-shadow: -1px -1px rgba(0, 0, 0, 0.5);
text-align: center;
opacity: 0.5;
font-size: 2em;
font-weight: bolder;
}

View File

@@ -25,7 +25,7 @@
border-collapse: collapse;
}
.manage table.session-list tbody tr:hover {
.manage table.session-list tr.session:hover {
background: #CDA;
}

View File

@@ -60,6 +60,11 @@ THE SOFTWARE.
</tbody>
</table>
<!-- Text displayed if no sessions exist -->
<p class="placeholder" ng-hide="wrapperPage.length">
{{'MANAGE_SESSION.INFO_NO_SESSIONS' | translate}}
</p>
<!-- Pager for session list -->
<guac-pager page="wrapperPage" page-size="25" items="wrappers | orderBy : 'username'"></guac-pager>
</div>

View File

@@ -245,6 +245,8 @@
"HELP_SESSIONS" : "All currently-active Guacamole sessions are listed here. If you wish to kill one or more sessions, check the box next to those sessions and click \"Kill Sessions\". Killing a session will immediately disconnect the user from the associated connection.",
"INFO_NO_SESSIONS" : "No active sessions",
"SECTION_HEADER_SESSIONS" : "Sessions",
"TABLE_HEADER_SESSION_USERNAME" : "Username",