Commit 96ecedb0 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1278: Improve image handling esp. when not available

Task-Url: https://pm.winseda.de/issues/1278
parent 57bc01e6
...@@ -4,15 +4,13 @@ ...@@ -4,15 +4,13 @@
<div class="search-results-item d-md-flex flex-row"> <div class="search-results-item d-md-flex flex-row">
<div class="search-results-image" id="search-results-image-~{index}" style="flex: 0 0 145px;"> <div class="search-result-image-container" id="search-result-image-container-~{index}" style="flex: 0 0 145px;">
<div class="image-loading-overlay"> <div class="image-loading-overlay">
<i class="fas fa-circle-notch fa-spin fa-3x"></i> <i class="fas fa-circle-notch fa-spin fa-3x"></i>
</div> </div>
<div class="no-preview-overlay hide"> <div class="no-preview-overlay hide">
<s:message code="~eu.dariah.de.minfba.search.view.result.resources.no_preview" /> <s:message code="~eu.dariah.de.minfba.search.view.result.resources.no_preview" />
</div> </div>
<div id="search-results-image-~{index}" class="hide"></div>
</div> </div>
<div class="flex-grow-1"> <div class="flex-grow-1">
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
<h2><s:message code="~eu.dariah.de.minfba.search.options.simple" /></h2> <h2><s:message code="~eu.dariah.de.minfba.search.options.simple" /></h2>
<div class="checkbox"><label><input type="checkbox" id="explain" name="explain" value="true" /><s:message code="~eu.dariah.de.minfba.search.options.show_explanation" /></label></div> <div class="checkbox"><label><input type="checkbox" id="explain" name="explain" value="true" /><s:message code="~eu.dariah.de.minfba.search.options.show_explanation" /></label></div>
<div class="checkbox"><label><input type="checkbox" id="includeOriginal" name="includeOriginal" value="true" /><s:message code="~eu.dariah.de.minfba.search.options.include_original" /></label></div>
<label><span id="size_shown">${query.size}</span>&nbsp;<s:message code="~eu.dariah.de.minfba.search.options.results_per_page" /></label> <label><span id="size_shown">${query.size}</span>&nbsp;<s:message code="~eu.dariah.de.minfba.search.options.results_per_page" /></label>
<input type="text" id="size" name="size" data-slider-range="10,150" data-slider-step="10" data-slider="true" value="${query.size}" data-slider-highlight="true" /> <input type="text" id="size" name="size" data-slider-range="10,150" data-slider-step="10" data-slider="true" value="${query.size}" data-slider-highlight="true" />
......
Markdown is supported
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