feat: Add detailed park and ride pages with HTMX integration

- Implemented park detail page with dynamic content loading for rides and weather.
- Created park list page with filters and search functionality.
- Developed ride detail page showcasing ride stats, reviews, and similar rides.
- Added ride list page with filtering options and dynamic loading.
- Introduced search results page with tabs for parks, rides, and users.
- Added HTMX tests for global search functionality.
This commit is contained in:
pacnpal
2025-12-19 19:53:20 -05:00
parent bf04e4d854
commit b9063ff4f8
154 changed files with 4536 additions and 2570 deletions

View File

@@ -0,0 +1,7 @@
<form hx-post="{{ action }}" hx-target="closest .editable-field" hx-swap="outerHTML">
{% for field in form %}
{% include "forms/partials/form_field.html" with field=field %}
{% endfor %}
<button type="submit">Save</button>
<button type="button" hx-trigger="click" hx-swap="none">Cancel</button>
</form>

View File

@@ -0,0 +1,4 @@
<div class="editable-field editable-field-{{ name }}">
<div class="field-display">{% include "components/inline_edit/field_display.html" %}</div>
<div class="field-edit" hx-swap-oob="true"></div>
</div>

View File

@@ -0,0 +1 @@
<div class="field-display-value">{{ value }}</div>