mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-1133: Add session placeholder.
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
| @@ -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"> | ||||
|   | ||||
| @@ -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; | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
|     border-collapse: collapse; | ||||
| } | ||||
|  | ||||
| .manage table.session-list tbody tr:hover { | ||||
| .manage table.session-list tr.session:hover { | ||||
|     background: #CDA; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user