NIHVIVO-2032: Adjusted padding on headings for index page.
This commit is contained in:
parent
f391d095b0
commit
c748a924dc
2 changed files with 8 additions and 4 deletions
|
@ -63,3 +63,7 @@
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
/* <------ INDEX PAGE*/
|
||||||
|
.siteMap h2 {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
|
@ -5,22 +5,22 @@
|
||||||
<#include "classgroups-checkForData.ftl">
|
<#include "classgroups-checkForData.ftl">
|
||||||
|
|
||||||
<#if (!noData)>
|
<#if (!noData)>
|
||||||
<div class="siteMap">
|
<section class="siteMap" role="region">
|
||||||
<#list classGroups as classGroup>
|
<#list classGroups as classGroup>
|
||||||
<#-- Only render classgroups that have at least one class with individuals -->
|
<#-- Only render classgroups that have at least one class with individuals -->
|
||||||
<#if (classGroup.individualCount > 0)>
|
<#if (classGroup.individualCount > 0)>
|
||||||
<h2>${classGroup.publicName}</h2>
|
<h2>${classGroup.publicName}</h2>
|
||||||
<ul>
|
<ul role="list">
|
||||||
<#list classGroup.classes as class>
|
<#list classGroup.classes as class>
|
||||||
<#-- Only render classes with individuals -->
|
<#-- Only render classes with individuals -->
|
||||||
<#if (class.individualCount > 0)>
|
<#if (class.individualCount > 0)>
|
||||||
<li><a href="${class.url}">${class.name}</a> (${class.individualCount})</li>
|
<li role="listitem"><a href="${class.url}">${class.name}</a> (${class.individualCount})</li>
|
||||||
</#if>
|
</#if>
|
||||||
</#list>
|
</#list>
|
||||||
</ul>
|
</ul>
|
||||||
</#if>
|
</#if>
|
||||||
</#list>
|
</#list>
|
||||||
</div>
|
</section>
|
||||||
<#else>
|
<#else>
|
||||||
${noDataNotification}
|
${noDataNotification}
|
||||||
</#if>
|
</#if>
|
||||||
|
|
Loading…
Add table
Reference in a new issue