1 {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %}
6 {% block titleextra %}Uwalniaj książki razem z nami!{% endblock %}
7 {% block metadescription %}„Wolne Lektury należy wspierać, bo są” - Filip Springer{% endblock %}
22 border: 1px solid #888;
24 display: inline-block;
30 vertical-align: middle;
32 .payment-method.disabled {
34 filter: grayscale(100%);
38 box-sizing: border-box;
39 display: inline-block;
42 .kwota, .inna .button, .plan-toggle, .inna input {
43 border: 1px solid black;
71 height: 3em !important;
82 .kwota.active, .plan-toggle.active {
86 .inna input {display: none;}
87 .inna.active input {display: inline;}
88 .inna.active .button {display: none;}
93 border: 1px solid #ddd;
96 .ambassador.with-photo {
116 @media screen and (max-width: 1023px) {
123 @media screen and (min-width: 1024px) {
125 border-left: 1px solid #ddd;
132 .twocol > form, .twocol > div {
140 <div class="white-box normal-text">
142 <h1>Wspieraj Wolne Lektury</h1>
143 <h2 style="margin-bottom:2em;">
144 {% if membership %}Dziękujemy za Twoje dotychczasowe zaangażowanie! Wesprzyj nas ponownie!{% else %}Dziękujemy, że chcesz razem z nami uwalniać książki!{% endif %}</h2>
146 {% with schedule=request.user|active_schedule %}
148 <p><a href="{{ schedule.get_absolute_url }}">Zobacz swoje dotychczasowe wsparcie.</a></p>
152 {% chunk 'club_form_top' %}
155 <form method="POST" action="" id="payment-form" class="wlform">
157 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
159 <ul class="errorlist">
160 {% for e in form.non_field_errors %}
163 {% for e in form.plan.errors %}
166 {% for e in form.amount.errors %}
173 <div class="plan-select">
174 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
175 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
178 <div class="plan" id="plan-single" style="display:none;" data-monthly="False" data-min-for-year="{{ club.min_for_year }}" data-amount="{{ club.default_single_amount }}">
179 {% for amount in club.proposed_single_amounts %}
180 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
184 <span class="button">inna kwota</span>
185 <input type="number" min="{{ club.min_amount }}">
187 <div class="methods">{% include 'club/payment/payu.html' %}</div>
191 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
192 {% for amount in club.proposed_monthly_amounts %}
193 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
197 <span class="button">inna kwota</span>
198 <input type="number" min="{{ club.min_amount }}">
200 <div class="methods">{% include 'club/payment/payu-re.html' %}</div>
204 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
209 <button class="submit" type='submit'>Wpłać</button>
212 <div class="club-form-info">
214 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
217 {{ ambassador.text }}
219 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
221 {% if ambassador.photo %}
222 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
226 <div class="chunk-alt">
227 <div class="chunk chunk-monthly">
228 {% chunk 'club-form-info-monthly' %}
230 <div class="chunk chunk-single" style="display: none;">
231 {% chunk 'club-form-info-single' %}
233 <div class="chunk chunk-single-year" style="display: none;">
234 {% chunk 'club-form-info-single-year' %}
240 {% chunk 'club_form_bottom' %}