upload avatars (nonfunctional)

This commit is contained in:
Mouse Reeve
2020-01-27 22:49:56 -08:00
parent dae9b5c023
commit 5080de9c6b
8 changed files with 49 additions and 6 deletions

View File

@ -3,8 +3,10 @@
<div id="main">
<div class="user-profile">
<img class="user-pic" src="/static/images/profile.jpg">
<h1>{{ user.username }}</h1>
<h1>{% if user.localname %}{{ user.localname }}{% else %}{{ user.username }}{% endif %}</h1>
{% if is_self %}<a href="/user/{{ user.localname }}/edit">Edit profile</a>
<p>Since {{ user.created_date }}</p>
{% endif %}
{% if not is_self %}
{% if not following %}
<form action="/follow/" method="post">