2024-08-31 22:29:32 +00:00
|
|
|
{% ELDEF main JSON pres JSON userinfo JSON alienprofile JSON errors %}
|
2024-08-29 17:46:29 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2024-08-31 22:29:32 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-09-02 09:34:49 +00:00
|
|
|
<link rel="icon" type="image/png" href="/assets/img/favicon.png">
|
2024-08-31 22:29:32 +00:00
|
|
|
<link rel="stylesheet" href="/assets/css/common.css">
|
|
|
|
<link rel="stylesheet" href="/assets/css/edit-profile.css">
|
|
|
|
<title>Edit user Profile</title>
|
2024-08-29 17:46:29 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-08-31 22:29:32 +00:00
|
|
|
|
2024-09-04 09:39:39 +00:00
|
|
|
<div class="document-container">
|
2024-08-31 22:29:32 +00:00
|
|
|
<div id="navigation-panel" class="panel">
|
|
|
|
<a href="/list-rooms" id="go-to-chat-list" class="panel-thing">
|
|
|
|
<img alt="Go to list of chats" src="/assets/img/list-rooms.svg" width="32px">
|
|
|
|
</a>
|
2024-09-05 22:06:36 +00:00
|
|
|
<a href="/user/{% W userinfo.nickname %}" id="go-to-my-profile" class="panel-thing">
|
2024-08-31 22:29:32 +00:00
|
|
|
<img alt="Go to my profile" src="/assets/img/user.svg" width="32px">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2024-08-29 17:46:29 +00:00
|
|
|
{% FOR error IN errors %}
|
2024-08-31 22:29:32 +00:00
|
|
|
<div class="server-notif-error-msg-box">
|
2024-09-05 22:06:36 +00:00
|
|
|
{% W error.text %}
|
2024-08-29 17:46:29 +00:00
|
|
|
</div>
|
|
|
|
{% ENDFOR %}
|
2024-08-31 22:29:32 +00:00
|
|
|
|
|
|
|
<div class="profile-container">
|
2024-09-05 22:06:36 +00:00
|
|
|
<h2 class="profile-name-text">{% W alienprofile.name %}</h2>
|
|
|
|
<h3 class="profile-nickname-text">Nickname: {% W alienprofile.nickname %}</h3>
|
2024-08-31 22:29:32 +00:00
|
|
|
<p class="profile-bio-text">
|
2024-09-05 22:06:36 +00:00
|
|
|
{% W alienprofile.bio %}
|
2024-08-31 22:29:32 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
2024-09-04 09:39:39 +00:00
|
|
|
<div class="profile-container resp-container">
|
2024-08-31 22:29:32 +00:00
|
|
|
<h1 class="wide-centered-header">Change user attributes</h1>
|
2024-09-05 22:06:36 +00:00
|
|
|
<form action = "/user/{% W alienprofile.nickname %}" method="post" enctype="application/x-www-form-urlencoded">
|
2024-08-31 22:29:32 +00:00
|
|
|
<table class="logins-input-table">
|
|
|
|
<tr>
|
|
|
|
<td class="logins-input-td1">
|
|
|
|
<label for="new-name-input">Enter new name:</label>
|
|
|
|
</td>
|
|
|
|
<td class="logins-input-td2">
|
|
|
|
<input name="name" id="new-name-input" type="text" placeholder="New name" class="one-line-input">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="logins-input-td1">
|
|
|
|
<label for="new-password-input">Enter new password: </label>
|
|
|
|
</td>
|
|
|
|
<td class="logins-input-td2">
|
|
|
|
<input name="password" id="new-password-input" type="password" placeholder="New password" class="one-line-input">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<label for="input-change-bio">Change description:</label>
|
|
|
|
<br>
|
|
|
|
<textarea name="bio" id="input-change-bio" class="multiline-input"></textarea>
|
|
|
|
<button class="action-button centered-block-el" type="submit">Submit changes</button>
|
|
|
|
</form>
|
2024-08-29 17:46:29 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-08-31 22:29:32 +00:00
|
|
|
|
2024-08-29 17:46:29 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{% ENDELDEF%}
|