rentease/internal/view
Ruidy 17eb65ebdc
update booking list to card layout (#46)
### TL;DR
Transformed the bookings list from a table layout to a responsive card-based grid design.

### What changed?
- Replaced table structure with a responsive grid of cards
- Each booking is now displayed as a card with improved visual hierarchy
- Added hover effects and shadows for better interactivity
- Reorganized booking information with dedicated sections for dates and pricing
- Updated the search functionality to target the new card container
- Added euro symbol to price display
- Improved the presentation of canceled bookings

### How to test?
1. Navigate to the bookings list page
2. Verify cards display correctly on different screen sizes
3. Check that hover effects work on cards
4. Confirm search functionality still filters bookings
5. Verify canceled bookings show with strikethrough
6. Test that "View Details" links work correctly
7. Ensure all booking information is visible and properly formatted

### Why make this change?
The card-based layout provides a more modern and user-friendly interface that works better across different screen sizes. It improves the visual hierarchy of booking information and makes it easier for users to scan and interact with individual bookings. The new design also better accommodates varying content lengths and provides a more engaging visual experience.
2025-03-02 13:44:43 +01:00
..
layout remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
booking_by_id.templ remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
booking_by_id_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
booking_form.templ improve layout 2024-11-25 14:58:18 +01:00
booking_form_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
booking_lines.templ update booking list to card layout (#46) 2025-03-02 13:44:43 +01:00
booking_lines_templ.go update booking list to card layout (#46) 2025-03-02 13:44:43 +01:00
booking_list_viewmodel.go split view models 2024-07-15 16:59:23 +02:00
booking_viewmodel.go translate platform and payment method in invoices (#42) 2025-02-22 09:24:34 +01:00
bookings_list.templ update booking list to card layout (#46) 2025-03-02 13:44:43 +01:00
bookings_list_templ.go update booking list to card layout (#46) 2025-03-02 13:44:43 +01:00
bookings_new.templ improve layout 2024-11-25 14:58:18 +01:00
bookings_new_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
item_list.templ fix: only update the payments on payment creation 2025-01-25 00:21:30 +01:00
item_list_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
item_list_viewmodel.go Raw 34 enable payments (#35) 2025-01-24 17:30:35 +01:00
item_viewmodel.go Raw 34 enable payments (#35) 2025-01-24 17:30:35 +01:00
line_item.templ remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
line_item_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
login.templ use daisyUI (#25) 2024-11-16 19:24:26 +01:00
login_form.templ use daisyUI (#25) 2024-11-16 19:24:26 +01:00
login_form_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
login_form_viewmodel.go split view models 2024-07-15 16:59:23 +02:00
login_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
payment.templ fix: only update the payments on payment creation 2025-01-25 00:21:30 +01:00
payment_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
report_line_viewmodel.go split view models 2024-07-15 16:59:23 +02:00
report_section.templ use daisyUI (#25) 2024-11-16 19:24:26 +01:00
report_section_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
report_viewmodel.go split view models 2024-07-15 16:59:23 +02:00
reports.templ style: Improve page layout with wider container and added margin 2024-12-24 18:03:04 +01:00
reports_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
success.templ success page 2024-03-15 10:47:09 +01:00
success_templ.go remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00