mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1509: Add name attribute to all applicable fields.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<input type="checkbox"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-disabled="disabled"
|
||||
ng-model="typedValue"
|
||||
guac-focus="focused"
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<input type="date"
|
||||
ng-disabled="disabled"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="typedValue"
|
||||
ng-model-options="modelOptions"
|
||||
guac-lenient-date
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<input type="email"
|
||||
ng-disabled="disabled"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-hide="readOnly"
|
||||
guac-focus="focused"
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<select guac-focus="focused"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-options="language.key as language.value for language in languages | toArray | orderBy: key"></select>
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<input type="number"
|
||||
ng-disabled="disabled"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="typedValue"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<input type="{{passwordInputType}}"
|
||||
ng-disabled="disabled"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-trim="false"
|
||||
guac-focus="focused"
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<select ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
ng-model="model"
|
||||
|
@@ -4,7 +4,9 @@
|
||||
}">
|
||||
|
||||
<!-- Pre-defined color scheme options -->
|
||||
<select ng-attr-id="{{ fieldId }}" ng-model="selectedColorScheme">
|
||||
<select ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="selectedColorScheme">
|
||||
<option ng-repeat="option in field.options | orderBy: value"
|
||||
ng-value="option">{{ getFieldOption(option) | translate }}</option>
|
||||
<option value="custom">{{ 'COLOR_SCHEME.FIELD_OPTION_CUSTOM' | translate }}</option>
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<textarea ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<input type="text"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-list="{{ dataListId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<input type="time"
|
||||
ng-disabled="disabled"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="typedValue"
|
||||
ng-model-options="modelOptions"
|
||||
guac-focus="focused"
|
||||
|
@@ -10,6 +10,7 @@
|
||||
|
||||
<!-- Time zones within selected region -->
|
||||
<select class="time-zone"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-disabled="disabled || !region"
|
||||
ng-model="model"
|
||||
ng-options="timeZone.value as timeZone.key for timeZone in timeZones[region] | toArray | orderBy: key"></select>
|
||||
|
Reference in New Issue
Block a user