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 %}
19 border: 1px solid #888;
21 display: inline-block;
27 vertical-align: middle;
29 .payment-method.disabled {
31 filter: grayscale(100%);
35 box-sizing: border-box;
36 display: inline-block;
39 .kwota, .inna .button, .plan-toggle, .inna input {
40 border: 1px solid black;
68 height: 3em !important;
79 .kwota.active, .plan-toggle.active {
83 .inna input {display: none;}
84 .inna.active input {display: inline;}
85 .inna.active .button {display: none;}
90 border: 1px solid #ddd;
93 .ambassador.with-photo {
113 @media screen and (max-width: 1023px) {
120 @media screen and (min-width: 1024px) {
122 border-left: 1px solid #ddd;
129 .twocol > form, .twocol > div {
137 <div class="white-box normal-text">
139 <h1>Wspieraj Wolne Lektury</h1>
140 <h2 style="margin-bottom:2em;">
141 {% 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>
143 {% with schedule=request.user|active_schedule %}
145 <p><a href="{{ schedule.get_absolute_url }}">Zobacz swoje dotychczasowe wsparcie.</a></p>
149 {% chunk 'club_form_top' %}
152 <form method="POST" action="" id="payment-form" class="wlform">
154 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
156 <ul class="errorlist">
157 {% for e in form.non_field_errors %}
160 {% for e in form.plan.errors %}
163 {% for e in form.amount.errors %}
171 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
172 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
175 <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 }}">
176 {% for amount in club.proposed_single_amounts %}
177 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
181 <span class="button">inna kwota</span>
182 <input type="number" min="{{ club.min_amount }}">
184 <div class="methods">{% include 'club/payment/payu.html' %}</div>
188 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
189 {% for amount in club.proposed_monthly_amounts %}
190 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
194 <span class="button">inna kwota</span>
195 <input type="number" min="{{ club.min_amount }}">
197 <div class="methods">{% include 'club/payment/payu-re.html' %}</div>
201 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
206 <button class="submit" type='submit'>Wpłać</button>
209 <div class="club-form-info">
211 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
214 {{ ambassador.text }}
216 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
218 {% if ambassador.photo %}
219 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
223 <div class="chunk-alt">
224 <div class="chunk chunk-monthly">
225 {% chunk 'club-form-info-monthly' %}
227 <div class="chunk chunk-single" style="display: none;">
228 {% chunk 'club-form-info-single' %}
230 <div class="chunk chunk-single-year" style="display: none;">
231 {% chunk 'club-form-info-single-year' %}
237 {% chunk 'club_form_bottom' %}