NIHVIVO-3523 Improve the layout of admin/showAuth
This commit is contained in:
parent
94a2d9327c
commit
779c48c683
2 changed files with 24 additions and 23 deletions
|
@ -2,20 +2,20 @@
|
||||||
|
|
||||||
/* Styles for Freemarker template showAuth */
|
/* Styles for Freemarker template showAuth */
|
||||||
|
|
||||||
#show-auth * h3 {
|
#show-auth h3 {
|
||||||
padding: 20px 0 12px 0;
|
padding: 20px 0 12px 0;
|
||||||
}
|
}
|
||||||
#show-auth * caption {
|
#show-auth h4 {
|
||||||
padding: 20px 0 12px 0;
|
padding: 30px 0 12px 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
#show-auth * th {
|
#show-auth th {
|
||||||
padding: 4px 10px 4px 10px;
|
padding: 4px 10px 4px 10px;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
#show-auth * td {
|
#show-auth td {
|
||||||
padding: 4px 10px 4px 10px;
|
padding: 4px 10px 4px 10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
|
|
|
@ -7,9 +7,9 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
||||||
<h2>Authorization Info</h2>
|
<h2>Authorization Info</h2>
|
||||||
|
|
||||||
<section id="show-auth" role="region">
|
<section id="show-auth" role="region">
|
||||||
|
<h4>Current user</h4>
|
||||||
|
<table summary="Information about the current user">
|
||||||
<#if currentUser?has_content>
|
<#if currentUser?has_content>
|
||||||
<table summary="Information about the current user" style="border: 1">
|
|
||||||
<caption>Current user</caption>
|
|
||||||
<tr><th>URI:</th><td>${currentUser.uri}</td></tr>
|
<tr><th>URI:</th><td>${currentUser.uri}</td></tr>
|
||||||
<tr><th>First name:</th><td>${currentUser.firstName}</td></tr>
|
<tr><th>First name:</th><td>${currentUser.firstName}</td></tr>
|
||||||
<tr><th>Last name:</th><td>${currentUser.lastName}</td></tr>
|
<tr><th>Last name:</th><td>${currentUser.lastName}</td></tr>
|
||||||
|
@ -19,13 +19,13 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
||||||
<#list currentUser.permissionSetUris as role>
|
<#list currentUser.permissionSetUris as role>
|
||||||
<tr><th>Role:</th><td>${role}</td></tr>
|
<tr><th>Role:</th><td>${role}</td></tr>
|
||||||
</#list>
|
</#list>
|
||||||
</table>
|
|
||||||
<#else>
|
<#else>
|
||||||
<h3>Not logged in</h3>
|
<tr><th>Not logged in</th></tr>
|
||||||
</#if>
|
</#if>
|
||||||
|
</table>
|
||||||
|
|
||||||
<table summary="VIVO revision's levels table">
|
<h4>Identifiers:</h4>
|
||||||
<caption>Identifiers:</caption>
|
<table summary="Identifiers">
|
||||||
<#list identifiers as identifier>
|
<#list identifiers as identifier>
|
||||||
<tr>
|
<tr>
|
||||||
<td>${identifier}</td>
|
<td>${identifier}</td>
|
||||||
|
@ -33,14 +33,15 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
||||||
</#list>
|
</#list>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table summary="Associated Individuals">
|
<h4>
|
||||||
<caption>AssociatedIndividuals:
|
AssociatedIndividuals:
|
||||||
<#if matchingProperty??>
|
<#if matchingProperty??>
|
||||||
(match by <pre>${matchingProperty}</pre>)
|
(match by ${matchingProperty})
|
||||||
<#else>
|
<#else>
|
||||||
(matching property is not defined)
|
(matching property is not defined)
|
||||||
</#if>
|
</#if>
|
||||||
</caption>
|
</h4>
|
||||||
|
<table summary="Associated Individuals" width="100%">
|
||||||
<#if associatedIndividuals?has_content>
|
<#if associatedIndividuals?has_content>
|
||||||
<#list associatedIndividuals as associatedIndividual>
|
<#list associatedIndividuals as associatedIndividual>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -57,8 +58,8 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
||||||
</#if>
|
</#if>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table summary="Active Identifier Factories">
|
<h4>Identifier factories:</h4>
|
||||||
<caption>Identifier factories:</caption>
|
<table summary="Active Identifier Factories" width="100%">
|
||||||
<#list factories as factory>
|
<#list factories as factory>
|
||||||
<tr>
|
<tr>
|
||||||
<td>${factory}</td>
|
<td>${factory}</td>
|
||||||
|
@ -66,8 +67,8 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
||||||
</#list>
|
</#list>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table summary="Policies">
|
<h4>Policies:</h4>
|
||||||
<caption>Policies:</caption>
|
<table summary="Policies" width="100%">
|
||||||
<#list policies as policy>
|
<#list policies as policy>
|
||||||
<tr>
|
<tr>
|
||||||
<td>${policy}</td>
|
<td>${policy}</td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue