html-over-websockets-with-d.../app/website/templates/pages/profiles.html

29 lines
972 B
HTML
Raw Normal View History

2021-11-20 23:55:39 +01:00
{% load static %}
<main id="main" data-scroll-to-top="true">
{# List Profiles #}
<div style="display: flex; flex-wrap: wrap; justify-content: space-between; ">
{% for profile in profiles %}
<article style="max-width: 12rem">
<header>
<h2>
{{ profile.full_name }}
</h2>
<p>
2021-11-21 09:21:39 +01:00
{# <img src="{{ profile.avatar.url }}" alt="{{ profile.full_name }}"> #}
2021-11-20 23:55:39 +01:00
</p>
</header>
<h3>Talks</h3>
<ul>
2021-11-21 09:21:39 +01:00
{% for talk in profile.talkspeaker.all %}
2021-11-20 23:55:39 +01:00
<li>
{{ talk.title }}
</li>
{% endfor %}
</ul>
<footer>Email: {{ profile.email }}</footer>
</article>
{% endfor %}
</div>
{# End List talks #}
</main>