|
@@ -0,0 +1,119 @@
|
|
|
|
|
+{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
|
|
|
|
+{namespace ot=Opentalent\OtTemplating\ViewHelpers}
|
|
|
|
|
+
|
|
|
|
|
+<f:comment><!-- Special layout for the All Structures Events page --></f:comment>
|
|
|
|
|
+<f:layout name="StructuresEvents" />
|
|
|
|
|
+
|
|
|
|
|
+<section class="t-container st-effect-3">
|
|
|
|
|
+ <div class="wrapper">
|
|
|
|
|
+
|
|
|
|
|
+ <f:comment><!-- Render the header defined in partials/Header.html--></f:comment>
|
|
|
|
|
+ <f:render partial="Modern/Header" arguments="{_all}" />
|
|
|
|
|
+
|
|
|
|
|
+ <section class="page-section-ptb">
|
|
|
|
|
+ <div class="container">
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="col-sm-12 mt-30">
|
|
|
|
|
+
|
|
|
|
|
+ <f:comment><!-- All structures' events --></f:comment>
|
|
|
|
|
+ <ot:events.getAll as="events"
|
|
|
|
|
+ organizationId="{settings.organizationId}"
|
|
|
|
|
+ fromChildren="1">
|
|
|
|
|
+
|
|
|
|
|
+ <div class="ot-all-events">
|
|
|
|
|
+ <div class="events-controls">
|
|
|
|
|
+ <div class="event-search">
|
|
|
|
|
+ <h3>Rechercher un évènement: </h3>
|
|
|
|
|
+ <form>
|
|
|
|
|
+ <input type="text"
|
|
|
|
|
+ name="search-loc"
|
|
|
|
|
+ placeholder="Où?"
|
|
|
|
|
+ value="{ot:request.getArgument(argument: 'search-loc')}"/>
|
|
|
|
|
+ <input type="text"
|
|
|
|
|
+ name="search-name"
|
|
|
|
|
+ placeholder="Quoi?"
|
|
|
|
|
+ value="{ot:request.getArgument(argument: 'search-name')}" />
|
|
|
|
|
+ <input type="text"
|
|
|
|
|
+ name="search-datestart"
|
|
|
|
|
+ placeholder="Depuis le..."
|
|
|
|
|
+ class="datepicker datetimepicker"
|
|
|
|
|
+ value="{ot:request.getArgument(argument: 'search-datestart')}" />
|
|
|
|
|
+ <input type="text"
|
|
|
|
|
+ name="search-dateend"
|
|
|
|
|
+ placeholder="Jusqu'au..."
|
|
|
|
|
+ class="datepicker datetimepicker"
|
|
|
|
|
+ value="{ot:request.getArgument(argument: 'search-dateend')}" />
|
|
|
|
|
+
|
|
|
|
|
+ <button name="search-submit">Rechercher</button>
|
|
|
|
|
+ </form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div id="event-map" data-records="">
|
|
|
|
|
+ <f:for each="{events}" as="event">
|
|
|
|
|
+ <f:if condition="{event.longitude}">
|
|
|
|
|
+ <f:then>
|
|
|
|
|
+ <i class="item-geodata" style="display: none;"
|
|
|
|
|
+ data-id="{event.id}"
|
|
|
|
|
+ data-long="{event.longitude}"
|
|
|
|
|
+ data-lat="{event.latitude}"
|
|
|
|
|
+ data-label="<b>{event.name}</b><br/>{event.streetAdress}">
|
|
|
|
|
+ </i>
|
|
|
|
|
+ </f:then>
|
|
|
|
|
+ </f:if>
|
|
|
|
|
+ </f:for>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="events-results">
|
|
|
|
|
+ <f:if condition="{events -> f:count()} == 0">
|
|
|
|
|
+ <span>Aucun résultat</span>
|
|
|
|
|
+ </f:if>
|
|
|
|
|
+
|
|
|
|
|
+ <f:for each="{events}" as="event">
|
|
|
|
|
+ <div class="event" data-id="{event.id}">
|
|
|
|
|
+ <div class="event-preview">
|
|
|
|
|
+
|
|
|
|
|
+ <div class="event-poster">
|
|
|
|
|
+ <f:if condition="{event.image}">
|
|
|
|
|
+ <f:then>
|
|
|
|
|
+ <img src='{event.image}' alt="poster" />
|
|
|
|
|
+ </f:then>
|
|
|
|
|
+ <f:else>
|
|
|
|
|
+ <f:image src="EXT:ot_templating/Resources/Public/media/event-default.jpg" alt="poster" />
|
|
|
|
|
+ </f:else>
|
|
|
|
|
+ </f:if>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="event-summary">
|
|
|
|
|
+ <span class="event-name">
|
|
|
|
|
+ {event.name}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <span class="event-loc-date">
|
|
|
|
|
+ {event.locAndDate}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <span class="event-description">
|
|
|
|
|
+ {event.shortDescription}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <a href="{event.url}" target="_blank" class="event-see">
|
|
|
|
|
+ <i class="fa fa-plus" style="margin-right: 5px;"></i>
|
|
|
|
|
+ <span>Plus d'infos</span>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </f:for>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </ot:events.getAll>
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </section>
|
|
|
|
|
+
|
|
|
|
|
+ <f:comment><!-- Render the footer defined in partials/footer.html--></f:comment>
|
|
|
|
|
+ <f:render partial="Modern/Footer" />
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+</section>
|