Commit 7c795f05 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1177: Show download data and provide actions

Task-Url: https://pm.winseda.de/issues/1177
parent 49a48577
......@@ -139,8 +139,18 @@
<span class="no-break-out">${ds.id}</span>
</li>
<li>
<span class="state-heading"><s:message code="~eu.dariah.de.minfba.search.metamodel_view.endpoint.document_count" />:</span>
<span class="no-break-out"><fmt:formatNumber value="${ds.docs}" /></span>
<span class="state-heading">
<i class="fa fa-color-info fa-info-circle" aria-hidden="true" data-toggle="tooltip" data-placement="top" title="<s:message code="~eu.dariah.de.minfba.search.view.dataset.label.document_count" />"></i>
<s:message code="~eu.dariah.de.minfba.search.metamodel_view.endpoint.document_count" />:
</span>
<span class="no-break-out"><fmt:formatNumber value="${ds.docs}" /></span>
</li>
<li>
<span class="state-heading">
<i class="fa fa-color-info fa-info-circle" aria-hidden="true" data-toggle="tooltip" data-placement="top" title="<s:message code="~eu.dariah.de.minfba.search.view.dataset.label.additional_data" />"></i>
<s:message code="~eu.dariah.de.minfba.search.metamodel_view.endpoint.additional_data" />:
</span>
<span class="no-break-out"><fmt:formatNumber value="${data.fileCount}" /> <s:message code="~eu.dariah.de.minfba.common.view.label.files_sm" /> (${data.readableSize})</span>
</li>
<li>
<span class="state-heading"><s:message code="~eu.dariah.de.minfba.common.status" />:</span>
......@@ -164,13 +174,13 @@
<div>
<c:choose>
<c:when test="${currentCrawl!=null}">
<button class="btn-cancel-crawl btn btn-link" data-crawl-id="" onclick="editor.cancelCrawl(this);"><i class="fa fa-ban fa-color-danger"></i> <s:message code="~eu.dariah.de.minfba.search.actions.crawls.cancel" /></button>
<button class="btn-cancel-crawl btn btn-link" data-crawl-id="${currentCrawl.id}" onclick="editor.cancelCrawl(this);"><i class="fa fa-ban fa-color-danger"></i> <s:message code="~eu.dariah.de.minfba.search.actions.crawls.cancel" /></button>
</c:when>
<c:otherwise>
<c:if test="${!ep.error && !ep.unaccessible && !ds.errorLock && ds.datamodelPojo.available}">
<button class="btn-crawl-online btn btn-link" onclick="editor.crawlOnline('${ep.id}','${ds.id}');"><i class="fa fa-refresh"></i><s:message code="~eu.dariah.de.minfba.search.view.crawl.crawl_online" /></button>
</c:if>
<button class="btn-clear-index btn btn-link" onclick="editor.clearEndpointSchemaIndex('${ep.id}','${ds.id}');"><i class="fa fa-trash "></i> <s:message code="~eu.dariah.de.minfba.search.actions.dataset.clear" /></button>
<button class="btn-clear-index btn btn-link" onclick="editor.clearData('${ep.id}','${ds.id}', ${data.exists && data.fileCount>0});"><i class="fa fa-trash "></i> <s:message code="~eu.dariah.de.minfba.search.actions.dataset.clear" /></button>
</c:otherwise>
</c:choose>
</div>
......
......@@ -2,7 +2,7 @@
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<div>
<div style="float: left;" class="search-results-image" id="search-results-image-~{index}">
<div style="float: left; maximum-height: 135px; maximum-width: 135px; overlow: hidden;" class="search-results-image" id="search-results-image-~{index}">
<div class="background">
<div class="background-image"></div>
<div class="background-banner"></div>
......
Supports Markdown
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