method.jsp 1 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>

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

<html>
<head>
<title><spring:message code="metadata.page.title" /></title>
</head>
<body>
	<h1>
		<c:out value="${trait.title}" />
	</h1>

	<table>
		<tbody>
			<tr>
				<td><a href="<c:url value="/descriptors/${trait.id}" />"><c:out value="${method.parameter.title}" /></a></td>
				<td><a href="<c:url value="/descriptors/${trait.id}/${method.id}" />"><c:out value="${method.method}" /></a></td>
				<td><c:out value="${method.fieldName}" /></td>
				<td><c:out value="${method.unit}" /></td>
			</tr>
		</tbody>
	</table>

	<h3><spring:message code="accession.metadatas" /></h3>
Matija Obreza's avatar
Matija Obreza committed
26

Matija Obreza's avatar
Matija Obreza committed
27
	<ul class="funny-list">
Matija Obreza's avatar
Matija Obreza committed
28
29
30
31
32
		<c:forEach items="${metadatas}" var="metadata" varStatus="status">
			<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>
				<div class="pull-right">
					<c:out value="${metadata.institute}" />
				</div></li>
Matija Obreza's avatar
Matija Obreza committed
33
34
35
36
		</c:forEach>
	</ul>
</body>
</html>