Commit graph

12 commits

Author SHA1 Message Date
584d81f7bd
feat(i18n): add language toggle and localize views
Some checks failed
CI / checks (push) Has been cancelled
2026-01-09 16:09:20 -04:00
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
c2d0ddc67a
improve layout 2024-11-25 14:58:18 +01:00
ffa7f140d1
use daisyUI (#25)
* use tailwind and daisyui

* split the layout in multiple components

* remove unused code

* footer compoonent

* login form

log

* booking table

fd

* cancel style

* header

* booking form

* new booking

* line items

* line item

* report

* uniform headings
2024-11-16 19:24:26 +01:00
abf37d8413
add search by custumer name 2024-08-23 09:55:19 +02:00
9765edc318
update templ version 2024-08-05 20:19:33 +02:00
aff18b2b12
split view models 2024-07-15 16:59:23 +02:00
c3c52cfbf7
reformat 2024-06-02 11:27:08 +02:00
ab52e6ec95
show cancel state on booking list 2024-06-02 11:07:42 +02:00
04586832fa
add cancel flag on booking 2024-06-01 20:21:24 +02:00
1ea82268bd
move layouts to own folder 2024-04-12 11:22:55 +02:00
761719f1bf
rename packages to singular 2024-03-03 18:49:03 +01:00
Renamed from internal/views/bookings_list.templ (Browse further)