From 8c45e77016cbe9c49366070582c398b92ddf8c1a Mon Sep 17 00:00:00 2001 From: hdaws Date: Sat, 11 Jan 2025 14:09:56 -0500 Subject: [PATCH] placeholder to get main in --- .idea/magfest.iml | 6 ++++-- .idea/misc.xml | 5 ++++- docker-compose.yml | 6 +++++- uber/templates/forms/attendee/personal_info.html | 8 ++++---- uber/templates/forms/macros.html | 1 + uber/templates/registration/attendee_data.html | 2 +- uber/templates/registration/form.html | 2 +- 7 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.idea/magfest.iml b/.idea/magfest.iml index 326b66cdd..b9bfa7653 100644 --- a/.idea/magfest.iml +++ b/.idea/magfest.iml @@ -1,8 +1,10 @@ - - + + + + diff --git a/.idea/misc.xml b/.idea/misc.xml index 53c3df04c..2e885756c 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,7 @@ - + + + \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 044de6343..78ed6f45b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,15 +37,19 @@ services: command: ['celery-worker'] db: image: postgres + ports: + - 25432:5432 environment: - POSTGRES_PASSWORD=uber_db - POSTGRES_USER=uber_db - POSTGRES_DB=uber_db + volumes: + - ./db/uber_data:/var/lib/postgres/data redis: image: redis rabbitmq: ports: - - "5672" + - 25672:5672 image: rabbitmq:alpine environment: - RABBITMQ_DEFAULT_USER=celery diff --git a/uber/templates/forms/attendee/personal_info.html b/uber/templates/forms/attendee/personal_info.html index c9029a953..c92cedfcb 100644 --- a/uber/templates/forms/attendee/personal_info.html +++ b/uber/templates/forms/attendee/personal_info.html @@ -16,13 +16,13 @@ #}
{% block name %} {% set attendee_last_name = attendee.last_name[0] ~ '.' if limited_read else attendee.last_name %} diff --git a/uber/templates/forms/macros.html b/uber/templates/forms/macros.html index e52740f2a..62633f2cc 100644 --- a/uber/templates/forms/macros.html +++ b/uber/templates/forms/macros.html @@ -195,6 +195,7 @@ {% for key in kwargs %} {{ key }}="{{ kwargs[key] }}"{% endfor %}> {{ label_text }} {% if required_if is not none %} + HMD Debug * {% endif %} diff --git a/uber/templates/registration/attendee_data.html b/uber/templates/registration/attendee_data.html index ac02aa0df..ae1297367 100644 --- a/uber/templates/registration/attendee_data.html +++ b/uber/templates/registration/attendee_data.html @@ -135,7 +135,7 @@ {% endif %} {{ form_macros.form_validation('attendee_form', '../registration/validate_attendee', callback="updateAttendee(submit_button_name)") }} -
+ {{ csrf_token() }} {% include "forms/attendee/admin_badge_flags.html" %} diff --git a/uber/templates/registration/form.html b/uber/templates/registration/form.html index 4fb237017..aeee106e2 100644 --- a/uber/templates/registration/form.html +++ b/uber/templates/registration/form.html @@ -172,7 +172,7 @@

{{ attendee.full_name }} currently owes {{ (receipt.current_amount_o {{ form_macros.form_validation('attendee-form') }} - + {{ csrf_token() }}