{{'client.copiedText' | translate}}
- -diff --git a/guacamole/src/main/webapp/app/client/clientModule.js b/guacamole/src/main/webapp/app/client/clientModule.js index 944189dd4..38eee4bbb 100644 --- a/guacamole/src/main/webapp/app/client/clientModule.js +++ b/guacamole/src/main/webapp/app/client/clientModule.js @@ -23,4 +23,4 @@ /** * The module for code used to connect to a connection or balancing group. */ -angular.module('client', ['auth', 'history', 'osk', 'rest']); +angular.module('client', ['auth', 'history', 'osk', 'rest', 'textInput']); diff --git a/guacamole/src/main/webapp/app/client/controllers/clientController.js b/guacamole/src/main/webapp/app/client/controllers/clientController.js index ec2690ee6..e0efc341c 100644 --- a/guacamole/src/main/webapp/app/client/controllers/clientController.js +++ b/guacamole/src/main/webapp/app/client/controllers/clientController.js @@ -204,8 +204,9 @@ angular.module('home').controller('clientController', ['$scope', '$routeParams', // Show/hide UI elements depending on input method $scope.$watch('inputMethod', function setInputMethod(inputMethod) { - // Show on-screen keyboard only if selected - $scope.showOSK = (inputMethod === 'osk'); + // Show input methods only if selected + $scope.showOSK = (inputMethod === 'osk'); + $scope.showTextInput = (inputMethod === 'text'); }); diff --git a/guacamole/src/main/webapp/app/client/styles/client.css b/guacamole/src/main/webapp/app/client/styles/client.css index 615849ca3..6f20b41b4 100644 --- a/guacamole/src/main/webapp/app/client/styles/client.css +++ b/guacamole/src/main/webapp/app/client/styles/client.css @@ -27,18 +27,6 @@ body.client { overflow: hidden; } -/* Viewport Clone */ - -#viewportClone { - display: table; - height: 100%; - width: 100%; - position: fixed; - left: 0; - top: 0; - visibility: hidden; -} - #preload { visibility: hidden; position: absolute; @@ -48,3 +36,21 @@ body.client { height: 0; overflow: hidden; } + +.client-view { + display: table; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.client-view .client-body { + display: table-row; +} + +.client-view .client-bottom { + display: table-row; + height: 0; +} diff --git a/guacamole/src/main/webapp/app/client/templates/client.html b/guacamole/src/main/webapp/app/client/templates/client.html index 460e71641..fd6fbc406 100644 --- a/guacamole/src/main/webapp/app/client/templates/client.html +++ b/guacamole/src/main/webapp/app/client/templates/client.html @@ -20,99 +20,107 @@ THE SOFTWARE. --> -
{{'client.error.connectionErrorTitle' | translate}}
- -{{errorStatus}}
- -