stock images description properties file

This commit is contained in:
Jottyfan
2025-05-29 17:53:18 +02:00
parent 82ce501f39
commit 485a222be4
5 changed files with 60 additions and 10 deletions

View File

@ -0,0 +1,10 @@
stock02 = Heimfreizeit - Spiele im Wertwiesenpark
stock25 = Olfen - Gutes Essen
stock27 = Olfen - Miniaturdorf im Wald
stock29 = Olfen - Die Frohe Stunde am Morgen
stock52 = Rehe 2 - Kreative Ideen
stock63 = Schweiz - Blaue Bergseen
stock71 = Heimfreizeit - Kreuzkirche ECG Heilbronn
stock83 = Schweiz - Aufstieg in die Berge
stock84 = Hohenhaslach - Mitten in den Weinbergen
stock85 = Rehe 2 - Gemeinsame Andacht

View File

@ -23,10 +23,10 @@
<div class="col-12 center mb-3">
<a href="#" onclick="$('#fotoblock').fadeOut(1000); $('#welcomeblock').slideDown('slow');" class="btn btn-outline-secondary"><i class="fas fa-arrow-up"></i>&nbsp;Startseite</a>
</div>
<div class="col-12">
<th:block th:each="i : ${#numbers.sequence(1, 83)}">
<a th:href="'https://www.onkelwernerfreizeiten.de/stock/stock' + ${#strings.toString(i < 10 ? '0' + i : i)} + '.jpg'" data-fancybox="gallery" th:data-caption="'Bild ' + ${i}">
<img th:src="'https://www.onkelwernerfreizeiten.de/stock/thumb_stock' + ${#strings.toString(i < 10 ? '0' + i : i)} + '.jpg'" height="96px" class="m-1" />
<div class="col-12" style="max-height: 100px; overflow: auto">
<th:block th:each="n : ${#numbers.sequence(1, 85)}" th:with="i=${#strings.toString(n < 10 ? '0' + n : n)}">
<a th:href="'https://www.onkelwernerfreizeiten.de/stock/stock' + ${i} + '.jpg'" data-fancybox="gallery" th:data-caption="${title['stock' + i]}">
<img th:src="'https://www.onkelwernerfreizeiten.de/stock/thumb_stock' + ${i} + '.jpg'" height="96px" class="m-1" th:title="${title['stock' + i]}" />
</a>
</th:block>
<script th:inline="javascript">
@ -59,9 +59,6 @@
<div class="col-12 center mt-3">
<a th:href="@{/camplist}" class="btn btn-outline-danger">zur Anmeldung</a>
</div>
<div class="col-12 center mt-3">
<a href="#" onclick="$('#fotoblock').slideUp('slow'); $('#infoblock').fadeIn(1000);" class="btn btn-outline-secondary"><i class="fas fa-arrow-down"></i>&nbsp;weitere Infos</a>
</div>
</div>
<div id="infoblock" class="row displayblock" style="display: none">
<div class="col-12 center mb-3">