Skip to content

Commit

Permalink
GUACAMOLE-926: Reorder "Import" button to end to avoid fighting muscl…
Browse files Browse the repository at this point in the history
…e memory.

Users that are used to the established Guacamole UI will be used to
clicking the leftmost button when attempting to create a new connection,
but the leftmost button has changed from "New Connection" to "Import".

This change restores that original button order, with "New Connection"
being on the far left.
  • Loading branch information
mike-jumper committed Aug 27, 2024
1 parent 8525aa1 commit 8ecc64b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<!-- Form action buttons -->
<div class="action-buttons">

<a class="import-connections button"
ng-show="canAdminister()"
href="#/import/{{dataSource | escape}}/connection/">{{'SETTINGS_CONNECTIONS.ACTION_IMPORT' | translate}}</a>

<a class="add-connection button"
ng-show="canCreateConnections()"
href="#/manage/{{dataSource | escape}}/connections/">{{'SETTINGS_CONNECTIONS.ACTION_NEW_CONNECTION' | translate}}</a>
Expand All @@ -21,6 +17,10 @@
ng-show="canCreateConnectionGroups()"
href="#/manage/{{dataSource | escape}}/connectionGroups/">{{'SETTINGS_CONNECTIONS.ACTION_NEW_CONNECTION_GROUP' | translate}}</a>

<a class="import-connections button"
ng-show="canAdminister()"
href="#/import/{{dataSource | escape}}/connection/">{{'SETTINGS_CONNECTIONS.ACTION_IMPORT' | translate}}</a>

</div>

<!-- Connection filter -->
Expand Down

0 comments on commit 8ecc64b

Please sign in to comment.