2017-10-22 18:37:24 -04:00
|
|
|
{% extends 'lemoncurry/layout.html' %}
|
2017-10-24 21:46:04 -04:00
|
|
|
{% load static %}
|
|
|
|
{% block styles %}
|
|
|
|
<link rel="stylesheet" type="text/stylus" href="{% static 'home/css/index.styl' %}" />
|
|
|
|
{% endblock %}
|
2017-10-22 18:37:24 -04:00
|
|
|
{% block main %}
|
|
|
|
<aside class="author">
|
|
|
|
<article class="h-card card p-author">
|
2017-10-24 19:54:36 -04:00
|
|
|
<a class="u-uid u-url" rel="me" href="{{ uri }}" hidden></a>
|
2017-10-22 19:39:17 -04:00
|
|
|
{% if user.avatar %}<img class="card-img-top u-photo" src="{{ user.avatar.url }}" alt="{{ user.first_name }} {{ user.last_name }}" />{% endif %}
|
2017-10-22 19:29:12 -04:00
|
|
|
<div class="card-body">
|
|
|
|
<h4 class="card-title p-name">
|
|
|
|
<span class="p-given-name">{{ user.first_name }}</span> <span class="p-family-name">{{ user.last_name }}</span>
|
|
|
|
</h4>
|
2017-10-22 21:33:24 -04:00
|
|
|
{% for key in user.keys.all %}
|
|
|
|
<h6 class="card-subtitle">
|
|
|
|
<a class="u-key" href="{{ key.file.url }}">
|
|
|
|
<i class="fa fa-key"></i>
|
|
|
|
{{ key.pretty_print }}
|
|
|
|
</a>
|
|
|
|
</h6>
|
|
|
|
{% endfor %}
|
2017-10-22 20:54:45 -04:00
|
|
|
{% if user.note %}<p class="card-text p-note">{{ user.note }}</p>{% endif %}
|
2017-10-22 19:29:12 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer">
|
|
|
|
<ul class="profiles">
|
|
|
|
<li>
|
|
|
|
<a class="u-email" rel="me" href="mailto:{{ user.email }}"><i class="fa fa-envelope"></i> {{ user.email }}</a>
|
|
|
|
</li>
|
2017-10-22 21:59:10 -04:00
|
|
|
{% for profile in user.profiles.all %}<li>
|
|
|
|
<a class="u-url" rel="me" href="{{ profile.url }}"><i class="{{ profile.site.icon }}"></i> {{ profile.name }}</a>
|
|
|
|
</li>{% endfor %}
|
2017-10-22 19:29:12 -04:00
|
|
|
</ul>
|
|
|
|
</div>
|
2017-10-22 18:37:24 -04:00
|
|
|
</article>
|
|
|
|
</aside>
|
|
|
|
{% endblock %}
|