From 7082fc5d48f76dda671cb32ff5030abf72148863 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 11 Aug 2016 15:41:04 +0200 Subject: [PATCH] Continued with design: (please cherry-pick) - added CSS classes table_data_label and table_data_value - added navigation rule from admin_(un)lock_user to admin_show_user - also show admin user profile in above pages --- web/WEB-INF/faces-config.xml | 14 ++++++++++++ web/admin/user/admin_user_unlock.xhtml | 30 ++++++++++++++++++-------- web/resources/css/cssLayout.css | 18 ++++++++++++++++ 3 files changed, 53 insertions(+), 9 deletions(-) diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 22bce018..adfa5e41 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -403,6 +403,20 @@ /admin/contact/admin_contact_show.xhtml + + /admin/user/admin_user_lock.xhtml + + admin_show_user + /admin/user/admin_user_show.xhtml + + + + /admin/user/admin_user_unlock.xhtml + + admin_show_user + /admin/user/admin_user_show.xhtml + + /admin/cellphone/admin_contact_cellphone_unlink.xhtml diff --git a/web/admin/user/admin_user_unlock.xhtml b/web/admin/user/admin_user_unlock.xhtml index feafc822..f3a1867d 100644 --- a/web/admin/user/admin_user_unlock.xhtml +++ b/web/admin/user/admin_user_unlock.xhtml @@ -32,42 +32,54 @@
-
+
+ +
+ +
+ + + +
+
+ +
+
-
+
-
+
-
+
-
+
-
+
-
+
-
- +
+
diff --git a/web/resources/css/cssLayout.css b/web/resources/css/cssLayout.css index 1c1e9bb7..84d84f6c 100644 --- a/web/resources/css/cssLayout.css +++ b/web/resources/css/cssLayout.css @@ -160,6 +160,24 @@ ul.footer_nav li.footer_copyright { font-weight: bold; } +.table_data_label { + font-weight: bold; + background-image: linear-gradient(#eeeeee, #bbbbbb); + border: 1px solid #aaaaaa; + height: 16px; + padding-left: 2px; +} + +.table_data_value { + border: 1px solid #aaaaaa; + padding-top: 1px; + padding-bottom: 1px; + padding-left: 2px; + padding-right: 1px; + margin-top: 2px; + min-height: 14px; +} + #content_header { background-color: #dddddd; font-weight: bold; -- 2.39.5