CSOL-site/views/landing/after-school-matters.html

65 строки
2.8 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2013-06-28 17:12:01 +04:00
{% extends 'info/layout.html' %}
{% set pageTitle = 'After School Matters' %}
{% set navItem = 'asm' %}
{% set bodyClass = 'asm' %}
{% block content %}
<div class="lead">
2013-07-02 21:31:25 +04:00
<p><a href="http://www.afterschoolmatters.org/about">After School Matters&reg;</a> is a non-profit organization that offers Chicago high school teens innovative out-of-school activities through Science, Sports, Tech, Words and nationally recognized Gallery programs.</p>
2013-07-16 17:32:33 +04:00
<p>Check out the variety of programs offered by After School Matters as part of the Chicago Summer of Learning below. You can contact 312-742-4182 to learn more and enroll in programs that excite you.</p>
2013-06-28 17:12:01 +04:00
</div>
2013-07-16 20:27:48 +04:00
{% if filters %}
<div class="navbar filter">
<form class="navbar-inner navbar-form form-inline text-left" method="get">
{% for k,filter in filters %}
<div class="selectWrapper{% if not filter.options %} text{% endif %}">
<label for="filter-{{ filter.class }}" class="filter-icon filter-{{ filter.class }}">{{ filter.label }}</label>
{% if filter.options %}
<select id="filter-{{ filter.name }}" name="{{ filter.name }}" class="input-small{% if filter.class %} {{ filter.class }}{% endif %}">
<option value="">{{ filter.label }}</option>
{% for item in filter.options %}
<option value="{{ item }}"{% if filter.value == item %} selected="selected"{% endif %}>{{ item }}</option>
{% endfor %}
</select>
{% endif %}
</div>
{% endfor %}
<input type="submit" value="Update" class="btn">
</form>
</div>
{% endif %}
2013-07-16 18:10:25 +04:00
<div class="row">
2013-07-16 20:27:48 +04:00
{% for program in programs %}
2013-07-16 18:10:25 +04:00
{% if loop.index == 1 or loop.index == split_column_number %}
<div class="span6">
<ul class="orgs unstyled">
{% endif %}
2013-07-16 20:27:48 +04:00
{% if program.region != 'Cancelled' %}
<li>
<h4>
2013-07-16 20:27:48 +04:00
<a data-toggle="collapse" data-target="#collapse-{{rowloop.index}}-{{loop.index}}">{{program.program_name}}</a>
<small>
2013-07-16 20:27:48 +04:00
{{program.start}} - {{program.end}}
&bull; STEAM: {{program.steam}}
</small>
</h4>
<div id="collapse-{{rowloop.index}}-{{loop.index}}" class="collapse">
<p>
2013-07-16 20:27:48 +04:00
{{program.program_description}}
</p>
<div class="meta">
2013-07-16 20:27:48 +04:00
<p><strong>Region:</strong> {{program.region}}</p>
<p><strong>Specialist:</strong> {{program.program_specialist}}</p>
<p><strong>Organization:</strong> {{program.organization_name}}</p>
2013-06-29 01:06:36 +04:00
</div>
</div>
</li>
{% endif %}
2013-07-16 18:10:25 +04:00
{% if loop.index == (split_column_number - 1) %}
</ul>
</div>
{% endif %}
{% endfor %}
2013-06-28 17:12:01 +04:00
</ul>
2013-07-16 18:10:25 +04:00
</div>
</div>
2013-06-28 17:12:01 +04:00
{% endblock %}