getting closer to new site

This commit is contained in:
Chris Cochrun 2025-06-19 15:42:43 -05:00
parent f82141f2a7
commit 760e46a2d1
7 changed files with 72 additions and 31 deletions

View file

@ -145,11 +145,11 @@
<input type="text" id="allergies" name="allergies"
class="basis-full form-input {{ formClasses }}">
<label for="week" class="basis-full">My Camp Plan (The first week is filled, so if you'd like to be on a waiting list, you'll have to check the second option.)<span class='inline-block text-[#f39] text-sm align-sub'>* required</span></label>
<label for="week" class="basis-full">My Camp Plan (The second week is filled, so if you'd like to be on a waiting list, you'll have to check the second option.) <span class='inline-block text-[#f39] text-sm align-sup'>* required</span></label>
<select id="week" name="week" class="flex-auto form-select {{ formClasses }}">
<option value="week1">Week 1: July 21-25</option>
<option value="week2">Week 2: July 28-Aug 1</option>
<!-- <option value="waiting-list">Week 2: July 29-Aug 2, but on a waiting list for week 1</option> -->
<!-- <option value="week2">Week 2: July 28-Aug 1</option> -->
<option value="waiting-list">Week 1: July 21-25, but on a waiting list for week 2</option>
</select>
<label for="shirt" class="basis-full">T-Shirt Size <span class='inline-block text-[#f39] text-sm'>all t-shirts are in adult sizes only</span></label>
@ -199,21 +199,21 @@
<input type="radio" value="now" id="registration" name="registration"
class="form-input {{ formClasses }}" checked>
<label for="registration" class="">
Now - $85
Now - $100
</label>
</div>
<div class="basis-full">
<input type="radio" value="full" id="registration" name="registration"
class="form-input {{ formClasses }}">
<label for="registration" class="">
Full Cost - $185
Full Cost - $200
</label>
</div>
<div class="basis-full mb-4">
<input type="radio" value="later" id="registration" name="registration"
class="form-input {{ formClasses }}">
<label for="registration" class="">
Later - Send $85 or $185 to the TFC Office
Later - Send $100 or $200 to the TFC Office
</label>
</div>
<!-- For after early bird prices -->
@ -239,7 +239,7 @@
</label>
</div> -->
<div class="basis-full mt-8">
<button type="submit" class="content-right rounded-lg bg-gray-700 h-12 w-24 focus:bg-gray-900 focus:ring focus:ring-primary-700 hover:bg-gray-900 float-right">Submit</button>
<button type="submit" class="content-right rounded-lg bg-blue-700 h-12 w-24 focus:bg-blue-900 focus:ring focus:ring-blue-700 hover:bg-blue-900 float-right">Submit</button>
</div>
</form>
</div>

View file

@ -6,7 +6,7 @@
}
</script>
<button class="rounded-lg bg-blue-600 px-4 py-2 !text-neutral !no-underline hover:!bg-blue-500 dark:bg-blue-800 dark:hover:!bg-blue-700 fixed bottom-4 right-8" type="button" name="floatbutt" onclick="floatButton()" id="floatbutt">
<button class="rounded-lg bg-blue-700 px-4 py-2 !text-neutral !no-underline hover:!bg-blue-500 dark:bg-blue-700 dark:hover:!bg-blue-900 fixed bottom-4 right-8" type="button" name="floatbutt" onclick="floatButton()" id="floatbutt">
<i>{{ text }}</i>
<span class="relative inline-block align-sub size-5 fill-current flex-auto">
{{ load_data(path="icons/" ~ icon ~ ".svg") | safe }}

View file

@ -234,13 +234,6 @@
<input type="text" id="last-name" name="last-name" required
placeholder="Last Name" class="flex-1 form-input {{ formClasses }}">
</div>
<div class="basis-full my-8">
<div class="">
<label for="birth-date" class="">When were you born? <span class='inline-block text-[#f39] text-sm'>* required</span></label>
<input type="date" id="birth-date" name="birth-date"
class="form-date {{ formClasses }}" required>
</div>
</div>
<div class="basis-full flex flex-wrap my-4">
<label for="parent-first-name" class="basis-full">What is your parent's first and last name? <span class='inline-block text-[#f39] text-sm'>* required</span></label>
<input type="text" id="parent-first-name" name="parent-first-name"
@ -250,6 +243,13 @@
class="flex-1 form-input {{ formClasses }}"
placeholder="Last Name" required>
</div>
<div class="basis-full my-8">
<div class="flex flex-wrap">
<label for="birth-date" class="basis-full">When were you born? <span class='inline-block text-[#f39] text-sm'>* required</span></label>
<input type="date" id="birth-date" name="birth-date"
class="form-date flex-auto {{ formClasses }}" required>
</div>
</div>
<div class="basis-full flex flex-wrap my-4">
<label for="street" class="basis-full">What is your address? <span class='inline-block text-[#f39] text-sm'>* required</span></label>
<input type="text" id="street" name="street"
@ -267,12 +267,12 @@
</div>
<div class="basis-full flex flex-wrap items-center my-8">
<div class="flex-auto flex flex-wrap items-center">
<label for="cell-phone" class="mr-4">Parent Cell phone</label>
<label for="cell-phone" class="basis-full mr-4">Parent Cell phone</label>
<input type="tel" id="cell-phone" name="cell-phone"
class="flex-auto form-input {{ formClasses }}">
</div>
<div class="flex-auto flex flex-wrap items-center">
<label for="home-phone" class="mr-4">Home phone</label>
<label for="home-phone" class="basis-full mr-4">Home phone</label>
<input type="tel" id="home-phone" name="home-phone"
class="flex-auto form-input {{ formClasses }}">
</div>
@ -336,13 +336,19 @@
<div class="basis-full flex flex-wrap items-center">
<h3 class="basis-full">Please read and agree to the following</h3>
<li>On this <span id="current_date"></span>, I/we the parent(s)/legal guardian(s) of the above-named child ("Participant") do hereby delegate to the TFC Connection Staff a "Power of Attorney" for the above-named child for the purpose of having custody of my/our child and my/our consent to any needed emergency/medical treatment and administration of prescribed medications of my/our child.
<li>In the event that I cannot be reached in an emergency during the dates specified on this form, I hereby give my permission to the physician or dentist selected by the TFC Connection Staff to hospitalize, to secure proper treatment, and/or order any injection, anesthesia, or surgery for my son or daughter as deemed necessary.
<li>I understand that every activity sponsored by TFC Connection is carefully planned and adequately supervised by mature adults. However, even with the best planning and precaution, unforeseen events can occur. By signing this form as parent/guardian, I/we agree to assume and accept all risks and hazards inherent in ministry-related activities and events. I/we acknowledge that participation in TFC Connection ministry activities and events involves risk to the participant (and to the participant's parents or guardians, if the participant is a minor), and may result in various types of injury including, but not limited to, the following: sickness, exposure to infectious/communicable disease, bodily injury, death, emotional injury, personal injury, property damage, and financial damage.
<li>In consideration for the opportunity to participate in TFC Connection activities and events, the participant (or parent/guardian if the participant is a minor) acknowledges and accepts the risks of injury associated with participation in and transportation to and from the activities or events. The participant (or parent/guardian) accepts personal financial responsibility for any injury or other loss sustained during the activity or event, or during transportation to and from the activity or event, as well as for any medical treatment rendered to the participant that is authorized by the sponsor or its agents, employees, volunteers, or any other representatives (collectively referred to as the "activity sponsor"). Further, the participant (or parent/guardian) releases and promises to indemnify, defend, and hold harmless the activity sponsor for any injury arising directly or indirectly out of ministry activities and events, or transportation to and from activities and events, whether such injury arises out of the negligence of the activity sponsor, the participant, or otherwise.
<li>I/we also agree not to hold TFC Connection, it's employees or volunteer assistants liable for damages, losses, or injuries to the participant or their personal property. As parent/guardian, I understand that I am signing for the minor named on this form and the signatures are to provide for the medical release and the liability release.
<li>Further, should it be necessary for the participant to return home due to medical reasons, disciplinary action, or otherwise, I/we hereby assume transportation costs for their return.
<li>I give permission to TFC Connection to use my child's image in photos or videos taken at TFC sponsored activities and events in order to publicize or promote TFC activities, including promotional materials, the TFC website, and social media pages.
<li>On this <span id="current_date"></span>, I/we the parent(s)/legal guardian(s) of the above-named child ("Participant") do hereby delegate to the TFC Connection Staff a "Power of Attorney" for the above-named child for the purpose of having custody of my/our child and my/our consent to any needed emergency/medical treatment and administration of prescribed medications of my/our child.</li>
<br/>
<li>In the event that I cannot be reached in an emergency during the dates specified on this form, I hereby give my permission to the physician or dentist selected by the TFC Connection Staff to hospitalize, to secure proper treatment, and/or order any injection, anesthesia, or surgery for my son or daughter as deemed necessary.</li>
<br/>
<li>I understand that every activity sponsored by TFC Connection is carefully planned and adequately supervised by mature adults. However, even with the best planning and precaution, unforeseen events can occur. By signing this form as parent/guardian, I/we agree to assume and accept all risks and hazards inherent in ministry-related activities and events. I/we acknowledge that participation in TFC Connection ministry activities and events involves risk to the participant (and to the participant's parents or guardians, if the participant is a minor), and may result in various types of injury including, but not limited to, the following: sickness, exposure to infectious/communicable disease, bodily injury, death, emotional injury, personal injury, property damage, and financial damage.</li>
<br/>
<li>In consideration for the opportunity to participate in TFC Connection activities and events, the participant (or parent/guardian if the participant is a minor) acknowledges and accepts the risks of injury associated with participation in and transportation to and from the activities or events. The participant (or parent/guardian) accepts personal financial responsibility for any injury or other loss sustained during the activity or event, or during transportation to and from the activity or event, as well as for any medical treatment rendered to the participant that is authorized by the sponsor or its agents, employees, volunteers, or any other representatives (collectively referred to as the "activity sponsor"). Further, the participant (or parent/guardian) releases and promises to indemnify, defend, and hold harmless the activity sponsor for any injury arising directly or indirectly out of ministry activities and events, or transportation to and from activities and events, whether such injury arises out of the negligence of the activity sponsor, the participant, or otherwise.</li>
<br/>
<li>I/we also agree not to hold TFC Connection, it's employees or volunteer assistants liable for damages, losses, or injuries to the participant or their personal property. As parent/guardian, I understand that I am signing for the minor named on this form and the signatures are to provide for the medical release and the liability release.</li>
<br/>
<li>Further, should it be necessary for the participant to return home due to medical reasons, disciplinary action, or otherwise, I/we hereby assume transportation costs for their return.</li>
<br/>
<li>I give permission to TFC Connection to use my child's image in photos or videos taken at TFC sponsored activities and events in order to publicize or promote TFC activities, including promotional materials, the TFC website, and social media pages.</li>
</div>
<div class="basis-full my-4 flex flex-wrap items-center">
@ -513,6 +519,5 @@
You have not included a copy of your insurance card.
</span>
</div>
</form>
</div>
</div>

View file

@ -0,0 +1,18 @@
{% if not mapWidth %} {% set mapWidth = "100%" -%} {% endif %}
{% if not mapHeight %} {% set mapHeight = "600px" -%} {% endif %}
{% if not scaleControl %} {% set scaleControl = "true" -%} {% endif %}
{% if not miniMap %} {% set miniMap = "false" -%} {% endif %}
{% if not scrollWheelZoom %} {% set scrollWheelZoom = "true" -%} {% endif %}
{% if not zoomControl %} {% set zoomControl = "true" -%} {% endif %}
{% if not allowEdit %} {% set allowEdit = "false" -%} {% endif %}
{% if not moreControl %} {% set moreControl = "true" -%} {% endif %}
{% if not searchControl %} {% set searchControl = "true" -%} {% endif %}
{% if not tilelayersControl %} {% set tilelayersControl = "null" -%} {% endif %}
{% if not embedControl %} {% set embedControl = "null" -%} {% endif %}
{% if not datalayersControl %} {% set datalayersControl = "true" -%} {% endif %}
{% if not onLoadPanel %} {% set onLoadPanel = "none" -%} {% endif %}
{% if not captionBar %} {% set captionBar = "true" -%} {% endif %}
<div style="display: flex;" class="w-full">
<iframe class="flex-auto rounded-lg " width="{{ mapWidth }}" height="{{ mapHeight }}" frameBorder="0" src="https://umap.openstreetmap.fr/en/map/{{ mapName }}?scaleControl={{ scaleControl }}&miniMap={{ miniMap }}&scrollWheelZoom={{ scrollWheelZoom }}&zoomControl={{ zoomControl }}&allowEdit={{ allowEdit }}&moreControl={{ moreControl }}&searchControl={{ searchControl }}&tilelayersControl={{ tilelayersControl }}&embedControl={{ embedControl }}&datalayersControl={{ datalayersControl }}&onLoadPanel={{ onLoadPanel }}&captionBar={{ captionBar }}{% if scale %}#{{ scale }}{% endif %}/{% if coordX %}{{ coordX }}{% endif %}/{% if coordY %}{{ coordY }}{% endif %}"></iframe>
</div>