NIHVIVO-641: Added accessibility, organized and cleaned up individual.css, Also, I have been themming individual display and wiring freemarker data

This commit is contained in:
mb863 2010-12-15 19:25:24 +00:00
parent 833b58cd19
commit b636bf868c
6 changed files with 363 additions and 353 deletions

View file

@ -4,7 +4,7 @@
<#-- RY Just a temporary fix to prevent classgroup heading from being pushed to the right edge of the page.
Feel free to redo/remove. -->
<div style="clear: both;" />
<#--><div style="clear: both;" />-->
<#list propertyGroups as group>
@ -21,37 +21,39 @@ Feel free to redo/remove. -->
<#assign groupName = "">
</#if>
<div class="property-group" id="group-${groupName}">
<section class="property-groups" role="region">
<#-- Display the group heading -->
<#if groupName?has_content>
<h3>${groupName}</h3>
<h2><a name="${groupName}"></a>${groupName}</h2
</#if>
<#-- Now list the properties in the group -->
<div class="properties">
<#list group.properties as property>
<div class="property" id="prop-${property.name}">
<#-- Property display name -->
<h4>${property.name}</h4>
<article class="property-group" role="article">
<#-- Property display name -->
<h3>${property.name}</h3>
<#-- List the statements for each property -->
<#if property.type == "data"> <#-- data property -->
<#list property.statements as statement>
<div class="data-prop-stmt-value">
${statement.value}
</div> <!-- end data-prop-stmt-value -->
</#list>
<#else> <#-- object property -->
<#if property.collatedBySubclass>
<#include "objectPropertyList-collated.ftl">
<#else>
<#include "${property.template}">
</#if>
</#if>
</div> <!-- end property -->
<#-- List the statements for each property -->
<#if property.type == "data"> <#-- data property -->
<#list property.statements as statement>
<p class="data-property">${statement.value}</p>
<!-- end data-prop-stmt-value -->
</#list>
<#else> <#-- object property -->
<#if property.collatedBySubclass>
<#include "objectPropertyList-collated.ftl">
<#else>
<ul class="object-property" role="list">
<#include "${property.template}">
</ul> <!-- end obj-prop-stmt-obj -->
</#if>
</#if>
<!-- end property -->
</article>
</#list>
</div> <!-- end properties -->
</div> <!-- end property-group -->
</#list>
<!-- end properties -->
</section> <!-- end property-group -->
</#list>

View file

@ -3,7 +3,5 @@
<#-- Default object property list template -->
<#list property.statements as statement>
<div class="obj-prop-stmt-obj">
<a href="${statement.object.url}">${statement.object.name}</a> ${statement.object.moniker!}
</div> <!-- end obj-prop-stmt-obj -->
</#list>
<li role="listitem"><a href="${statement.object.url}">${statement.object.name}</a> | ${statement.object.moniker!}</li>
</#list>