Refactor test cases for improved readability and consistency
- 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.
This commit is contained in:
31
templates/profile.html
Normal file
31
templates/profile.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user