Skip to content

Commit

Permalink
presentation list page design fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
umitdincel authored and ulgens committed Oct 4, 2020
1 parent 6cd5715 commit 154ac7c
Showing 1 changed file with 48 additions and 24 deletions.
72 changes: 48 additions & 24 deletions templates/presentations/presentation_list.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,52 @@
{% extends "base.html" %}
{% extends "base_page.html" %}

{% block content %}

{% regroup presentation_list by date as presentations %}
{% block page %}
<div class="events top-shift">
<div class="row">
<div class="card-columns">
{% regroup presentation_list by date as presentations %}
{% for date in presentations %}
<div class="event card">
<div class="card-body">
<div class="event-title">Pyİstanbul 11 Temmuz Etkinliği</div>
<!--
TODO: Profile entegrasyonu sonrasi burasinin duzenlenmesi gerekiyor
<div class="presentations">
{% for date in presentations %}
<h3><time datetime="{{ date.grouper|date:"c" }}">{{ date.grouper }}</time></h3>
<ul>
{% for presentation in date.list %}
<li>
{% if presentation.link %}
<a href="{{ presentation.link }}" target="_blank">
<span>{{ presentation.owner }}</span>
{{ presentation.title }}
</a>
{% else %}
<span>{{ presentation.owner }}</span>
{{ presentation.title }}
{% endif %}
</li>
{% endfor %}
</ul>
{% endfor %}
<div class="speakers">
<ul>
<li>
<a href="#">
<img class="img-fluid logo" src="http://lorempixel.com/86/86/people/">
</a>
</li>
<li>
<a href="#">
<img class="img-fluid logo" src="http://lorempixel.com/86/86/people/">
</a>
</li>
<li>
<a href="#">
<img class="img-fluid logo" src="http://lorempixel.com/86/86/people/">
</a>
</li>
</ul>
</div>
-->
<div class="presentations">
{% for presentation in date.list %}
<div class="presentation">
<a href="{{ presentation.link }}" target="_blank">
<div class="presentation-title">{{ presentation.title }}</div>
</a>
<div class="speaker-name">{{ presentation.owner }}</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>

{% endblock %}
{% endblock %}

0 comments on commit 154ac7c

Please sign in to comment.