39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block header %}
|
|
<div class="title">{% block title %}Edit {{ member[3] }}{% endblock %}</div>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="heading">Edit Details</div>
|
|
|
|
<form method="post">
|
|
<label for="name">Name</label>
|
|
<input name="name" id="name" value="{{ member[3] }}" required><br>
|
|
<label for="subtitle">Subtitle</label>
|
|
<input name="subtitle" id="subtitle" value="{{ member[4] }}"><br>
|
|
<label for="bio">Description</label>
|
|
<textarea name="bio" id="bio">{{ member[5] }}</textarea><br>
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
|
|
<div class="heading">Manage Icons</div>
|
|
<form method="post" enctype="multipart/form-data">
|
|
<input type="file" name="file">
|
|
<input type="submit" value="Upload New Icon">
|
|
</form>
|
|
|
|
{% for icon in icons %}
|
|
|
|
<img class="icon" src="{{ url_for('static', filename='icons/'+icon[2]) }}">
|
|
<br class="clear" />
|
|
<a href="{{ url_for('manage.set_main_icon', mid=member[0], icon_id=icon[0]) }}">Set Main Icon</a> ☆ <a href="">Delete Icon</a>
|
|
<br class="clear" />
|
|
<hr>
|
|
|
|
{% endfor %}
|
|
|
|
{{ error }}
|
|
|
|
{% endblock %} |