Optimize order statuses list page with compact card layout

- Changed from table to card-based design for better space efficiency
- Reduced padding and margins to fit 15+ statuses on screen without scrolling
- Minimized font sizes and icon sizes for compact display
- Added proper styling for edit and delete buttons with hover effects
- Improved visual hierarchy with color indicators and badges
- Maintained all functionality while improving UX

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-18 23:00:29 +03:00
parent efbc6ce595
commit a1888b7745
4 changed files with 339 additions and 374 deletions

View File

@@ -764,7 +764,7 @@ ConfigurableKitOptionFormSetCreate = inlineformset_factory(
form=ConfigurableKitOptionForm,
formset=BaseConfigurableKitOptionFormSet,
fields=['kit', 'is_default'], # Убрали 'attributes' - заполняется через ConfigurableKitOptionAttribute
extra=1, # Показать 1 пустую форму
extra=0, # Не требуем пустые формы (варианты скрыты в UI)
can_delete=True,
min_num=0,
validate_min=False,