index.jsp 1.36 KB
Newer Older
1
2
3
4
5
6
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp"%>

<html>
<head>
Matija Obreza's avatar
Matija Obreza committed
7
<title><spring:message code="metadata.page.title" /></title>
8
9
</head>
<body>
Matija Obreza's avatar
Styling    
Matija Obreza committed
10
11
12
	<h1>
		<spring:message code="metadata.page.title" />
	</h1>
13

Matija Obreza's avatar
Matija Obreza committed
14
15
16
17
18
19
20
21
	<div class="main-col-header clearfix">
	<div class="nav-header pull-left">
		<div class="results"><spring:message code="paged.totalElements" arguments="${pagedData.totalElements}" /></div>
		<div class="pagination">
			<spring:message code="paged.pageOfPages" arguments="${pagedData.number+1},${pagedData.totalPages}" />
			<a href="<spring:url value=""><spring:param name="page" value="${pagedData.number eq 0 ? 1 : pagedData.number}" /><spring:param name="filter" value="${jsonFilter}" /></spring:url>"><spring:message code="pagination.previous-page" /></a>
			<a href="<spring:url value=""><spring:param name="page" value="${pagedData.number+2}" /><spring:param name="filter" value="${jsonFilter}" /></spring:url>"><spring:message code="pagination.next-page" /></a>
		</div>
22
	</div>
Matija Obreza's avatar
Matija Obreza committed
23
24
	</div>
	
Matija Obreza's avatar
Matija Obreza committed
25
	<ul class="funny-list">
Matija Obreza's avatar
Matija Obreza committed
26
		<c:forEach items="${pagedData.content}" var="metadata" varStatus="status">
27
			<li class="clearfix ${status.count % 2 == 0 ? 'even' : 'odd'}"><a class="show pull-left" href="/data/view/${metadata.id}"><c:out value="${metadata.title}" /></a>
Matija Obreza's avatar
Matija Obreza committed
28
<div class="pull-right"><c:out value="${metadata.instituteCode}" /></div></li>
29
30
31
32
33
		</c:forEach>
	</ul>

</body>
</html>