initial commit
This commit is contained in:
22
Resources/Private/Templates/Map/Map.html
Normal file
22
Resources/Private/Templates/Map/Map.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="Default" />
|
||||
<f:section name="content">
|
||||
<bk2k:data.imageVariants as="variants" variants="{variants}" multiplier="{columnConfig.multiplier}" gutters="{columnConfig.gutters}" corrections="{columnConfig.corrections}" />
|
||||
<div id="a2g-costum-icons" data-content='{mapIcons}'></div>
|
||||
<div class="a2g-map-wrap">
|
||||
<div class="ol-popup a2g-map-popup d-none" >
|
||||
<a href="#" class="ol-popup-closer a2g-map-popup-closer"></a>
|
||||
<div class="a2g-map-popup-content"></div>
|
||||
</div>
|
||||
<f:if condition="{settings.controllsPositions} == '1' || {settings.controllsPositions} == '3'">
|
||||
<f:then>
|
||||
<f:render partial="Map/Controll" arguments="{_all}"></f:render>
|
||||
</f:then>
|
||||
</f:if>
|
||||
<div id="{mapId}" class="a2g-map" data-map-config='{mapConfig}'></div>
|
||||
<f:if condition="{settings.controllsPositions} == '2' || {settings.controllsPositions} == '3'">
|
||||
<f:render partial="Map/Controll" arguments="{_all}"></f:render>
|
||||
</f:if>
|
||||
</div>
|
||||
</f:section>
|
||||
</html>
|
6
Resources/Private/Templates/Map/MapConfig.html
Normal file
6
Resources/Private/Templates/Map/MapConfig.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="Default" />
|
||||
<f:section name="content">
|
||||
<div id="a2g-costum-icons" data-content='{mapIcons}'></div>
|
||||
</f:section>
|
||||
</html>
|
44
Resources/Private/Templates/Map/Popup.html
Normal file
44
Resources/Private/Templates/Map/Popup.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="MapPopupContent" />
|
||||
<f:section name="content">
|
||||
<bk2k:data.imageVariants as="variants" variants="{variants}" multiplier="{columnConfig.multiplier}" gutters="{columnConfig.gutters}" corrections="{columnConfig.corrections}" />
|
||||
<f:link.page title="{mapEntry.relTravelPost.title}" pageUid="{mapEntry.pid}">
|
||||
<f:if condition="{mapEntry.image}">
|
||||
<f:then>
|
||||
<div class="a2g-map-popup-image-wrap">
|
||||
<f:render partial="Image" arguments="{file: mapEntry.image, settings: settings, variants: variants, maxWidth: 230}" />
|
||||
</div>
|
||||
</f:then>
|
||||
<f:else>
|
||||
{mapEntry.relTravelPost.title}
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:link.page>
|
||||
<f:if condition="{mapEntry.popupContent}">
|
||||
<f:then>
|
||||
<div class="a2g-map-popup-text mt-2">
|
||||
<f:format.htmlentitiesDecode>
|
||||
{mapEntry.popupContent}
|
||||
</f:format.htmlentitiesDecode>
|
||||
</div>
|
||||
</f:then>
|
||||
</f:if>
|
||||
<f:if condition="{mapEntry.relTravelPost.authors} > 0">
|
||||
<f:then>
|
||||
<div class="d-flex justify-content-end mt-2">
|
||||
<small class="text-muted">
|
||||
<f:for each="{mapEntry.relTravelPost.authors}" as="author" iteration="it">
|
||||
<f:if condition="{author.detailsPage} || {settings.authorPageUid}">
|
||||
<f:then><blogvh:link.author rel="author" author="{author}">{author.name}</blogvh:link.author></f:then>
|
||||
<f:else>{author.name}</f:else>
|
||||
</f:if>
|
||||
<f:if condition="{it.isLast}">
|
||||
<f:else>, </f:else>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</small>
|
||||
</div>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</f:section>
|
||||
</html>
|
16
Resources/Private/Templates/Map/PopupCategory.html
Normal file
16
Resources/Private/Templates/Map/PopupCategory.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="MapPopupContent" />
|
||||
<f:section name="content">
|
||||
|
||||
<blogvh:link.category class="bloglist__link" category="{category}">
|
||||
{category.posts->f:count()} <f:if condition='{category.posts->f:count()} > 1'>
|
||||
<f:then>
|
||||
Posts
|
||||
</f:then>
|
||||
<f:else>
|
||||
Post
|
||||
</f:else>
|
||||
</f:if> bei {category.title}</div>
|
||||
</blogvh:link.category>
|
||||
</f:section>
|
||||
</html>
|
22
Resources/Private/Templates/Map/PopupPost.html
Normal file
22
Resources/Private/Templates/Map/PopupPost.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="MapPopupContent" />
|
||||
<f:section name="content">
|
||||
<bk2k:data.imageVariants as="variants" variants="{variants}" multiplier="{columnConfig.multiplier}" gutters="{columnConfig.gutters}" corrections="{columnConfig.corrections}" />
|
||||
<f:if condition="{mapEntry.image}">
|
||||
<f:then>
|
||||
<div class="a2g-map-popup-image-wrap">
|
||||
<f:render partial="Image" arguments="{file: mapEntry.image, settings: settings, variants: variants, maxWidth: 230}" />
|
||||
</div>
|
||||
</f:then>
|
||||
</f:if>
|
||||
<f:if condition="{mapEntry.popupContent}">
|
||||
<f:then>
|
||||
<div class="a2g-map-popup-text mt-2">
|
||||
<f:format.htmlentitiesDecode>
|
||||
{mapEntry.popupContent}
|
||||
</f:format.htmlentitiesDecode>
|
||||
</div>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</f:section>
|
||||
</html>
|
Reference in New Issue
Block a user