Commit Graph

14 Commits

Author SHA1 Message Date
c8e65146ec Fix home button routes and login redirects
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
2026-06-16 09:50:32 +02:00
373cc15e4d Update CSS
All checks were successful
Build and Push Docker Image / build (push) Successful in 53s
2026-06-10 21:34:59 +02:00
3d356c7d6a feat: add price filter and dynamic slider to catalog
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
- Implemented JavaScript-based price slider for catalog filtering
- Updated catalog views to handle min/max price inputs and compute slider bounds
- Enhanced templates (`index.html`, `side-bar.html`) with filtering form and updated URLs
- Added CSS for price slider styling and form layout
- Introduced utility functions for URL building and price parsing
- Expanded tests for price filtering, sliders, and sidebar active states
- Updated context processor and header for dynamic navigation with price filters
2026-05-16 11:12:24 +02:00
52cbc1c2b3 feat: implement shopping cart feature with user authentication support
All checks were successful
Build and Push Docker Image / build (push) Successful in 42s
- Added `Cart` and `CartItem` models with migrations for managing user-specific carts and items
- Developed services for cart-related operations: adding, removing, and updating cart items
- Built specialized templates (`cart.html`) and styled them with new CSS assets (`cart.css`)
- Enabled real-time UI updates via AJAX in shopping cart interactions (`cart.js`)
- Modified header to dynamically display cart link with user authentication awareness
- Added Leaflet-based interactive map to the contacts page and integrated CSS/JS dependencies
- Expanded tests for cart functionality, item detail page cart integration, and contacts page maps
2026-05-15 23:18:16 +02:00
29d8302a4f feat: add favorites feature for users
All checks were successful
Build and Push Docker Image / build (push) Successful in 51s
- Implemented `Favorite` model with unique user-item constraint and timestamped records
- Added `favorites:index` and `favorites:toggle` views with AJAX support for toggling favorites
- Built templates and front-end assets for the favorites page and integration with item grids
- Extended header with favorites link and dynamic counter
- Added tests covering models, views, and templates for the favorites functionality
- Updated admin to enable management of favorites via Django admin interface
2026-05-10 20:06:12 +02:00
c4eb40f265 feat: add navigation context processor and update header template
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Created `navigation` context processor to manage `active` context
- Integrated the processor into Django settings
- Simplified `header.html` by removing `{% with %}` for `active` management
2026-04-21 17:27:12 +02:00
fba29b7a6c feat: enhance header context handling and add login page test
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
- Updated `header.html` to use `with` block for `active` context variable fallback
- Added test to verify login page renders correctly without `active` context
2026-04-21 15:36:44 +02:00
80164b833b feat: implement user authentication features (registration, activation, and password reset)
All checks were successful
Build and Push Docker Image / build (push) Successful in 46s
- Added email templates for activation and password reset (`activation_email.html`, `password_reset_email.html`, etc.)
- Created forms for registration (`RegisterForm`) and login (`LoginForm`) with custom validation
- Developed new pages for account activation (`activation_success.html`, `activation_invalid.html`), password reset workflow, and profile
- Configured email backend and environment file handling in settings
- Updated header template to conditionally display profile or login links based on authentication status
- Enhanced CSS styles for authentication-related pages and forms
2026-04-15 18:27:23 +02:00
4155ed27ed refactor: update styles and structure for header, navigation, and banner
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Removed unnecessary "active-page" class from banner link
- Added reusable "nav-block" class for header links
- Adjusted `.nav-links` structure: switched to `inline-flex`, added `justify-content`
- Reduced `.kitchen-banner` margin and added border, padding for text styles
- Enhanced flex layout for `home-index-block` in index.css
2026-04-04 22:16:54 +02:00
6577eab464 feat: добавить хлебные крошки и стили для страницы "Услуги"
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Создан фрагмент `_fragments/breadcrumbs.html` для отображения цепочки навигации
- Обновлён шаблон `services.html` с интеграцией хлебных крошек и новым содержанием
- Добавлен файл `services.css` для стилизации раздела "Услуги"
- Расширены стили breadcrumbs в `style.css`
- Уточнены размеры и отступы в стилях главной страницы (index.css)
- Добавлено фоновое изображение `services-bg.png` для секции "Услуги"
2026-04-04 22:06:58 +02:00
c5d4d4568b feat: интеграция Fancybox и добавление формы обратной связи
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Подключён Fancybox для улучшения пользовательского интерфейса
- Добавлена интерактивная форма обратной связи в секции FAQ
- Обновлены стили и скрипты для поддержки новых функций
- Исправлена ссылка на страницу входа в header
2026-04-04 11:55:24 +02:00
28c4e08bb6 feat: добавить auth функционал, URL и Docker конфигурацию
Some checks failed
Build and Push Docker Image / build (push) Failing after 12s
- Добавлены views, URL и страницы для входа, регистрации, профиля
- Обновлён основной маршрут users/urls.py
- Перенаправлен маршрут catalog вместо items
- Обновлена структура header с добавлением ссылки на главную
- Создан Dockerfile и workflow для сборки и доставки образов
2026-03-30 22:32:31 +02:00
d522489e7f feat: добавить страницы и фрагменты для улучшения структуры шаблонов
- Добавлены страницы "Услуги", "Доставка", "Гарантия", "Контакты" с view и URL
- Вынесены hero, advantages, и о нас в отдельные фрагменты
- Обновлены header и footer для активных ссылок и адаптивности
- Добавлен normalize.css для унификации стилей
2026-03-30 21:52:08 +02:00
1eff7c6227 feat: добавить home app и базовую структуру шаблонов
- Создано Django app 'home' с view, urls, models
- Добавлены шаблоны: base layout, header/footer fragments, index page
- Настроены STATICFILES_DIRS и TEMPLATES в settings.py
- Подключены URLS всех apps (home, items, orders, users)
- Добавлены статические файлы (CSS, изображения)
2026-03-23 19:00:17 +01:00