From 21040ba2d8926e80eee72a8753f27581e309d71d Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 13 Feb 2013 18:59:14 -0800 Subject: [PATCH] Ticket #268: Add stub RDP parameters. --- guacamole/src/main/webapp/scripts/service.js | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/guacamole/src/main/webapp/scripts/service.js b/guacamole/src/main/webapp/scripts/service.js index e6f19f2a9..9f8c1a155 100644 --- a/guacamole/src/main/webapp/scripts/service.js +++ b/guacamole/src/main/webapp/scripts/service.js @@ -614,10 +614,51 @@ GuacamoleService.Protocols = { "title" : "Port", "type" : "text", "value" : "5900" + }, + + "color-depth" : { + "title" : "Color depth", + "type" : "enum", + "options" : { + "8" : "256 colors", + "16": "High color (16-bit)", + "24": "True color (24-bit)" + } + }, + + "read-only" : { + "title" : "Read-only", + "type" : "boolean", + "checked" : "true", + "unchecked" : "" } } + }, { + + /* Unique name */ + "name" : "rdp", + + /* Display title */ + "title" : "RDP", + + /* All available parameters */ + "parameters" : { + + "hostname" : { + "title" : "Hostname", + "type" : "text" + }, + + "port" : { + "title" : "Port", + "type" : "text", + "value" : "3389" + } + + } + }]; }