T-Shirt stuff

This commit is contained in:
Christopher Neugebauer 2017-10-03 16:49:02 -07:00
parent 1df869613e
commit fdee3d4878
3 changed files with 119 additions and 3 deletions

View file

@ -66,7 +66,7 @@ class Command(BaseCommand):
name="T-Shirt",
description="Commemorative conference t-shirts, featuring secret "
"North Bay Python 2017 artwork. Details of sizing and "
"manufacturer are on our <a href='/attend/tshirts'>"
"manufacturer are on our <a href='/attend/tshirt'>"
"t-shirts page</a>",
required = False,
render_type=inv.Category.RENDER_TYPE_ITEM_QUANTITY,
@ -175,7 +175,7 @@ class Command(BaseCommand):
("S", "M", "L", "XL", "2XL", "3XL", "5XL"),
),
"womens_classic": ShirtGroup(
"Women's Classic Fit",
"Women's Relaxed Fit",
("XS", "S", "M", "L", "XL", "2XL", "3XL"),
),
"womens_semi": ShirtGroup(

View file

@ -0,0 +1,116 @@
{% extends "page_with_title_and_lede.html" %}
{% load i18n %}
{% block head_title %}T-Shirts{% endblock %}
{% block heading %}T-Shirt sizes and {% endblock %}
{% block body_class %}attend{% endblock %}
{% block lede %}
{% endblock %}
{% block content %}
<p>North Bay Python uses Gildan t-shirts, and this year's design will be available in a variety of colours that you can choose from when you collect your shirt. There are three varieties available:</p>
<ul>
<li>The Men's/Straight-Cut option is the <a href="http://www.mygildan.com/store/us/browse/productDetailsPage.jsp?productId=2000">Ultra Cotton "Classic Fit" shirt</a>.</li>
<li>The Women's Semi-Fitted option is the <a href="http://www.mygildan.com/store/us/browse/productDetailsPage.jsp?productId=5000L">Heavy Cotton Semi-Fitted Ladies' shirt</a></li>
<li>The Women's Relaxed Fit option is the <a href="http://www.mygildan.com/store/us/browse/productDetailsPage.jsp?productId=2000L">Ultra Cotton "Classic Fit" Ladies' shirt</a></li>
</ul>
<table class="table table-striped">
<tbody><tr>
<th></th>
<th colspan="2">XS</th>
<th colspan="2">S</th>
<th colspan="2">M</th>
<th colspan="2">L</th>
<th colspan="2">XL</th>
<th colspan="2">2XL</th>
<th colspan="2">3XL</th>
<th colspan="2">5XL</th>
</tr>
<tr>
<th></th>
<th>W</th>
<th>L</th>
<th>W</th>
<th>L</th>
<th>W</th>
<th>L</th>
<th>W</th>
<th>L</th>
<th>W</th>
<th>L</th>
<th>W</th>
<th>L</th>
<th>W</th>
<th>L</th>
<th>W</th>
<th>L</th>
</tr>
<tr>
<td>Men's / Straight Cut</td>
<td>-</td>
<td>-</td>
<td>18</td>
<td>28</td>
<td>20</td>
<td>29</td>
<td>22</td>
<td>30</td>
<td>24</td>
<td>31</td>
<td>26</td>
<td>32</td>
<td>28</td>
<td>33</td>
<td>32</td>
<td>35</td>
</tr>
<tr>
<td>Women's <br> Semi-Fitted</td>
<td>-</td>
<td>-</td>
<td>17&frac14;</td>
<td>25&frac12;</td>
<td>19&frac14;</td>
<td>26</td>
<td>21&frac14;</td>
<td>27</td>
<td>23.35</td>
<td>28</td>
<td>25&frac14;</td>
<td>28&frac12;</td>
<td>27&frac14;</td>
<td>29</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>Women's <br> Classic Fit</td>
<td>16</td>
<td>23&frac12;</td>
<td>18</td>
<td>25</td>
<td>20</td>
<td>26</td>
<td>22</td>
<td>27</td>
<td>24</td>
<td>28</td>
<td>26</td>
<td>29</td>
<td>28</td>
<td>30</td>
<td>-</td>
<td>-</td>
</tr>
</tbody></table>
{% endblock %}

View file

@ -35,7 +35,7 @@ urlpatterns = [
url(r"^attend/business-case$", TemplateView.as_view(template_name="static_pages/attend/business-case.html"), name="attend/business-case"),
url(r"^attend/travel$", TemplateView.as_view(template_name="static_pages/attend/travel.html"), name="attend/travel"),
url(r"^attend/hotels$", TemplateView.as_view(template_name="static_pages/attend/hotels.html"), name="attend/hotels"),
url(r"^attend/tshirts$", TemplateView.as_view(template_name="static_pages/attend/tshirts.html"), name="attend/tshirts"),
url(r"^attend/tshirt$", TemplateView.as_view(template_name="static_pages/attend/tshirt.html"), name="attend/tshirt"),
url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/code_of_conduct/code_of_conduct.html"), name="code-of-conduct"),
url(r"^code-of-conduct/harassment-incidents$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_attendee.html"), name="code-of-conduct/harassment-incidents"),