Commit f181a68c authored by Matija Obreza's avatar Matija Obreza
Browse files

Styled <ul> lists

parent 416caa35
......@@ -34,7 +34,7 @@
</div>
<h3><spring:message code="country.stat.countByLocation" arguments="${countByLocation}" /></h3>
<ul>
<ul class="funny-list">
<c:forEach items="${genesysInstitutes}" var="faoInstitute" varStatus="status">
<li><a href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}" />"><b><c:out value="${faoInstitute.code}" /></b> <c:out value="${faoInstitute.fullName}" /></a> <spring:message code="faoInstitute.accessionCount" arguments="${faoInstitute.accessionCount}" /></li>
</c:forEach>
......@@ -44,7 +44,7 @@
<spring:message code="country.page.faoInstitutes" arguments="${faoInstitutes.size()}" />
</h4>
<ul>
<ul class="funny-list">
<c:forEach items="${faoInstitutes}" var="faoInstitute" varStatus="status">
<li><a href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}" />"><b><c:out value="${faoInstitute.code}" /></b> <c:out value="${faoInstitute.fullName}" /></a></li>
</c:forEach>
......
......@@ -23,7 +23,7 @@
<c:set value="" var="hoofdleter" />
<ul>
<ul class="funny-list">
<c:forEach items="${countries}" var="country" varStatus="status">
<c:if test="${hoofdleter ne country.name.substring(0, 1)}">
<c:set var="hoofdleter" value="${country.name.substring(0, 1)}" />
......
......@@ -15,7 +15,7 @@
<a href="?page=${metadatas.number}">⇇ Previous</a>
<a href="?page=${metadatas.number + 2}">Next ⇉</a>
</div>
<ul>
<ul class="funny-list">
<c:forEach items="${metadatas.content}" var="metadata" varStatus="status">
<li><a href="/data/view/${metadata.id}"><c:out value="${metadata.title}" /></a> <c:out value="${metadata.institute}" /></li>
</c:forEach>
......
......@@ -26,7 +26,7 @@
<a href="?page=${faoInstitutes.number + 2}">Next ⇉</a>
</div>
<ul>
<ul class="funny-list">
<c:forEach items="${faoInstitutes.content}" var="faoInstitute" varStatus="status">
<li><a href="<c:url value="/wiews/${faoInstitute.code.toLowerCase()}" />"><b><c:out value="${faoInstitute.code}" /></b> <c:out value="${faoInstitute.fullName}" /></a>
<spring:message code="faoInstitute.accessionCount" arguments="${faoInstitute.accessionCount}" />
......
......@@ -120,6 +120,13 @@ li.hoofdleter small {
background-color: #dfd0c0;
}
ul.funny-list {
margin: 0;
}
ul.funny-list li {
list-style-type: none;
}
body {
background-color: #e8e5e0;
color: #4d4c47;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment