mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1509: Add contextual CSS classes to containers/elements that are otherwise ambiguous.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="connection">
|
||||
<div class="connection-select-menu-connection connection">
|
||||
<input type="checkbox"
|
||||
ng-model="context.attachedClients[item.getClientIdentifier()]"
|
||||
ng-change="context.updateAttachedClients(item.getClientIdentifier())">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="connection-group">
|
||||
<div class="connection-select-menu-connection-group connection-group">
|
||||
<input type="checkbox"
|
||||
ng-show="item.balancing"
|
||||
ng-model="context.attachedClients[item.getClientIdentifier()]"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="list-item">
|
||||
<div class="file-browser-file list-item">
|
||||
|
||||
<!-- Filename and icon -->
|
||||
<div class="caption">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="main"
|
||||
<div class="client-main main"
|
||||
ng-class="{ 'drop-pending': dropPending }"
|
||||
guac-resize="mainElementResized"
|
||||
guac-touch-drag="clientDrag"
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -91,7 +91,7 @@ angular.module('form').provider('formService', function formServiceProvider() {
|
||||
* @type FieldType
|
||||
*/
|
||||
'USERNAME' : {
|
||||
templateUrl : 'app/form/templates/textField.html'
|
||||
templateUrl : 'app/form/templates/usernameField.html'
|
||||
},
|
||||
|
||||
/**
|
||||
|
@@ -1,8 +1,10 @@
|
||||
<input type="checkbox"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-disabled="disabled"
|
||||
ng-model="typedValue"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
autocapitalize="off">
|
||||
<div class="checkbox-field">
|
||||
<input type="checkbox"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-disabled="disabled"
|
||||
ng-model="typedValue"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
autocapitalize="off">
|
||||
</div>
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<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>
|
||||
<div class="language-field">
|
||||
<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>
|
||||
</div>
|
||||
|
@@ -1,8 +1,10 @@
|
||||
<input type="number"
|
||||
ng-disabled="disabled"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="typedValue"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
autocapitalize="off">
|
||||
<div class="number-field">
|
||||
<input type="number"
|
||||
ng-disabled="disabled"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="typedValue"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
autocapitalize="off">
|
||||
</div>
|
||||
|
@@ -1,6 +1,8 @@
|
||||
<select ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
ng-model="model"
|
||||
ng-options="option as getFieldOption(option) | translate for option in field.options | orderBy: value"></select>
|
||||
<div class="select-field">
|
||||
<select ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
ng-model="model"
|
||||
ng-options="option as getFieldOption(option) | translate for option in field.options | orderBy: value"></select>
|
||||
</div>
|
||||
|
@@ -1,7 +1,9 @@
|
||||
<textarea ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
autocapitalize="off"></textarea>
|
||||
<div class="text-area-field">
|
||||
<textarea ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
autocapitalize="off"></textarea>
|
||||
</div>
|
||||
|
@@ -0,0 +1,10 @@
|
||||
<div class="username-field">
|
||||
<input type="text"
|
||||
ng-attr-id="{{ fieldId }}"
|
||||
ng-attr-name="{{ field.name }}"
|
||||
ng-model="model"
|
||||
ng-disabled="disabled"
|
||||
guac-focus="focused"
|
||||
autocorrect="off"
|
||||
autocapitalize="off">
|
||||
</div>
|
@@ -1,4 +1,4 @@
|
||||
<div>
|
||||
<div class="recent-connections">
|
||||
|
||||
<!-- Text displayed if no recent connections exist -->
|
||||
<p class="placeholder" ng-hide="hasRecentConnections()">{{'HOME.INFO_NO_RECENT_CONNECTIONS' | translate}}</p>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
|
||||
<div class="view" ng-class="{loading: !isLoaded()}">
|
||||
<div class="home-view view" ng-class="{loading: !isLoaded()}">
|
||||
|
||||
<div class="connection-list-ui">
|
||||
|
||||
@@ -8,9 +7,7 @@
|
||||
<h2>{{'HOME.SECTION_HEADER_RECENT_CONNECTIONS' | translate}}</h2>
|
||||
<guac-user-menu></guac-user-menu>
|
||||
</div>
|
||||
<div class="recent-connections">
|
||||
<guac-recent-connections root-groups="rootConnectionGroups"></guac-recent-connections>
|
||||
</div>
|
||||
<guac-recent-connections root-groups="rootConnectionGroups"></guac-recent-connections>
|
||||
|
||||
<!-- All connections for this user -->
|
||||
<div class="header">
|
||||
@@ -33,4 +30,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="choice">
|
||||
<div class="connection-group-permission choice">
|
||||
|
||||
<!-- Connection group icon -->
|
||||
<div class="icon type"></div>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="choice">
|
||||
<div class="connection-permission choice">
|
||||
|
||||
<!-- Connection icon -->
|
||||
<div class="icon type" ng-class="item.protocol"></div>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<span class="name" ng-click="context.chooseGroup(item.wrappedItem)">
|
||||
|
||||
<span class="location-chooser-connection-group name"
|
||||
ng-click="context.chooseGroup(item.wrappedItem)">
|
||||
{{item.name}}
|
||||
</span>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
<div class="view" ng-class="{loading: !isLoaded()}">
|
||||
<div class="manage-connection view" ng-class="{loading: !isLoaded()}">
|
||||
|
||||
<!-- Main property editor -->
|
||||
<div class="header">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
<div class="view" ng-class="{loading: !isLoaded()}">
|
||||
<div class="manage-connection-group view" ng-class="{loading: !isLoaded()}">
|
||||
|
||||
<!-- Main property editor -->
|
||||
<div class="header">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="view" ng-class="{loading: !isLoaded()}">
|
||||
<div class="manage-sharing-profile view" ng-class="{loading: !isLoaded()}">
|
||||
|
||||
<!-- Main property editor -->
|
||||
<div class="header">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<div class="action-buttons">
|
||||
<button ng-show="permissions.canSaveObject" ng-click="saveObject()">{{namespace + '.ACTION_SAVE' | translate}}</button>
|
||||
<button ng-show="permissions.canCloneObject" ng-click="cloneObject()">{{namespace + '.ACTION_CLONE' | translate}}</button>
|
||||
<button ng-click="cancel()">{{namespace + '.ACTION_CANCEL' | translate}}</button>
|
||||
<button ng-show="permissions.canDeleteObject" ng-click="deleteObject()" class="danger">{{namespace + '.ACTION_DELETE' | translate}}</button>
|
||||
<button ng-show="permissions.canSaveObject" ng-click="saveObject()" class="save">{{namespace + '.ACTION_SAVE' | translate}}</button>
|
||||
<button ng-show="permissions.canCloneObject" ng-click="cloneObject()" class="clone">{{namespace + '.ACTION_CLONE' | translate}}</button>
|
||||
<button ng-click="cancel()" class="cancel">{{namespace + '.ACTION_CANCEL' | translate}}</button>
|
||||
<button ng-show="permissions.canDeleteObject" ng-click="deleteObject()" class="danger delete">{{namespace + '.ACTION_DELETE' | translate}}</button>
|
||||
</div>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="choice">
|
||||
<div class="sharing-profile-permission choice">
|
||||
|
||||
<!-- Sharing profile icon -->
|
||||
<div class="icon type"></div>
|
||||
|
@@ -1,5 +1,6 @@
|
||||
<a ng-href="#/manage/{{item.dataSource}}/connections/{{item.identifier}}"
|
||||
ng-class="{active: item.getActiveConnections()}">
|
||||
ng-class="{active: item.getActiveConnections()}"
|
||||
class="settings-connection">
|
||||
|
||||
<!-- Connection icon -->
|
||||
<div class="icon type" ng-class="item.protocol"></div>
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<a ng-href="#/manage/{{item.dataSource}}/connectionGroups/{{item.identifier}}">
|
||||
<a ng-href="#/manage/{{item.dataSource}}/connectionGroups/{{item.identifier}}"
|
||||
class="settings-connection-group">
|
||||
|
||||
<!-- Connection group icon -->
|
||||
<div class="icon type"></div>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<a ng-href="#/manage/{{item.dataSource}}/connections/?parent={{item.wrappedItem.identifier}}">
|
||||
<a ng-href="#/manage/{{item.dataSource}}/connections/?parent={{item.wrappedItem.identifier}}"
|
||||
class="new-connection">
|
||||
<span class="name">{{'SETTINGS_CONNECTIONS.ACTION_NEW_CONNECTION' | translate}}</span>
|
||||
</a>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<a ng-href="#/manage/{{item.dataSource}}/connectionGroups/?parent={{item.wrappedItem.identifier}}">
|
||||
<a ng-href="#/manage/{{item.dataSource}}/connectionGroups/?parent={{item.wrappedItem.identifier}}"
|
||||
class="new-connection-group">
|
||||
<span class="name">{{'SETTINGS_CONNECTIONS.ACTION_NEW_CONNECTION_GROUP' | translate}}</span>
|
||||
</a>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<a ng-href="#/manage/{{item.dataSource}}/sharingProfiles/?parent={{item.wrappedItem.identifier}}">
|
||||
<a ng-href="#/manage/{{item.dataSource}}/sharingProfiles/?parent={{item.wrappedItem.identifier}}"
|
||||
class="new-sharing-profile">
|
||||
<span class="name">{{'SETTINGS_CONNECTIONS.ACTION_NEW_SHARING_PROFILE' | translate}}</span>
|
||||
</a>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
|
||||
<div class="view">
|
||||
<div class="settings-view view">
|
||||
|
||||
<div class="header tabbed">
|
||||
<h2>{{'SETTINGS.SECTION_HEADER_SETTINGS' | translate}}</h2>
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<a ng-href="#/manage/{{item.dataSource}}/sharingProfiles/{{item.identifier}}">
|
||||
<a ng-href="#/manage/{{item.dataSource}}/sharingProfiles/{{item.identifier}}"
|
||||
class="settings-sharing-profile">
|
||||
|
||||
<!-- Sharing profile icon -->
|
||||
<div class="icon type"></div>
|
||||
|
Reference in New Issue
Block a user