summaryrefslogtreecommitdiffstats
path: root/templates/settings/profile.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-17 17:43:00 -0700
committerAndrew Godwin2022-11-17 14:13:55 -0700
commit2154e6f02252576d8652e66f26fa4ae635d0f8ee (patch)
treea65a4e051c0cb9e99c77a083bf5b011b79f75cb8 /templates/settings/profile.html
parentf5eafb0ca0af3ed064202abbe99bfbeef8bbb74d (diff)
downloadtakahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.gz
takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.bz2
takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.zip
Rework UI to have vertical menus
Diffstat (limited to 'templates/settings/profile.html')
-rw-r--r--templates/settings/profile.html22
1 files changed, 13 insertions, 9 deletions
diff --git a/templates/settings/profile.html b/templates/settings/profile.html
index 1a7c29f..5c00557 100644
--- a/templates/settings/profile.html
+++ b/templates/settings/profile.html
@@ -1,18 +1,22 @@
-{% extends "base.html" %}
+{% extends "settings/base.html" %}
-{% block title %}Profile - Settings{% endblock %}
+{% block subtitle %}Profile{% endblock %}
{% block content %}
- {% block menu %}
- {% include "settings/_menu.html" %}
- {% endblock %}
<form action="." method="POST" enctype="multipart/form-data" >
{% csrf_token %}
- {% for field in form %}
- {% include "forms/_field.html" %}
- {% endfor %}
+ <fieldset>
+ <legend>Details</legend>
+ {% include "forms/_field.html" with field=form.name %}
+ {% include "forms/_field.html" with field=form.summary %}
+ </fieldset>
+ <fieldset>
+ <legend>Images</legend>
+ {% include "forms/_field.html" with field=form.icon preview=request.identity.icon.url %}
+ {% include "forms/_field.html" with field=form.image preview=request.identity.image.url %}
+ </fieldset>
<div class="buttons">
- <a href="{{ request.identity.urls.view }}" class="button secondary">View Profile</a>
+ <a href="{{ request.identity.urls.view }}" class="button secondary left">View Profile</a>
<button>Save</button>
</div>
</form>