mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1509: Add status-specific CSS classes to connection notifications.
This commit is contained in:
@@ -243,6 +243,7 @@ angular.module('client').directive('guacClientNotification', [function guacClien
|
|||||||
if (connectionState === ManagedClientState.ConnectionState.CONNECTING
|
if (connectionState === ManagedClientState.ConnectionState.CONNECTING
|
||||||
|| connectionState === ManagedClientState.ConnectionState.WAITING) {
|
|| connectionState === ManagedClientState.ConnectionState.WAITING) {
|
||||||
$scope.status = {
|
$scope.status = {
|
||||||
|
className : "connecting",
|
||||||
title: "CLIENT.DIALOG_HEADER_CONNECTING",
|
title: "CLIENT.DIALOG_HEADER_CONNECTING",
|
||||||
text: {
|
text: {
|
||||||
key : "CLIENT.TEXT_CLIENT_STATUS_" + connectionState.toUpperCase()
|
key : "CLIENT.TEXT_CLIENT_STATUS_" + connectionState.toUpperCase()
|
||||||
@@ -360,6 +361,7 @@ angular.module('client').directive('guacClientNotification', [function guacClien
|
|||||||
|
|
||||||
// Prompt for parameters
|
// Prompt for parameters
|
||||||
$scope.status = {
|
$scope.status = {
|
||||||
|
className : "parameters-required",
|
||||||
formNamespace : Protocol.getNamespace($scope.client.protocol),
|
formNamespace : Protocol.getNamespace($scope.client.protocol),
|
||||||
forms : $scope.client.forms,
|
forms : $scope.client.forms,
|
||||||
formModel : requiredParameters,
|
formModel : requiredParameters,
|
||||||
|
Reference in New Issue
Block a user