Commit 7bab98fe authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

format tabs to spaces for jsp

parent 911d8d7d
Pipeline #136200 passed with stages
in 9 minutes and 10 seconds
...@@ -6,105 +6,105 @@ ...@@ -6,105 +6,105 @@
<form class="tgrep advanced-search"> <form class="tgrep advanced-search">
<h1>${i18n['advanced-search']}</h1> <h1>${i18n['advanced-search']}</h1>
<fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Metadata</legend> <fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Metadata</legend>
<fieldset class="tgrep advanced-search_fieldset"> <fieldset class="tgrep advanced-search_fieldset">
<ul class="tgrep advanced-search_grow-group"> <ul class="tgrep advanced-search_grow-group">
<li class="tgrep advanced-search_grow-item metadata-searchgroup"> <li class="tgrep advanced-search_grow-item metadata-searchgroup">
<span class="tgrep advanced-search_input-group -operator -block">AND </span> <span class="tgrep advanced-search_input-group -operator -block">AND </span>
<label class="tgrep advanced-search_input-group -type"> <label class="tgrep advanced-search_input-group -type">
<span class="sr-only">Field name</span> <span class="sr-only">Field name</span>
<select class="tgrep advanced-search_input -full-width" name="metadata-field"> <select class="tgrep advanced-search_input -full-width" name="metadata-field">
<option value="title">Title</option> <option value="title">Title</option>
<option value="edition.agent.value">Author</option> <option value="edition.agent.value">Author</option>
<option value="edition.language">Language</option> <option value="edition.language">Language</option>
<option value="notes">Notes</option> <option value="notes">Notes</option>
<option value="genre">Genre</option> <option value="genre">Genre</option>
<option value="rightsHolder">Rights Holder</option> <option value="rightsHolder">Rights Holder</option>
<option value="format">Format</option> <option value="format">Format</option>
<option value="work.dateOfCreation.date">Date</option> <option value="work.dateOfCreation.date">Date</option>
<option value="work.dateOfCreation.notBefore">Date (not Before)</option> <option value="work.dateOfCreation.notBefore">Date (not Before)</option>
<option value="work.dateOfCreation.noAfter">Date (note After)</option> <option value="work.dateOfCreation.noAfter">Date (note After)</option>
</select> </select>
</label> </label>
<label class="tgrep advanced-search_input-group -term"> <label class="tgrep advanced-search_input-group -term">
<span class="sr-only">Search term</span> <span class="sr-only">Search term</span>
<input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" /> <input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" />
</label> </label>
<span class="tgrep advanced-search_input-group -operator"> OR </span> <span class="tgrep advanced-search_input-group -operator"> OR </span>
<label class="tgrep advanced-search_input-group -term"> <label class="tgrep advanced-search_input-group -term">
<span class="sr-only">Search term</span> <span class="sr-only">Search term</span>
<input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" /> <input class="tgrep advanced-search_input -full-width" name="metadata-term" type="text" />
</label> </label>
<span class="tgrep advanced-search_input-group -buttons"> <span class="tgrep advanced-search_input-group -buttons">
<button class="tgrep advanced-search_button -item -add" type="button"> <button class="tgrep advanced-search_button -item -add" type="button">
<span class="sr-only">Add another field</span> <span class="sr-only">Add another field</span>
</button> </button>
<button class="tgrep advanced-search_button -item -remove" disabled="disabled" type="button"> <button class="tgrep advanced-search_button -item -remove" disabled="disabled" type="button">
<span class="sr-only">Remove this field</span> <span class="sr-only">Remove this field</span>
</button> </button>
</span> </span>
</li> </li>
</ul> </ul>
</fieldset> </fieldset>
<button class="tgrep advanced-search_button -toggle" data-target="content-types" type="button">Content Types</button> <button class="tgrep advanced-search_button -toggle" data-target="content-types" type="button">Content Types</button>
<fieldset class="tgrep advanced-search_fieldset -toggle" id="content-types"> <fieldset class="tgrep advanced-search_fieldset -toggle" id="content-types">
<p class="tgrep advanced-search_input-group -buttons"> <p class="tgrep advanced-search_input-group -buttons">
<button class="tgrep advanced-search_button -select -all" data-target="content-types" type="button">Alle markieren</button> <button class="tgrep advanced-search_button -select -all" data-target="content-types" type="button">Alle markieren</button>
<button class="tgrep advanced-search_button -select -none" data-target="content-types" type="button">Alle abwählen</button> <button class="tgrep advanced-search_button -select -none" data-target="content-types" type="button">Alle abwählen</button>
</p> </p>
<ul> <ul>
<li><input id="content-type-0" name="contenttype" type="checkbox" value="text/tg.aggregation+xml" /> <label for="content-type-0">Aggregation (text/tg.aggregation+xml)</label></li> <li><input id="content-type-0" name="contenttype" type="checkbox" value="text/tg.aggregation+xml" /> <label for="content-type-0">Aggregation (text/tg.aggregation+xml)</label></li>
<li><input id="content-type-1" name="contenttype" type="checkbox" value="text/css" /> <label for="content-type-1">Cascading Stylesheet (CSS) (text/css)</label></li> <li><input id="content-type-1" name="contenttype" type="checkbox" value="text/css" /> <label for="content-type-1">Cascading Stylesheet (CSS) (text/css)</label></li>
<li><input id="content-type-2" name="contenttype" type="checkbox" value="text/tg.collection+tg.aggregation+xml" /> <label for="content-type-2">Collection (text/tg.collection+tg.aggregation+xml)</label></li> <li><input id="content-type-2" name="contenttype" type="checkbox" value="text/tg.collection+tg.aggregation+xml" /> <label for="content-type-2">Collection (text/tg.collection+tg.aggregation+xml)</label></li>
<li><input id="content-type-3" name="contenttype" type="checkbox" value="application/xml-dtd" /> <label for="content-type-3">DTD (application/xml-dtd)</label></li> <li><input id="content-type-3" name="contenttype" type="checkbox" value="application/xml-dtd" /> <label for="content-type-3">DTD (application/xml-dtd)</label></li>
<li><input id="content-type-4" name="contenttype" type="checkbox" value="text/tg.edition+tg.aggregation+xml" /> <label for="content-type-4">Edition (text/tg.edition+tg.aggregation+xml)</label></li> <li><input id="content-type-4" name="contenttype" type="checkbox" value="text/tg.edition+tg.aggregation+xml" /> <label for="content-type-4">Edition (text/tg.edition+tg.aggregation+xml)</label></li>
<li><input id="content-type-5" name="contenttype" type="checkbox" value="image/x-unknown" /> <label for="content-type-5">Image (image/x-unknown)</label></li> <li><input id="content-type-5" name="contenttype" type="checkbox" value="image/x-unknown" /> <label for="content-type-5">Image (image/x-unknown)</label></li>
<li><input id="content-type-6" name="contenttype" type="checkbox" value="text/tg.imex+xml" /> <label for="content-type-6">Import / Export Mapping (text/tg.imex+xml)</label></li> <li><input id="content-type-6" name="contenttype" type="checkbox" value="text/tg.imex+xml" /> <label for="content-type-6">Import / Export Mapping (text/tg.imex+xml)</label></li>
<li><input id="content-type-7" name="contenttype" type="checkbox" value="image/jpeg" /> <label for="content-type-7">JPEG image (image/jpeg)</label></li> <li><input id="content-type-7" name="contenttype" type="checkbox" value="image/jpeg" /> <label for="content-type-7">JPEG image (image/jpeg)</label></li>
<li><input id="content-type-8" name="contenttype" type="checkbox" value="image/png" /> <label for="content-type-8">PNG image (image/png)</label></li> <li><input id="content-type-8" name="contenttype" type="checkbox" value="image/png" /> <label for="content-type-8">PNG image (image/png)</label></li>
<li><input id="content-type-9" name="contenttype" type="checkbox" value="text/plain" /> <label for="content-type-9">Plain Text (text/plain)</label></li> <li><input id="content-type-9" name="contenttype" type="checkbox" value="text/plain" /> <label for="content-type-9">Plain Text (text/plain)</label></li>
<li><input id="content-type-10" name="contenttype" type="checkbox" value="text/tg.projectfile+xml" /> <label for="content-type-10">Project Configuration (text/tg.projectfile+xml)</label></li> <li><input id="content-type-10" name="contenttype" type="checkbox" value="text/tg.projectfile+xml" /> <label for="content-type-10">Project Configuration (text/tg.projectfile+xml)</label></li>
<li><input id="content-type-11" name="contenttype" type="checkbox" value="image/tiff" /> <label for="content-type-11">TIFF image (image/tiff)</label></li> <li><input id="content-type-11" name="contenttype" type="checkbox" value="image/tiff" /> <label for="content-type-11">TIFF image (image/tiff)</label></li>
<li><input id="content-type-12" name="contenttype" type="checkbox" value="text/linkeditorlinkedfile" /> <label for="content-type-12">Text Image Link File (text/linkeditorlinkedfile)</label></li> <li><input id="content-type-12" name="contenttype" type="checkbox" value="text/linkeditorlinkedfile" /> <label for="content-type-12">Text Image Link File (text/linkeditorlinkedfile)</label></li>
<li><input id="content-type-13" name="contenttype" type="checkbox" value="text/tg.servicedescription+xml" /> <label for="content-type-13">TextGrid Service Description (text/tg.servicedescription+xml)</label></li> <li><input id="content-type-13" name="contenttype" type="checkbox" value="text/tg.servicedescription+xml" /> <label for="content-type-13">TextGrid Service Description (text/tg.servicedescription+xml)</label></li>
<li><input id="content-type-14" name="contenttype" type="checkbox" value="text/tg.inputform+rdf+xml" /> <label for="content-type-14">TextGrid TGForm RDF-Object (text/tg.inputform+rdf+xml)</label></li> <li><input id="content-type-14" name="contenttype" type="checkbox" value="text/tg.inputform+rdf+xml" /> <label for="content-type-14">TextGrid TGForm RDF-Object (text/tg.inputform+rdf+xml)</label></li>
<li><input id="content-type-15" name="contenttype" type="checkbox" value="text/gwdl.workflow+xml" /> <label for="content-type-15">TextGrid Workflow Document (GWDL) (text/gwdl.workflow+xml)</label></li> <li><input id="content-type-15" name="contenttype" type="checkbox" value="text/gwdl.workflow+xml" /> <label for="content-type-15">TextGrid Workflow Document (GWDL) (text/gwdl.workflow+xml)</label></li>
<li><input id="content-type-16" name="contenttype" type="checkbox" value="text/tg.workflow+xml" /> <label for="content-type-16">TextGrid Workflow Document (text/tg.workflow+xml)</label></li> <li><input id="content-type-16" name="contenttype" type="checkbox" value="text/tg.workflow+xml" /> <label for="content-type-16">TextGrid Workflow Document (text/tg.workflow+xml)</label></li>
<li><input id="content-type-17" name="contenttype" type="checkbox" value="text/tg.work+xml" /> <label for="content-type-17">Work (text/tg.work+xml)</label></li> <li><input id="content-type-17" name="contenttype" type="checkbox" value="text/tg.work+xml" /> <label for="content-type-17">Work (text/tg.work+xml)</label></li>
<li><input id="content-type-18" name="contenttype" type="checkbox" value="text/xml" /> <label for="content-type-18">XML Document (text/xml)</label></li> <li><input id="content-type-18" name="contenttype" type="checkbox" value="text/xml" /> <label for="content-type-18">XML Document (text/xml)</label></li>
<li><input id="content-type-19" name="contenttype" type="checkbox" value="text/xsd+xml" /> <label for="content-type-19">XML Schema (text/xsd+xml)</label></li> <li><input id="content-type-19" name="contenttype" type="checkbox" value="text/xsd+xml" /> <label for="content-type-19">XML Schema (text/xsd+xml)</label></li>
<li><input id="content-type-20" name="contenttype" type="checkbox" value="text/xml+xslt" /> <label for="content-type-20">XSLT Stylesheet (text/xml+xslt)</label></li> <li><input id="content-type-20" name="contenttype" type="checkbox" value="text/xml+xslt" /> <label for="content-type-20">XSLT Stylesheet (text/xml+xslt)</label></li>
<li><input id="content-type-21" name="contenttype" type="checkbox" value="application/zip" /> <label for="content-type-21">ZIP Archive (application/zip)</label></li> <li><input id="content-type-21" name="contenttype" type="checkbox" value="application/zip" /> <label for="content-type-21">ZIP Archive (application/zip)</label></li>
<li><input id="content-type-22" name="contenttype" type="checkbox" value="text/tg.webpublisher+xml" /> <label for="content-type-22">webpublisher (text/tg.webpublisher+xml)</label></li> <li><input id="content-type-22" name="contenttype" type="checkbox" value="text/tg.webpublisher+xml" /> <label for="content-type-22">webpublisher (text/tg.webpublisher+xml)</label></li>
</ul> </ul>
</fieldset> </fieldset>
</fieldset> </fieldset>
<fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Fulltext</legend> <fieldset class="tgrep advanced-search_fieldset"><legend class="tgrep advanced-search_legend">Fulltext</legend>
<fieldset class="tgrep advanced-search_fieldset"> <fieldset class="tgrep advanced-search_fieldset">
<label class="sr-only" for="advanced-search_fulltext-input">Search terms</label> <label class="sr-only" for="advanced-search_fulltext-input">Search terms</label>
<input class="tgrep advanced-search_input -full-width" id="advanced-search_fulltext-input" name="fulltext" type="text" /> <input class="tgrep advanced-search_input -full-width" id="advanced-search_fulltext-input" name="fulltext" type="text" />
</fieldset> </fieldset>
<button class="tgrep advanced-search_button -toggle" data-target="word-distance" type="button">Word distances</button> <button class="tgrep advanced-search_button -toggle" data-target="word-distance" type="button">Word distances</button>
<fieldset class="tgrep advanced-search_fieldset -toggle" id="word-distance"> <fieldset class="tgrep advanced-search_fieldset -toggle" id="word-distance">
<ul> <ul>
<li><input checked="checked" id="word-distance-0" name="wordDistanceSel" type="radio" value="false" /> <label for="word-distance-0"> in one document </label></li> <li><input checked="checked" id="word-distance-0" name="wordDistanceSel" type="radio" value="false" /> <label for="word-distance-0"> in one document </label></li>
<li><input id="word-distance-1" name="wordDistanceSel" type="radio" value="true" /> <label for="word-distance-1"> no more than <input max="1000" min="1" name="wordDistance" step="1" type="number" value="40" /> words </label></li> <li><input id="word-distance-1" name="wordDistanceSel" type="radio" value="true" /> <label for="word-distance-1"> no more than <input max="1000" min="1" name="wordDistance" step="1" type="number" value="40" /> words </label></li>
</ul> </ul>
</fieldset> </fieldset>
</fieldset> </fieldset>
<input class="tgrep advanced-search_submit" type="submit" value="Search" /> <input class="tgrep advanced-search_submit" type="submit" value="Search" />
</form> </form>
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
<span hidden="true" id="i18n-add-to-shelf-label" data-value="${i18n['add-to-shelf']}"></span> <span hidden="true" id="i18n-add-to-shelf-label" data-value="${i18n['add-to-shelf']}"></span>
<header class="tg header"> <header class="tg header">
<div class="tg header_logo" role="banner"> <div class="tg header_logo" role="banner">
<a href="/" title="TextGrid Repository"> <a href="/" title="TextGrid Repository">
<img src="/images/textgrid-repository-logo.svg" alt="TextGrid Repository Logo"> <img src="/images/textgrid-repository-logo.svg" alt="TextGrid Repository Logo">
</a> </a>
</div> </div>
<%@ include file="topbox.jsp" %> <%@ include file="topbox.jsp" %>
<%@ include file="navigation.jsp" %> <%@ include file="navigation.jsp" %>
</header> </header>
<main class="tg main -default" id="content"> <main class="tg main -default" id="content">
......
...@@ -36,13 +36,13 @@ ...@@ -36,13 +36,13 @@
--> -->
<li class="tg topbox_language"> <li class="tg topbox_language">
<c:choose> <c:choose>
<c:when test="${language == 'de'}"> <c:when test="${language == 'de'}">
<a class="tg topbox_language" href="<my:replaceParam name='lang' value='en' />"><span class="sr-only">Switch language to </span>English</a> <a class="tg topbox_language" href="<my:replaceParam name='lang' value='en' />"><span class="sr-only">Switch language to </span>English</a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class="tg topbox_language" href="<my:replaceParam name='lang' value='de' />"><span class="sr-only">Sprache ndern nach </span>Deutsch</a> <a class="tg topbox_language" href="<my:replaceParam name='lang' value='de' />"><span class="sr-only">Sprache ndern nach </span>Deutsch</a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</li> </li>
</ul> </ul>
</nav> </nav>
\ No newline at end of file
...@@ -11,83 +11,83 @@ ...@@ -11,83 +11,83 @@
<span hidden="true" id="basketItemString" data-value="${basketItemString}"></span> <span hidden="true" id="basketItemString" data-value="${basketItemString}"></span>
<div class="tgrep wrap"> <div class="tgrep wrap">
<div class="tgrep sidebar-toggle"> <div class="tgrep sidebar-toggle">
<button class="tgrep sidebar-toggle_button -show">${i18n['show-sidebar']}</button> <button class="tgrep sidebar-toggle_button -show">${i18n['show-sidebar']}</button>
<button class="tgrep sidebar-toggle_button -hide">${i18n['hide-sidebar']}</button> <button class="tgrep sidebar-toggle_button -hide">${i18n['hide-sidebar']}</button>
</div> </div>
<aside class="tgrep sidebar"> <aside class="tgrep sidebar">
<c:if test="${viewmodes != null}"> <c:if test="${viewmodes != null}">
<section class="tgrep sidebar_panel"> <section class="tgrep sidebar_panel">
<h3 class="tgrep sidebar_subheading">${i18n['views']}</h3> <h3 class="tgrep sidebar_subheading">${i18n['views']}</h3>
<ul class="tgrep sidebar_list"> <ul class="tgrep sidebar_list">
<c:forEach items="${viewmodes}" var="viewmode"> <c:forEach items="${viewmodes}" var="viewmode">
<li class="tgrep sidebar_item"> <li class="tgrep sidebar_item">
<a href="${viewmode.url}" rel="noindex nofollow" class="tgrep sidebar_link">${viewmode.label}</a> <a href="${viewmode.url}" rel="noindex nofollow" class="tgrep sidebar_link">${viewmode.label}</a>
</li> </li>
</c:forEach> </c:forEach>
</ul> </ul>
<c:if test="${viewmodes.size() > 6}"> <c:if test="${viewmodes.size() > 6}">
<button class="tgrep sidebar_expand">${i18n['expand']}</button> <button class="tgrep sidebar_expand">${i18n['expand']}</button>
</c:if> </c:if>
</section> </section>
</c:if> </c:if>
<c:if test="${results.size() > 0}"> <c:if test="${results.size() > 0}">
<section class="tgrep sidebar_panel remove_on_shelf_empty"> <section class="tgrep sidebar_panel remove_on_shelf_empty">
<h3 class="tgrep sidebar_subheading">${i18n['tools']}</h3> <h3 class="tgrep sidebar_subheading">${i18n['tools']}</h3>
<ul class="tgrep sidebar_list"> <ul class="tgrep sidebar_list">
<li class="tgrep sidebar_item"> <li class="tgrep sidebar_item">
<a class="aggregator-items" href="${voyantUrl}?input=${aggregatorUrl}/zip/${basketItemString}?meta=false&only=text/xml" rel="noindex nofollow" class="tgrep sidebar_link">Voyant</a> <a class="aggregator-items" href="${voyantUrl}?input=${aggregatorUrl}/zip/${basketItemString}?meta=false&only=text/xml" rel="noindex nofollow" class="tgrep sidebar_link">Voyant</a>
</li> </li>
</ul> </ul>
</section> </section>
</c:if> </c:if>
</aside> </aside>
<main class="tgrep main"> <main class="tgrep main">
<h1 class="tgrep main_heading">${i18n['shelf']}</h1> <h1 class="tgrep main_heading">${i18n['shelf']}</h1>
<header class="tgrep header"> <header class="tgrep header">
<h2 class="tgrep header_heading">${i18n['manage-the-shelf']}</h2> <h2 class="tgrep header_heading">${i18n['manage-the-shelf']}</h2>
<div class="tgrep header_info"> <div class="tgrep header_info">
${i18n['there-are-currently']} <span class="tgrep header_count">${results.size()}</span> ${i18n['objects-on-your-shelf']} ${i18n['there-are-currently']} <span class="tgrep header_count">${results.size()}</span> ${i18n['objects-on-your-shelf']}
</div> </div>
<c:if test="${results.size() > 0}"> <c:if test="${results.size() > 0}">
<div class="tgrep header_actions remove_on_shelf_empty"> <div class="tgrep header_actions remove_on_shelf_empty">
<button class="tgrep header_button -expand-all">${i18n['expand-all']}</button> <button class="tgrep header_button -expand-all">${i18n['expand-all']}</button>
<button class="tgrep header_button -collapse-all ">${i18n['collapse-all']}</button> <button class="tgrep header_button -collapse-all ">${i18n['collapse-all']}</button>
<button class="tgrep header_button -clear ">${i18n['clear']}</button> <button class="tgrep header_button -clear ">${i18n['clear']}</button>
<div class="tg dropdown" role="group"> <div class="tg dropdown" role="group">
<a class="tg dropdown_toggle">${i18n['download-all']}</a> <a class="tg dropdown_toggle">${i18n['download-all']}</a>
<ul class="tg dropdown_menu"> <ul class="tg dropdown_menu">
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/epub/${basketItemString}" data-type="ebook">E-Book</a></li> <li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/epub/${basketItemString}" data-type="ebook">E-Book</a></li>
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/zip/${basketItemString}" data-type="zip">ZIP</a></li> <li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/zip/${basketItemString}" data-type="zip">ZIP</a></li>
<li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/teicorpus/${basketItemString}" data-type="teicorpus">TEI-Corpus</a></li> <li class="tg dropdown_item"><a class="aggregator-items tg dropdown_link" href="${aggregatorUrl}/teicorpus/${basketItemString}" data-type="teicorpus">TEI-Corpus</a></li>
</ul> </ul>
</div> </div>
</div> </div>
</c:if> </c:if>
</header> </header>
<c:choose> <c:choose>
<c:when test="${mode eq 'gallery'}"> <c:when test="${mode eq 'gallery'}">
<ul class="tgrep results_gallery"> <ul class="tgrep results_gallery">
<c:forEach items="${results}" var="result"> <c:forEach items="${results}" var="result">
<%@ include file="components/singleGalleryResult.jsp" %> <%@ include file="components/singleGalleryResult.jsp" %>
</c:forEach> </c:forEach>
</ul> </ul>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<ul class="tgrep results_list"> <ul class="tgrep results_list">
<c:forEach items="${results}" var="result"> <c:forEach items="${results}" var="result">
<%@ include file="components/singleListResult.jsp" %> <%@ include file="components/singleListResult.jsp" %>
</c:forEach> </c:forEach>
</ul> </ul>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</main> </main>
</div> </div>
......
This diff is collapsed.
...@@ -7,25 +7,25 @@ ...@@ -7,25 +7,25 @@
<div class="tgrep wrap"> <div class="tgrep wrap">
<main class="tgrep main -full-width"> <main class="tgrep main -full-width">
<div class="tgrep browse"> <div class="tgrep browse">
<ul class="tgrep browse_list"> <ul class="tgrep browse_list">
<c:forEach items="${facets}" var="result"> <c:forEach items="${facets}" var="result">
<li class="tgrep browse_item"> <li class="tgrep browse_item">
<c:url context="/" value="/search" var="encodedUrl"> <c:url context="/" value="/search" var="encodedUrl">
<c:param name="filter" value="${facet}:${result.value}" /> <c:param name="filter" value="${facet}:${result.value}" />
</c:url> </c:url>
<a class="tgrep browse_link" href="${encodedUrl}"> <a class="tgrep browse_link" href="${encodedUrl}">
${result.value} ${result.value}
</a> </a>
(${result.count} items) (${result.count} items)
</li> </li>
</c:forEach> </c:forEach>
</ul> </ul>
</div> </div>
</main> </main>
</div> </div>
......
...@@ -29,17 +29,17 @@ ...@@ -29,17 +29,17 @@
<dl> <dl>
<dt>${i18n['aggregation-citation-heading']}</dt> <dt>${i18n['aggregation-citation-heading']}</dt>
<dd>TextGrid Repository (${fn:substring(metadata.object.generic.generated.issued, 0, 4)}). <dd>TextGrid Repository (${fn:substring(metadata.object.generic.generated.issued, 0, 4)}).
<c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup"> <c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup">
<c:forEach items="${pathGroup.path}" var="path"> <c:forEach items="${pathGroup.path}" var="path">
<c:forEach items="${path.entry}" var="pathEntry"> <c:forEach items="${path.entry}" var="pathEntry">
${pathEntry.title}. ${pathEntry.title}.
</c:forEach> </c:forEach>
</c:forEach> </c:forEach>
</c:forEach> </c:forEach>
${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}. ${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}.
<a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}"> <a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}">
${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')} ${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}
</a> </a>
</dd> </dd>
</dl> </dl>
</c:when> </c:when>
...@@ -59,17 +59,17 @@ ...@@ -59,17 +59,17 @@
<dl> <dl>
<dt>${i18n['item-citation-heading']}</dt> <dt>${i18n['item-citation-heading']}</dt>
<dd>TextGrid Repository (${fn:substring(metadata.object.generic.generated.issued, 0, 4)}). <dd>TextGrid Repository (${fn:substring(metadata.object.generic.generated.issued, 0, 4)}).
<c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup"> <c:forEach items="${result.pathResponse.pathGroup}" var="pathGroup">
<c:forEach items="${pathGroup.path}" var="path"> <c:forEach items="${pathGroup.path}" var="path">
<c:forEach items="${path.entry}" var="pathEntry"> <c:forEach items="${path.entry}" var="pathEntry">
${pathEntry.title}. ${pathEntry.title}.
</c:forEach> </c:forEach>
</c:forEach> </c:forEach>
</c:forEach> </c:forEach>
${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}. ${metadata.object.generic.provided.title[0]}. ${metadata.object.generic.generated.project.value}. ${metadata.object.item.rightsHolder[0].value}.
<a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}"> <a href="${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}">
${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')} ${handleHost}/${fn:substringAfter(metadata.object.generic.generated.pid[0].value, 'hdl:')}
</a> </a>
</dd> </dd>
</dl> </dl>
</c:otherwise> </c:otherwise>
......
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="tg pagination"> <div class="tg pagination">
<ul class="tg pagination_list"> <ul class="tg pagination_list">
<!-- previous button --> <!-- previous button -->
<c:if test="${pager.start eq 0}"> <c:if test="${pager.start eq 0}">
<li class="tg pagination_item -disabled"> <li class="tg pagination_item -disabled">
<span class="tg pagination_link -first" title="${i18n['go-to-first-page']}"> <span class="tg pagination_link -first" title="${i18n['go-to-first-page']}">
<span class="sr-only">${i18n['first-page']}</span> <span class="sr-only">${i18n['first-page']}</span>
</span> </span>
</li> </li>
<li class="tg pagination_item -disabled"> <li class="tg pagination_item -disabled">
<span class="tg pagination_link -prev" title="${i18n['go-to-previous-page']}"> <span class="tg pagination_link -prev" title="${i18n['go-to-previous-page']}">
<span class="sr-only">${i18n['previous-page']}</span> <span class="sr-only">${i18n['previous-page']}</span>
</span> </span>
</li> </li>
</c:if> </c:if>
<c:if test="${pager.start gt 0}"> <c:if test="${pager.start gt 0}">
<li class="tg pagination_item"> <li class="tg pagination_item">
<a class="tg pagination_link -first" href="?query=${query}${filterQueryString}&start=0&limit=${pager.limit}&order=${order}" title="${i18n['go-to-first-page']}"> <a class="tg pagination_link -first" href="?query=${query}${filterQueryString}&start=0&limit=${pager.limit}&order=${order}" title="${i18n['go-to-first-page']}">
<span class="sr-only">${i18n['first-page']}</span> <span class="sr-only">${i18n['first-page']}</span>
</a> </a>
</li> </li>
<li class="tg pagination_item"> <li class="tg pagination_item">
<a class="tg pagination_link -prev" href="?query=${query}${filterQueryString}&start=${pager.start - pager.limit}&limit=${pager.limit}&order=${order}" title="${i18n['go-to-previous-page']}"> <a class="tg pagination_link -prev" href="?query=${query}${filterQueryString}&start=${pager.start - pager.limit}&limit=${pager.limit}&order=${order}" title="${i18n['go-to-previous-page']}">
<span class="sr-only">${i18n['previous-page']}</span> <span class="sr-only">${i18n['previous-page']}</span>