Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added descriptions for food choices #455

Merged
merged 26 commits into from
May 16, 2019
Merged
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
de973a7
launch settings
jenetlan Mar 16, 2019
8f33094
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 16, 2019
756d414
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 18, 2019
0147a98
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 21, 2019
df8569d
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 23, 2019
a4068ba
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 26, 2019
a2ffb89
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 26, 2019
27609a9
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 26, 2019
98c0372
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 26, 2019
afdc713
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 28, 2019
808f4c2
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 28, 2019
fcedf0d
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 28, 2019
3441b4d
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Mar 28, 2019
13351c4
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 6, 2019
1ce74ba
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 11, 2019
7cd6628
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 18, 2019
a3c9477
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 25, 2019
357ebcb
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 25, 2019
bdc9c0d
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 25, 2019
2e22fb6
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 25, 2019
130d388
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan Apr 25, 2019
79abec8
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan May 6, 2019
fc482d0
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan May 9, 2019
a559e1c
Merge branch 'master' of https://github.com/PuzzleServer/mainpuzzlese…
jenetlan May 16, 2019
651d714
Food updates to include desciptions
jenetlan May 16, 2019
55dc4cb
Fix to ensure unique values
jenetlan May 16, 2019
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
51 changes: 32 additions & 19 deletions ServerCore/Pages/Swag/Register.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
var isEditable = DateTime.UtcNow <= Model.Event.TeamMiscDataChangeEnd;
}

<style>
.food-option-description {
font-style: italic;
}
</style>

<h2>Order T-Shirt and Lunch for @Html.DisplayFor(model => model.Event.Name)</h2>

@if (isEditable)
Expand All @@ -28,27 +34,9 @@ else
<div class="col-md-4">
<form method="post">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
<label asp-for="Swag.Lunch" class="control-label"></label>
<select asp-for="Swag.Lunch" class="form-control">
<option value="smoked-turkey">Smoked Turkey and Havarti Cheese</option>
<option value="chipotle-chicken">Chipotle Chicken Sandwich</option>
<option value="chicken-club">Honey Mustard Chicken Club</option>
<option value="loaded-sub">Fully Loaded Sub</option>
<option value="tom-mozz-avo">Tomato-Mozzarella-Avocado Sandwich (Vegetarian)</option>
<option value="cobb-salad">Cobb Salad (chicken, egg, avocado, cheese)</option>
<option value="none-of-the-above">None of the bove (explain in dietary modifications)</option>
</select>
<span asp-validation-for="Swag.Lunch" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Swag.LunchModifications" class="control-label"></label>
<textarea asp-for="Swag.LunchModifications" class="form-control"></textarea>
<span asp-validation-for="Swag.LunchModifications" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Swag.ShirtSize" class="control-label"></label>
<select asp-for="Swag.ShirtSize" class="form-control">
<select asp-for="Swag.ShirtSize" class="form-control" required>
<option value="MS">Mens' Small</option>
<option value="MM">Mens' Medium</option>
<option value="ML">Mens' Large</option>
Expand All @@ -65,6 +53,31 @@ else
</select>
<span asp-validation-for="Swag.ShirtSize" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Swag.Lunch" class="control-label"></label>
<br /><input asp-for="Swag.Lunch" type="radio" value="smoked-turkey" required/> Smoked Turkey and Havarti Cheese
<div class="food-option-description">Smoked turkey on freshly baked ciabatta with creamy havarti cheese, pesto-balsamic aioli, mixed greens and tomato.</div>
<br /><input asp-for="Swag.Lunch" type="radio" value="chipotle-chicken" /> Chipotle Chicken Sandwich
<div class="food-option-description">Chicken breast, avocado and pepper jack cheese on a baguette with chipotle mayonnaise, roasted peppers, lettuce and onion.</div>
<br /><input asp-for="Swag.Lunch" type="radio" value="chicken-club" /> Honey Mustard Chicken Club
<div class="food-option-description">Roasted chicken breast with a creamy honey mustard sauce, crisp bacon, Swiss cheese, gourmet greens and sliced tomato. Comes on a fresh baked brioche roll.</div>
<br /><input asp-for="Swag.Lunch" type="radio" value="loaded-sub" /> Fully Loaded Sub
<div class="food-option-description">Italian salami, roast turkey, ham, pepperjack cheese, cheddar cheese, sliced kalamata olives, sliced pepperoncini and tomato. Served on a fresh baguette with a side of Italian vinaigrette.</div>
<br /><input asp-for="Swag.Lunch" type="radio" value="tom-mozz-avo" /> Tomato-Mozzarella-Avocado Sandwich (Vegetarian)
<div class="food-option-description">Served on a freshly baked whole wheat ciabatta with pesto-balsamic aioli and leaf lettuce.</div>
<br /><input asp-for="Swag.Lunch" type="radio" value="cobb-salad" /> Cobb Salad
<div class="food-option-description">Lemon and herb marinated chicken breast, avocado, bleu cheese, bacon, tomato, scallions, and hard-boiled egg on mixed greens. Served with vinaigrette dressing.</div>
<br /><input asp-for="Swag.Lunch" type="radio" value="none-of-the-above" /> I cannot eat any of these
jenetlan marked this conversation as resolved.
Show resolved Hide resolved
<div class="food-option-description">If you cannot have any of the options offered due to dietary restrictions, please describe them in the box below and we'll reach out to you about an alternative. If modifying one of the above options will work for you, please select that option and describe the required changes in the box below.</div>
<br /><input asp-for="Swag.Lunch" type="radio" value="none-of-the-above" /> I do not want any food, thanks
<div class="food-option-description">If you choose this option you will NOT get food on the day of the event.</div>
<span asp-validation-for="Swag.Lunch" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Swag.LunchModifications" class="control-label"></label>
<textarea asp-for="Swag.LunchModifications" class="form-control"></textarea>
<span asp-validation-for="Swag.LunchModifications" class="text-danger"></span>
</div>
@if (isEditable)
{
<div class="form-group">
Expand Down