фикс 3

This commit is contained in:
2026-04-23 12:29:45 +03:00
parent bb0d1111f0
commit bb1019f816

View File

@@ -308,7 +308,7 @@
<button type="button" class="account-toggle-btn" id="openCreateAccountBtn"> Создать аккаунт</button> <button type="button" class="account-toggle-btn" id="openCreateAccountBtn"> Создать аккаунт</button>
</div> </div>
{% if account_message %} {% if account_output %}
<div class="log-block {% if account_success %}success{% else %}error{% endif %}"> <div class="log-block {% if account_success %}success{% else %}error{% endif %}">
<div class="log-title">Создание аккаунта</div> <div class="log-title">Создание аккаунта</div>
<div class="log-status"> <div class="log-status">
@@ -319,7 +319,7 @@
ошибка ошибка
{% endif %} {% endif %}
</div> </div>
<pre class="log-output">{{ account_message }}</pre> <pre class="log-output">{{ account_output }}</pre>
</div> </div>
{% endif %} {% endif %}
@@ -348,8 +348,8 @@
<form method="post" action="/admin/db/create-account" class="account-create-form" id="createAccountForm"> <form method="post" action="/admin/db/create-account" class="account-create-form" id="createAccountForm">
<div class="form-grid"> <div class="form-grid">
<div> <div>
<label class="field-label" for="accountLogin">Логин</label> <label class="field-label" for="accountUsername">Логин</label>
<input class="field-input" id="accountLogin" type="text" name="login" required> <input class="field-input" id="accountUsername" type="text" name="username" required>
</div> </div>
<div> <div>
@@ -499,6 +499,5 @@
resizeCanvas(); resizeCanvas();
window.addEventListener("resize", resizeCanvas); window.addEventListener("resize", resizeCanvas);
</script> </script>
</body> </body>
</html> </html>