2022-11-17 01:51:26 +08:00
|
|
|
{% extends "base_generic.html" %}
|
2022-11-24 00:24:57 +08:00
|
|
|
{% load static %}
|
|
|
|
|
2022-11-17 01:51:26 +08:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form method="post" enctype="multipart/form-data">
|
|
|
|
{% csrf_token %}
|
2022-11-24 00:24:57 +08:00
|
|
|
<p>{{ form.shown_name.label}}: {{ form.shown_name}}</p>
|
|
|
|
<p> Avatar Preview: <div class="avatar-preview"><img id="avatar-img" src="{{avatar.url}}");></div></p>
|
|
|
|
<p>{{ form.avatar.label}}: {{ form.avatar}}</p>
|
|
|
|
<p>{{ form.desc.label}}: {{ form.desc}}</p>
|
|
|
|
<p>{{ form.email.label}}: {{ form.email}}</p>
|
2022-11-17 01:51:26 +08:00
|
|
|
<button type="submit">Refresh</button>
|
|
|
|
|
|
|
|
</form>
|
2022-11-24 00:24:57 +08:00
|
|
|
|
2022-11-27 01:34:44 +08:00
|
|
|
<script type="text/javascript" src="{% static 'user_config.js'%}?{% now 'U' %}">
|
2022-11-24 00:24:57 +08:00
|
|
|
</script>
|
2022-11-17 01:51:26 +08:00
|
|
|
{% endblock %}
|