GUACAMOLE-1509: Add status-specific CSS classes to connection notifications.
This commit is contained in:
1 parent
a688bc507c
commit
a7cf01064a
1 file changed
+2
@@ -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