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