change password removed

This commit is contained in:
Egor Matveev
2021-11-21 12:03:04 +03:00
parent c76daddd98
commit 0e9aa2b319
2 changed files with 0 additions and 31 deletions

View File

@@ -95,26 +95,12 @@
</table>
</div>
</div>
<hr><hr>
{% if owner %}
<p style="color: red;">{{ error_message }}</p>
<form method="POST">
{% csrf_token %}
<input type="hidden" name="action" value="change_password">
<h2 style="margin-bottom: 40px; margin-top: 40px;">Смена пароля</h2>
<input type="password" placeholder="Текущий пароль" name="password" style="margin-bottom: 20px; width: 300px;"><br>
<input type="password" placeholder="Новый пароль" name="new_password" style="margin-bottom: 20px; width: 300px;"><br>
<input type="password" placeholder="Повторить пароль" name="repeat" style="margin-bottom: 20px; width: 300px;"><br>
<button type="submit" class="btn btn-light">Сменить пароль</button>
</form>
{% endif %}
{% if owner %}
<hr><hr>
<h2>Уведомления</h2>
<form method="POST">
{% csrf_token %}
<input type="hidden" name="action" value="notifications">
<input type="text" name="chat_id" value="{{ user.userinfo.telegram_chat_id }}" placeholder="telegram chat id"> <a class="btn btn-link" target="_blank" rel="noopener noreferrer" href="https://t.me/sprint_notifications_bot">Бот</a>
<table>
<tr>
<td style="width: 200px;">