From a7cf01064a9998144cb3d31e4c16b7b1fa549b15 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 21 Jan 2022 08:36:28 -0800 Subject: [PATCH] GUACAMOLE-1509: Add status-specific CSS classes to connection notifications. --- .../src/app/client/directives/guacClientNotification.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js b/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js index fadeab4cb..e1a08ebc6 100644 --- a/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js +++ b/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js @@ -243,6 +243,7 @@ angular.module('client').directive('guacClientNotification', [function guacClien if (connectionState === ManagedClientState.ConnectionState.CONNECTING || connectionState === ManagedClientState.ConnectionState.WAITING) { $scope.status = { + className : "connecting", title: "CLIENT.DIALOG_HEADER_CONNECTING", text: { key : "CLIENT.TEXT_CLIENT_STATUS_" + connectionState.toUpperCase() @@ -360,6 +361,7 @@ angular.module('client').directive('guacClientNotification', [function guacClien // Prompt for parameters $scope.status = { + className : "parameters-required", formNamespace : Protocol.getNamespace($scope.client.protocol), forms : $scope.client.forms, formModel : requiredParameters,