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>

View File

@@ -18,10 +18,6 @@
</div>
<?php endif; ?>
<div style="background: #e8f4fd; padding: 15px; border-radius: 5px; margin: 20px auto; max-width: 800px; text-align: center; font-size: 14px; color: #0c5460;">
<i class="fas fa-info-circle"></i> Для доступа к каталогу и оформления заказов необходимо зарегистрироваться
</div>
<div class="profile-container">
<div class="profile-left-col">
<div class="logo" style="color: white;">AETERNA</div>
@@ -39,8 +35,11 @@
<div class="profile-right-col">
<div class="profile-form-block">
<div style="margin-bottom: 20px; padding: 12px 15px; background: #e8f4fd; border-radius: 5px; font-size: 13px; color: #0c5460; text-align: center;">
<i class="fas fa-info-circle"></i> Для доступа к каталогу и оформления заказов необходимо зарегистрироваться
</div>
<h2>РЕГИСТРАЦИЯ</h2>
<form class="profile-form" action="/cite_practica/register" method="POST" id="registrationForm">
<form class="profile-form" action="/register" method="POST" id="registrationForm">
<div class="input-group">
<label for="fio">ФИО *</label>
<input type="text" id="fio" name="fio" placeholder="Введите ваше ФИО"
@@ -82,7 +81,7 @@
</label>
</div>
<a href="/cite_practica/login" style="display: block; margin: 15px 0; text-align: center; color: #453227;">
<a href="/login" style="display: block; margin: 15px 0; text-align: center; color: #453227;">
Уже есть аккаунт? Войти
</a>
@@ -92,4 +91,3 @@
</div>
</div>
</main>