From 779c48c68382e344dac0a3eaff9fdedaf63021a1 Mon Sep 17 00:00:00 2001 From: j2blake Date: Thu, 22 Dec 2011 15:32:12 +0000 Subject: [PATCH] NIHVIVO-3523 Improve the layout of admin/showAuth --- webapp/web/css/showAuth.css | 10 ++--- .../freemarker/body/admin/admin-showAuth.ftl | 37 ++++++++++--------- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/webapp/web/css/showAuth.css b/webapp/web/css/showAuth.css index f5270119d..6f4d3721b 100644 --- a/webapp/web/css/showAuth.css +++ b/webapp/web/css/showAuth.css @@ -2,20 +2,20 @@ /* Styles for Freemarker template showAuth */ -#show-auth * h3 { +#show-auth h3 { padding: 20px 0 12px 0; } -#show-auth * caption { - padding: 20px 0 12px 0; +#show-auth h4 { + padding: 30px 0 12px 0; margin: 0; text-align: left; } -#show-auth * th { +#show-auth th { padding: 4px 10px 4px 10px; border: 1px solid black; text-align: right; } -#show-auth * td { +#show-auth td { padding: 4px 10px 4px 10px; text-align: left; border: 1px solid black; diff --git a/webapp/web/templates/freemarker/body/admin/admin-showAuth.ftl b/webapp/web/templates/freemarker/body/admin/admin-showAuth.ftl index bb1d64f6f..3e9e02818 100644 --- a/webapp/web/templates/freemarker/body/admin/admin-showAuth.ftl +++ b/webapp/web/templates/freemarker/body/admin/admin-showAuth.ftl @@ -7,9 +7,9 @@ ${stylesheets.add('Authorization Info
+

Current user

+ <#if currentUser?has_content> -
- @@ -19,13 +19,13 @@ ${stylesheets.add(' -
Current user
URI:${currentUser.uri}
First name:${currentUser.firstName}
Last name:${currentUser.lastName}
Role:${role}
<#else> -

Not logged in

+ Not logged in + - - +

Identifiers:

+
Identifiers:
<#list identifiers as identifier> @@ -33,14 +33,15 @@ ${stylesheets.add('
${identifier}
- - +

+ AssociatedIndividuals: + <#if matchingProperty??> + (match by ${matchingProperty}) + <#else> + (matching property is not defined) + +

+
AssociatedIndividuals: - <#if matchingProperty??> - (match by
${matchingProperty}
) - <#else> - (matching property is not defined) - -
<#if associatedIndividuals?has_content> <#list associatedIndividuals as associatedIndividual> @@ -57,8 +58,8 @@ ${stylesheets.add('
- - +

Identifier factories:

+
Identifier factories:
<#list factories as factory> @@ -66,8 +67,8 @@ ${stylesheets.add('
${factory}
- - +

Policies:

+
Policies:
<#list policies as policy>
${policy}