camper/web/templates/admin
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
..
amenity Add amenities section and public page 2024-01-27 22:51:41 +01:00
booking Allow opening a booking or creating a new from the booking grid 2024-04-25 12:29:43 +02:00
campsite Allow opening a booking or creating a new from the booking grid 2024-04-25 12:29:43 +02:00
carousel Add breadcrumb to all admin pages 2024-01-21 22:44:04 +01:00
home Make the slogan user-editable and translatable 2024-01-23 11:52:39 +01:00
legal Add breadcrumb to all admin pages 2024-01-21 22:44:04 +01:00
media Add breadcrumb to all admin pages 2024-01-21 22:44:04 +01:00
payment Use pre-authorization to accept payment, rather than charge 2024-03-24 22:06:59 +01:00
season Fix breadcrumb title in season’s form.gohtml 2024-01-22 03:39:54 +01:00
services Remove the required attribute from service’s name input 2024-01-24 11:17:49 +01:00
surroundings Add ad management for surroundings 2024-01-23 14:53:15 +01:00
user Add breadcrumb to all admin pages 2024-01-21 22:44:04 +01:00
dashboard.gohtml Add breadcrumb to all admin pages 2024-01-21 22:44:04 +01:00
form.gohtml Replace admin’s campsite map with a booking grid 2024-04-19 11:29:52 +02:00
htmx.gohtml Move admin-only links inside the user’s menu 2023-09-25 13:13:19 +02:00
layout.gohtml Add the admin page to see payments 2024-02-14 04:54:42 +01:00
location.gohtml Use lang-selector template for location.gohtml 2024-01-24 00:48:30 +01:00
login.gohtml Add breadcrumb to all admin pages 2024-01-21 22:44:04 +01:00
profile.gohtml Add breadcrumb to all admin pages 2024-01-21 22:44:04 +01:00
taxDetails.gohtml Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00