Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1>Paly Robotics</h1>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right ">
<li class="active links"><a class="active links" href="#Home">Home</a></li>
<!-- <li class="links"><a class="links" href="/summercamp">Summer Camp</a></li> -->
<li class="links"><a class="links" href="/summercamp">Summer Camp</a></li>
<!-- <li class="links"><a class="links" href="/recruitment">Recruitment</a></li> -->
<li class="links"><a class="links" href="#Sponsors">Sponsors</a></li>
<li class="dropdown links">
Expand Down
2 changes: 1 addition & 1 deletion _layouts/pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<ul class="nav navbar-nav navbar-right ">
<li class="links"><a class="links" href="/#Home">Home</a></li>
<!-- <li class="links"><a class="links" href="/recruitment">Recruitment</a></li> -->
<!-- <li class="links"><a class="links" href="/recruitment">Summer Camp</a></li> -->
<li class="links"><a class="links" href="/recruitment">Summer Camp</a></li>
<li class="links"><a class="links" href="/#Sponsors">Sponsors</a></li>
<li class="dropdown links">
<a ref="#" class="dropdown-toggle links" data-toggle="dropdown">About Us<b class="caret"></b></a>
Expand Down
4 changes: 4 additions & 0 deletions assets/css/summercamp.stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,8 @@ fieldset:not(:first-of-type) {
font-size: 12px;
display: block;
font-weight: normal !important;
}

.greyba {
background-color:rgba(178,178,178,1.00);
}
12 changes: 12 additions & 0 deletions assets/js/summercamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ $("fieldset input, fieldset textarea").on("click keyup", function() {
else {
$(".other-choice-text-2").addClass("optional")
}

if($(".other-choice-3").first().is(':checked')) {
$(".other-choice-text-3").removeClass("optional");
$(".other-choice-text-3").removeClass("greyba");
$(".other-choice-text-3").attr("readonly", false);
}
else {
$(".other-choice-text-3").addClass("optional");
$(".other-choice-text-3").addClass("greyba");
$(".other-choice-text-3").attr("readonly", true);
$(".other-choice-text-3").val("");
}

var empty = false;

Expand Down
67 changes: 41 additions & 26 deletions summercamp.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h2 class="summercamp-title">Paly Robotics Summer Camp 2024</h2>
</li>
<li><a class="menu" data-toggle="tab" href="#sessions">Sessions</a></li>
<li><a class="menu" data-toggle="tab" href="#faq">FAQ</a></li>
<!-- <li><a class="menu" data-toggle="tab" href="#registration">Registration</a></li> -->
<li><a class="menu" data-toggle="tab" href="#registration">Registration</a></li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -163,7 +163,7 @@ <h3 class="summercamp-header2">
<div class="col-md-12">
<h3 class="summercamp-header sessions">Sessions Offered</h3>
</div>

<div class="col-md-12">
<table class="table table-bordered">
<tbody>
Expand Down Expand Up @@ -796,7 +796,7 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>
<!-- Registration -->
<div class="form-group">
<label for="entry_1627134799"
>Week 1 (June 5 - June 9</label>
>Week 1 (June 17 - June 21)</label>
<div class="form-check">
<input class="form-check-input session-checkbox register-checkbox optional" type="radio" name="entry.1627134799" value="Robot Design and Hardware" id="group_1627134799_1">
<label class="form-check-label" for="group_1627134799_1">Robot Design and Hardware</label>
Expand Down Expand Up @@ -840,7 +840,7 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>
</div>
<div class="form-group">
<label for="entry_814607865"
>Week 2 (June 12 - June 16)</label
>Week 2 (June 24 - June 28)</label
>
<div class="form-check">
<input
Expand All @@ -854,7 +854,7 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>
>Robot Design and Hardware</label
>
</div>
<div class="form-check">
<!-- <div class="form-check">
<input
class="form-check-input session-checkbox register-checkbox optional"
type="radio"
Expand All @@ -865,7 +865,7 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>
<label class="form-check-label" for="group_814607865_2"
>Programming</label
>
</div>
</div> -->
<div class="form-check">
<input
class="form-check-input session-checkbox register-checkbox optional"
Expand Down Expand Up @@ -894,44 +894,44 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>

<!-- Waitlist -->

<div class="form-group">
<label for="entry_453345807">[WAITLIST] Week 1 (June 5 - June 9)</label>
<div class="form-check">
<!-- <div class="form-group">
<label for="entry_453345807">[WAITLIST] Week 1 (June 17 - June 21)</label> -->
<!-- <div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.453345807" value="Robot Design and Hardware" id="group_453345807_1">
<label class="form-check-label" for="group_453345807_1">Robot Design and Hardware</label>
</div>
<div class="form-check">
</div> -->
<!-- <div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.453345807" value="Programming" id="group_453345807_2">
<label class="form-check-label" for="group_453345807_2">Programming</label>
</div>
<div class="form-check">
</div> -->
<!-- <div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.453345807" value="Entrepreneurship and Website Design" id="group_453345807_3">
<label class="form-check-label" for="group_453345807_3">Entrepreneurship and Website Design</label>
</div>
<div class="form-check">
</div> -->
<!-- <div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.453345807" value="Animation and Graphic Design" id="group_453345807_4">
<label class="form-check-label" for="group_453345807_4">Animation and Graphic Design</label>
</div>
</div>
</div> -->
<!-- </div> -->

<div class="form-group">
<label for="entry_180472513">[WAITLIST] Week 2 (June 12 - June 16)</label>
<div class="form-check">
<label for="entry_180472513">[WAITLIST] Week 2 (June 24 - June 28)</label>
<!-- <div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.180472513" value="Robot Design and Hardware" id="group_180472513_1">
<label class="form-check-label" for="group_180472513_1">Robot Design and Hardware</label>
</div>
</div> -->
<div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.180472513" value="Programming" id="group_180472513_2">
<label class="form-check-label" for="group_180472513_2">Programming</label>
</div>
<div class="form-check">
<!-- <div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.180472513" value="Entrepreneurship and Website Design" id="group_180472513_3">
<label class="form-check-label" for="group_180472513_3">Entrepreneurship and Website Design</label>
</div>
<div class="form-check">
</div> -->
<!-- <div class="form-check">
<input class="form-check-input session-checkbox waitlist-checkbox optional" type="checkbox" name="entry.180472513" value="Animation and Graphic Design" id="group_180472513_4">
<label class="form-check-label" for="group_180472513_4">Animation and Graphic Design</label>
</div>
</div> -->
</div>

<!--Background info-->
Expand Down Expand Up @@ -1006,7 +1006,7 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>

<div class="form-check">
<input
class="form-check-input register-only"
class="form-check-input register-only other-choice-3"
type="radio"
name="entry.1566736572"
value="I will pay the full amount via PayPal"
Expand All @@ -1032,6 +1032,21 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>
</div>
</div>

<div class="form-group register">
<label for="entry_1539123269">PayPal Account Email
<span class="help-text">Please enter the email associated with your PayPal account so that we can easily match payments to registrations.</span>
</label
>
<input
class="form-control register-only other-choice-text-3"
type="text"
name="entry.1539123269"
value=""
id="entry_1539123269"
onClick="javascript:$('#group_1566736572_1').prop('checked', true)"
/>
</div>

<input
type="button"
name="previous"
Expand All @@ -1041,7 +1056,7 @@ <h3 class="summercamp-faq-header">{{item2.question}}</h3>
<input
type="submit"
name="submit"
value="Next"
value="Submit"
id="ss-submit"
class="submit action-button"
/>
Expand Down