camper/web/static
jordi fita mas 9eb6483cb9 Allow opening a booking or creating a new from the booking grid
I wanted to use a regular <a>, but apparently rendering that many
anchors is too resource-intensive for Firefox, and it is noticeably
slower.  It was even worse, in fact, because i had to have different
content for the main grid and the grid show in the new booking form,
as i did not want to have these links there, and had call a template for
each cell: 3 months × ~30 days × ~100 campsites = 9000 calls!

Using JavaScript for that is shameful, but it does not add much to the
existing markup, and no need for template fuckery.

I am using double-click to follow these links, instead of single click,
because it would be too easy to misclik on the grid, but that forced me
to add `user-select: none` to prevent the selection of text when double-
clicking.
2024-04-25 12:29:43 +02:00
..
camping-association Add bottom border to heading and add camping association images 2023-12-22 00:20:53 +01:00
ckeditor5@40.2.0 Allow updating images in CKEditor-“powered” textarea 2024-01-16 01:26:35 +01:00
fonts Add the minimal CSS for the admin section from Numerus 2023-09-28 02:23:25 +02:00
leaflet@1.9.4 Show campground map using leaflet 2024-01-14 22:31:13 +01:00
alpinejs@3.13.3.min.js Replace contact page with location 2023-12-21 21:17:04 +01:00
camper.css Allow opening a booking or creating a new from the booking grid 2024-04-25 12:29:43 +02:00
camper.js Remove the extra <div> when saving content from CKEditor 2024-01-21 21:04:51 +01:00
default_avatar.svg Add profile form, inside a user menu 2023-07-26 20:46:09 +02:00
favicon.ico Add favicon 2023-07-26 18:59:17 +02:00
htmx@1.9.3.min.js Add the logout button 2023-07-26 13:49:47 +02:00
icons.css Add cabin, flask_gear, grate_droplet, shirt, shop, and tent icons 2024-01-24 19:32:01 +01:00
idiomorph-ext@0.3.0.min.js Use idiomorph and a delay in the booking form 2024-02-27 20:06:28 +01:00
jquery@3.7.1.min.js Add the first test for the front end design 2023-09-05 04:40:48 +02:00
map.js Show zones in campground map by default if requested by query parameters 2024-02-04 03:43:00 +01:00
public.css Compute ACSI discount 2024-03-14 22:08:01 +01:00
slick@1.8.1.css Add the first test for the front end design 2023-09-05 04:40:48 +02:00
slick@1.8.1.min.js Add the first test for the front end design 2023-09-05 04:40:48 +02:00
sortable@1.15.1.min.js Add user-defined order to campsite types, options, seasons and carousels 2023-12-20 19:52:14 +01:00