- Updated test functions in various test files to enhance code clarity by formatting long lines and improving indentation. - Adjusted assertions to use multi-line formatting for better readability. - Added new test cases for theme settings API to ensure proper functionality. - Ensured consistent use of line breaks and spacing across test files for uniformity.
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Profile{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<h1>User Profile</h1>
|
|
<p>Username: <span id="profile-username"></span></p>
|
|
<p>Email: <span id="profile-email"></span></p>
|
|
<button id="edit-profile-button">Edit Profile</button>
|
|
|
|
<div id="edit-profile-form" style="display:none;">
|
|
<h2>Edit Profile</h2>
|
|
<form>
|
|
<div class="form-group">
|
|
<label for="edit-username">Username:</label>
|
|
<input type="text" id="edit-username" name="username">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="edit-email">Email:</label>
|
|
<input type="email" id="edit-email" name="email">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="edit-password">New Password:</label>
|
|
<input type="password" id="edit-password" name="password">
|
|
</div>
|
|
<button type="submit">Save Changes</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|