You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.4 KiB
Plaintext

<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:choose>
<c:when test="${isRootVO}">
<input type="hidden" value="${catalogueURL}" id="catalogueURL">
<table class="catalogue-container">
<tr class="catalogue-table-row">
<td class="catalogue-table-cell">
<div class="input-append input-catalogue">
<input type="text" class="input-large" name="q" value=""
autocomplete="off" placeholder="Insert keywords here"
id="inputQueryCatalogue">
<button class="btn btn-primary" type="button" title="Search"
id="searchCatalogueButton">
<i class="icon-search"></i> <span>Search</span>
</button>
</div>
<div>
<a href="${catalogueURL}?path=/dataset">See All Items</a> <a
href="${catalogueURL}?path=/tags" style="float: right;">See
All Tags</a>
</div>
</td>
<td class="catalogue-table-cell-max">
<table>
<tr>
<c:forEach var="type" items="${catalogueTypes}">
<td class="media-item-homepage"><a href="${type.link}"
title="View ${type.name}"> <img class="logo-homepage"
src="${type.img}" alt="${type.name}"
title="${type.name} group">
</a>
<p class="media-heading-homepage">
<a href="${type.link}" title="View ${type.name}">
${type.name} (${type.occurrence}) </a>
</p></td>
</c:forEach>
</tr>
</table>
</td>
</tr>
</table>
</c:when>
<c:otherwise>
<div id="catalogueDiv">
<div class="input-append input-catalogue">
<input type="text" class="input-large" name="q" value=""
autocomplete="off" placeholder="Insert keywords here"
id="inputQueryCatalogue">
<button class="btn btn-primary" type="button" title="Search"
id="searchCatalogueButton">
<i class="icon-search"></i> <span>Search</span>
</button>
</div>
<div class="catstats">
<ul>
<li><a href="${catalogueURL}?path=/dataset/"> <b><span>${itemsNo}</span></b>
items
</a></li>
<li><a href="${catalogueURL}?path=/organization/"> <b><span>${organisationsNo}</span></b>
organisation
</a></li>
<li><a href="${catalogueURL}?path=/group/"> <b><span>${groupsNo}</span></b>
groups
</a></li>
<li><a href="${catalogueURL}?path=/type/"> <b><span>${typesNo}</span></b>
types
</a></li>
</ul>
</div>
</div>
</c:otherwise>
</c:choose>