Fix LESS import error and refactor project structure

This commit is contained in:
kirill.khorkov
2026-01-03 18:59:56 +03:00
parent 1bb0fc02e6
commit 4a8d4f8c3f
201 changed files with 891 additions and 14311 deletions

View File

@@ -47,7 +47,7 @@
<div class="auth-actions">
<span class="auth-text">Нет аккаунта?</span>
<a href="/cite_practica/register" class="login-btn">Зарегистрироваться</a>
<a href="/register" class="login-btn">Зарегистрироваться</a>
</div>
</form>
</div>
@@ -70,13 +70,13 @@ $(document).ready(function() {
}
$.ajax({
url: '/cite_practica/login',
url: '/login',
method: 'POST',
data: { email: email, password: password, redirect: redirect },
dataType: 'json',
success: function(result) {
if (result.success) {
window.location.href = result.redirect || '/cite_practica/catalog';
window.location.href = result.redirect || '/catalog';
} else {
alert(result.message || 'Ошибка авторизации');
}
@@ -88,4 +88,3 @@ $(document).ready(function() {
});
});
</script>