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:
@@ -41,6 +41,7 @@
|
|||||||
<div class="totp-code">
|
<div class="totp-code">
|
||||||
<input type="text"
|
<input type="text"
|
||||||
placeholder="{{'TOTP.FIELD_PLACEHOLDER_CODE' |translate}}"
|
placeholder="{{'TOTP.FIELD_PLACEHOLDER_CODE' |translate}}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="model" autocorrect="off" autocapitalize="off" autofocus>
|
ng-model="model" autocorrect="off" autocapitalize="off" autofocus>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
ng-model="typedValue"
|
ng-model="typedValue"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<input type="date"
|
<input type="date"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="typedValue"
|
ng-model="typedValue"
|
||||||
ng-model-options="modelOptions"
|
ng-model-options="modelOptions"
|
||||||
guac-lenient-date
|
guac-lenient-date
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<input type="email"
|
<input type="email"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="model"
|
ng-model="model"
|
||||||
ng-hide="readOnly"
|
ng-hide="readOnly"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
<select guac-focus="focused"
|
<select guac-focus="focused"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="model"
|
ng-model="model"
|
||||||
ng-options="language.key as language.value for language in languages | toArray | orderBy: key"></select>
|
ng-options="language.key as language.value for language in languages | toArray | orderBy: key"></select>
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
<input type="number"
|
<input type="number"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="typedValue"
|
ng-model="typedValue"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
autocorrect="off"
|
autocorrect="off"
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<input type="{{passwordInputType}}"
|
<input type="{{passwordInputType}}"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="model"
|
ng-model="model"
|
||||||
ng-trim="false"
|
ng-trim="false"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
<select ng-attr-id="{{ fieldId }}"
|
<select ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
ng-model="model"
|
ng-model="model"
|
||||||
|
@@ -4,7 +4,9 @@
|
|||||||
}">
|
}">
|
||||||
|
|
||||||
<!-- Pre-defined color scheme options -->
|
<!-- 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"
|
<option ng-repeat="option in field.options | orderBy: value"
|
||||||
ng-value="option">{{ getFieldOption(option) | translate }}</option>
|
ng-value="option">{{ getFieldOption(option) | translate }}</option>
|
||||||
<option value="custom">{{ 'COLOR_SCHEME.FIELD_OPTION_CUSTOM' | translate }}</option>
|
<option value="custom">{{ 'COLOR_SCHEME.FIELD_OPTION_CUSTOM' | translate }}</option>
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
<textarea ng-attr-id="{{ fieldId }}"
|
<textarea ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="model"
|
ng-model="model"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<input type="text"
|
<input type="text"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
ng-attr-list="{{ dataListId }}"
|
ng-attr-list="{{ dataListId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="model"
|
ng-model="model"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<input type="time"
|
<input type="time"
|
||||||
ng-disabled="disabled"
|
ng-disabled="disabled"
|
||||||
ng-attr-id="{{ fieldId }}"
|
ng-attr-id="{{ fieldId }}"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-model="typedValue"
|
ng-model="typedValue"
|
||||||
ng-model-options="modelOptions"
|
ng-model-options="modelOptions"
|
||||||
guac-focus="focused"
|
guac-focus="focused"
|
||||||
|
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
<!-- Time zones within selected region -->
|
<!-- Time zones within selected region -->
|
||||||
<select class="time-zone"
|
<select class="time-zone"
|
||||||
|
ng-attr-name="{{ field.name }}"
|
||||||
ng-disabled="disabled || !region"
|
ng-disabled="disabled || !region"
|
||||||
ng-model="model"
|
ng-model="model"
|
||||||
ng-options="timeZone.value as timeZone.key for timeZone in timeZones[region] | toArray | orderBy: key"></select>
|
ng-options="timeZone.value as timeZone.key for timeZone in timeZones[region] | toArray | orderBy: key"></select>
|
||||||
|
Reference in New Issue
Block a user