From 38d3d1930cb6dc9c15c3646c9e6ac804898c2c3f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 11 Mar 2015 22:50:53 -0700 Subject: [PATCH] GUAC-1120: Use flex layout for headers containing the user menu. --- .../main/webapp/app/home/templates/home.html | 10 ++-- .../src/main/webapp/app/index/styles/ui.css | 45 ++++++++++++++-- .../webapp/app/manage/templates/manage.html | 8 +-- .../manage/templates/manageConnection.html | 12 ++--- .../templates/manageConnectionGroup.html | 8 +-- .../app/manage/templates/manageUser.html | 12 ++--- .../webapp/app/userMenu/styles/user-menu.css | 52 +++++++++++++++---- .../app/userMenu/templates/guacUserMenu.html | 20 +++---- 8 files changed, 119 insertions(+), 48 deletions(-) diff --git a/guacamole/src/main/webapp/app/home/templates/home.html b/guacamole/src/main/webapp/app/home/templates/home.html index 6dc4f6a74..7b3b5fc99 100644 --- a/guacamole/src/main/webapp/app/home/templates/home.html +++ b/guacamole/src/main/webapp/app/home/templates/home.html @@ -24,17 +24,17 @@
- - - -

{{'HOME.SECTION_HEADER_RECENT_CONNECTIONS' | translate}}

+
+

{{'HOME.SECTION_HEADER_RECENT_CONNECTIONS' | translate}}

+ +
-

{{'HOME.SECTION_HEADER_ALL_CONNECTIONS' | translate}}

+

{{'HOME.SECTION_HEADER_ALL_CONNECTIONS' | translate}}

- - - -

{{'MANAGE.SECTION_HEADER_ADMINISTRATION' | translate}}

+
+

{{'MANAGE.SECTION_HEADER_ADMINISTRATION' | translate}}

+ +
diff --git a/guacamole/src/main/webapp/app/manage/templates/manageConnection.html b/guacamole/src/main/webapp/app/manage/templates/manageConnection.html index 723c29c89..41c8db37b 100644 --- a/guacamole/src/main/webapp/app/manage/templates/manageConnection.html +++ b/guacamole/src/main/webapp/app/manage/templates/manageConnection.html @@ -22,11 +22,11 @@ THE SOFTWARE.
- - - -

{{'MANAGE_CONNECTION.SECTION_HEADER_EDIT_CONNECTION' | translate}}

+
+

{{'MANAGE_CONNECTION.SECTION_HEADER_EDIT_CONNECTION' | translate}}

+ +
@@ -58,7 +58,7 @@ THE SOFTWARE. -

{{'MANAGE_CONNECTION.SECTION_HEADER_PARAMETERS' | translate}}

+

{{'MANAGE_CONNECTION.SECTION_HEADER_PARAMETERS' | translate}}

@@ -81,7 +81,7 @@ THE SOFTWARE. -

{{'MANAGE_CONNECTION.SECTION_HEADER_HISTORY' | translate}}

+

{{'MANAGE_CONNECTION.SECTION_HEADER_HISTORY' | translate}}

{{'MANAGE_CONNECTION.INFO_CONNECTION_NOT_USED' | translate}}

diff --git a/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html b/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html index 2e5fe1257..7986c735d 100644 --- a/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html +++ b/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html @@ -22,11 +22,11 @@ THE SOFTWARE.
- - - -

{{'MANAGE_CONNECTION_GROUP.SECTION_HEADER_EDIT_CONNECTION_GROUP' | translate}}

+
+

{{'MANAGE_CONNECTION_GROUP.SECTION_HEADER_EDIT_CONNECTION_GROUP' | translate}}

+ +
diff --git a/guacamole/src/main/webapp/app/manage/templates/manageUser.html b/guacamole/src/main/webapp/app/manage/templates/manageUser.html index a066249f0..65c34eb06 100644 --- a/guacamole/src/main/webapp/app/manage/templates/manageUser.html +++ b/guacamole/src/main/webapp/app/manage/templates/manageUser.html @@ -22,11 +22,11 @@ THE SOFTWARE.
- - - -

{{'MANAGE_USER.SECTION_HEADER_EDIT_USER' | translate}}

+
+

{{'MANAGE_USER.SECTION_HEADER_EDIT_USER' | translate}}

+ +
@@ -48,7 +48,7 @@ THE SOFTWARE. -

{{'MANAGE_USER.SECTION_HEADER_PERMISSIONS' | translate}}

+

{{'MANAGE_USER.SECTION_HEADER_PERMISSIONS' | translate}}

@@ -60,7 +60,7 @@ THE SOFTWARE. -

{{'MANAGE_USER.SECTION_HEADER_CONNECTIONS' | translate}}

+

{{'MANAGE_USER.SECTION_HEADER_CONNECTIONS' | translate}}