diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/consortium.html.j2 | 100 |
1 files changed, 51 insertions, 49 deletions
diff --git a/template/consortium.html.j2 b/template/consortium.html.j2 index 97c691ac..5fb1600b 100644 --- a/template/consortium.html.j2 +++ b/template/consortium.html.j2 @@ -61,56 +61,8 @@ <div class="row"> - <div class="col-md-6 mb-6"> - <h4 class="font-weight-bold pb-2 mb-4">{{ _("Events")}}</h4> - <div class="container announce"> - <div id="AnnouncCarousel" class="carousel slide" data-bs-ride="carousel"> - <!-- Carousel indicators --> - <div class="carousel-indicators"> - {% for number in range(0, conf['events']|count) %} - <button data-bs-target="#AnnouncCarousel" data-bs-slide-to="{{ number }}" {% if number==0 %} - class="active" {% endif %} aria-current="true" aria-label="Slide {{ number + 1 }}"></button> - {% endfor %} - </div> - - <!-- Wrapper for carousel items --> - <div class="carousel-inner vevent"> - {% for item in conf['events'] %} - - <div {% if loop.first %} class="carousel-item active" {% else %} class="carousel-item" {% endif %} - data-bs-interval="5000"> - <h5 class="summary">{{ item['title'] }}</h5> - <div class="img-box"> <img src="{{ url( item['url_img']|default('images/logo-2021.svg', true) ) }}" - alt=""> - </div> - <p class="description testimonial"> - {{ item['teaser'] }} - </p> - <p class="fas fa-calendar-alt"> Date: - <span class="dtstart"> - <abbr class="value" title="{{ item['date'] }}"> {{ item['date'] }}</abbr> - </span> - </p> - {% if item['url_ext'] is defined and item['url_ext'] and item['url_ext'] != "" %} - <p class="fa fa-globe"> <a target="_blank" href="{{ item['url_ext'] }}"> About</a></p> - {% endif %} - {% if item['location'] is defined and item['location'] and item['location'] != "" %} - <p class="fas fa-map-marker-alt"> Location: <span class="location">{{ item['location'] }}</span></p> - {% endif %} - <p class="fa fa-user"> <b>{{ item['speaker'] }}</b></p> - {% if item['email'] is defined and item['email'] and item['email'] != "" %} - <p class="fas fa-envelope"> <a href="mailto:{{ item['email'] }}?subject={{ item['title'] }}"><span - class="dark-grey-text"> Contact</span></a></p> - {% endif %} - - </div> - {% endfor %} - </div> - </div> - </div> - </div> - <div class="col-md-1 mb-1"></div> + {# DEPRECATED DELIVERABLES <div class="col-md-4 mb-4"> {% if conf['deliverables'] is defined and conf['deliverables'] and conf['deliverables'] != "" %} <h4 class="font-weight-bold pb-2 mb-4">{{ _("Deliverables")}}</h4> @@ -141,6 +93,7 @@ {% endif %} <div class="col cold-md-auto"></div> </div> + #} <div class="row"> <h4 class="font-weight-bold pb-2 mb-4">{{ _("Partners")}}</h4> @@ -194,6 +147,55 @@ {% endfor %} </div> + + <div class="col-md-6 mb-6"> + <h4 class="font-weight-bold pb-2 mb-4">{{ _("Events")}}</h4> + <div class="container announce"> + <div id="AnnouncCarousel" class="carousel slide" data-bs-ride="carousel"> + <!-- Carousel indicators --> + <div class="carousel-indicators"> + {% for number in range(0, conf['events']|count) %} + <button data-bs-target="#AnnouncCarousel" data-bs-slide-to="{{ number }}" {% if number==0 %} + class="active" {% endif %} aria-current="true" aria-label="Slide {{ number + 1 }}"></button> + {% endfor %} + </div> + + <!-- Wrapper for carousel items --> + <div class="carousel-inner vevent"> + {% for item in conf['events'] %} + + <div {% if loop.first %} class="carousel-item active" {% else %} class="carousel-item" {% endif %} + data-bs-interval="5000"> + <h5 class="summary">{{ item['title'] }}</h5> + <div class="img-box"> <img src="{{ url( item['url_img']|default('images/logo-2021.svg', true) ) }}" + alt=""> + </div> + <p class="description testimonial"> + {{ item['teaser'] }} + </p> + <p class="fas fa-calendar-alt"> Date: + <span class="dtstart"> + <abbr class="value" title="{{ item['date'] }}"> {{ item['date'] }}</abbr> + </span> + </p> + {% if item['url_ext'] is defined and item['url_ext'] and item['url_ext'] != "" %} + <p class="fa fa-globe"> <a target="_blank" href="{{ item['url_ext'] }}"> About</a></p> + {% endif %} + {% if item['location'] is defined and item['location'] and item['location'] != "" %} + <p class="fas fa-map-marker-alt"> Location: <span class="location">{{ item['location'] }}</span></p> + {% endif %} + <p class="fa fa-user"> <b>{{ item['speaker'] }}</b></p> + {% if item['email'] is defined and item['email'] and item['email'] != "" %} + <p class="fas fa-envelope"> <a href="mailto:{{ item['email'] }}?subject={{ item['title'] }}"><span + class="dark-grey-text"> Contact</span></a></p> + {% endif %} + + </div> + {% endfor %} + </div> + </div> + </div> + </div> </div> </div> |