mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
Add location field placeholder and styles.
This commit is contained in:
@@ -672,12 +672,17 @@ GuacAdmin.ConnectionEditor = function(connection, parameters) {
|
||||
|
||||
// Header parameter containers
|
||||
var name_container = GuacUI.createTabulatedContainer(header_table, "Name:");
|
||||
var location_container = GuacUI.createTabulatedContainer(header_table, "Location:");
|
||||
var protocol_container = GuacUI.createTabulatedContainer(header_table, "Protocol:");
|
||||
|
||||
var name_field = GuacUI.createChildElement(name_container, "input");
|
||||
var location = GuacUI.createChildElement(location_container, "div", "location");
|
||||
var protocol_field = GuacUI.createChildElement(protocol_container, "select");
|
||||
name_field.setAttribute("type", "text");
|
||||
|
||||
// FIXME: STUB: Location field
|
||||
location.textContent = connection.parent.name;
|
||||
|
||||
// Set header
|
||||
if (connection) {
|
||||
name_field.value =
|
||||
@@ -981,13 +986,18 @@ GuacAdmin.ConnectionGroupEditor = function(group, parameters) {
|
||||
"table", "fields section");
|
||||
|
||||
// Header parameter containers
|
||||
var name_container = GuacUI.createTabulatedContainer(header_table, "Name:");
|
||||
var type_container = GuacUI.createTabulatedContainer(header_table, "Type:");
|
||||
var name_container = GuacUI.createTabulatedContainer(header_table, "Name:");
|
||||
var location_container = GuacUI.createTabulatedContainer(header_table, "Location:");
|
||||
var type_container = GuacUI.createTabulatedContainer(header_table, "Type:");
|
||||
|
||||
var name_field = GuacUI.createChildElement(name_container, "input");
|
||||
var location = GuacUI.createChildElement(location_container, "div", "location");
|
||||
var type_field = GuacUI.createChildElement(type_container, "select");
|
||||
name_field.setAttribute("type", "text");
|
||||
|
||||
// FIXME: STUB: Location field
|
||||
location.textContent = group.parent.name;
|
||||
|
||||
// Set title
|
||||
if (group) {
|
||||
name_field.value =
|
||||
|
Reference in New Issue
Block a user