2023-03-01 23:29:34 +00:00
|
|
|
{% extends 'layout.html' %}
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
{% block nav_settings %}selected{% endblock %}
|
2023-03-08 13:36:35 +00:00
|
|
|
{% block content %}
|
2023-04-05 11:22:21 +00:00
|
|
|
<div class="banner-small">
|
2023-03-08 13:36:35 +00:00
|
|
|
<div class="banner-content">
|
2023-04-05 11:22:21 +00:00
|
|
|
<h1 class="banner-header">Settings</h1>
|
|
|
|
<p class="banner-info">{% block banner_subtitle%}{% endblock %}</p>
|
|
|
|
<div class="pill-row">
|
|
|
|
<div>
|
2023-04-20 16:15:51 +00:00
|
|
|
<a class="pill-item pill__critical" href="{{ url_for( 'auth.logout' ) }}"><i class="ph ph-sign-out"></i></a>
|
2023-04-05 11:22:21 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-01 23:29:34 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-04-20 21:21:05 +00:00
|
|
|
<div class="settings-content" id="profileSettings">
|
|
|
|
<h2>Profile Settings</h2>
|
2023-04-21 17:34:25 +00:00
|
|
|
<form method="POST" action="{{ url_for('account_api.account_picture', user_id=current_user.id) }}" enctype="multipart/form-data">
|
2023-04-20 21:21:05 +00:00
|
|
|
<h3>Profile Picture</h3>
|
|
|
|
<input type="file" name="file" tab-index="-1"/>
|
|
|
|
<input type="submit" value="Upload" class="btn-block">
|
|
|
|
</form>
|
|
|
|
|
2023-04-21 17:34:25 +00:00
|
|
|
<form method="POST" action="{{ url_for('account_api.account_username', user_id=current_user.id) }}" enctype="multipart/form-data">
|
2023-04-20 21:21:05 +00:00
|
|
|
<h3>Username</h3>
|
|
|
|
<input type="text" name="name" class="input-block" value="{{ current_user.username }}" />
|
|
|
|
<input type="submit" value="Upload" class="btn-block"/>
|
|
|
|
</form>
|
2023-03-01 23:29:34 +00:00
|
|
|
</div>
|
2023-04-20 20:47:04 +00:00
|
|
|
|
2023-04-20 21:21:05 +00:00
|
|
|
<div class="settings-content" id="profileSettings">
|
|
|
|
<h2>Account Settings</h2>
|
|
|
|
<form method="POST" action="" enctype="multipart/form-data">
|
|
|
|
<h3>Email</h3>
|
|
|
|
<input type="text" name="email" class="input-block" value="{{ current_user.email }}" />
|
|
|
|
<input type="submit" value="Upload" class="btn-block"/>
|
|
|
|
</form>
|
|
|
|
</div>
|
2023-03-01 23:29:34 +00:00
|
|
|
{% endblock %}
|