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;
73 height: 3em !important;
84 .kwota.active, .plan-toggle.active {
87 .inna input {display: none;}
88 .inna.active input {display: inline;}
89 .inna.active .button {display: none;}
94 border: 1px solid #ddd;
97 .ambassador.with-photo {
117 @media screen and (max-width: 1023px) {
124 @media screen and (min-width: 1024px) {
126 border-left: 1px solid #ddd;
133 .twocol > form, .twocol > div {
141 <div class="white-box normal-text">
143 <h1>Wspieraj Wolne Lektury</h1>
144 <h2 style="margin-bottom:2em;">
145 {% 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>
147 {% with schedule=request.user|active_schedule %}
149 <p><a href="{{ schedule.get_absolute_url }}">Zobacz swoje dotychczasowe wsparcie.</a></p>
153 {% chunk 'club_form_top' %}
156 <form method="POST" action="" id="payment-form" class="wlform">
158 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
160 <ul class="errorlist">
161 {% for e in form.non_field_errors %}
164 {% for e in form.plan.errors %}
167 {% for e in form.amount.errors %}
174 <div class="plan-select">
175 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
176 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
179 <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 }}">
180 {% for amount in club.proposed_single_amounts %}
181 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
185 <span class="button">inna kwota</span>
186 <input type="number" min="{{ club.min_amount }}">
188 <div class="methods">{% include 'club/payment/payu.html' %}</div>
192 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
193 {% for amount in club.proposed_monthly_amounts %}
194 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
198 <span class="button">inna kwota</span>
199 <input type="number" min="{{ club.min_amount }}">
201 <div class="methods">{% include 'club/payment/payu-re.html' %}</div>
205 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
210 <button class="submit" type='submit'>Wpłać</button>
213 <div class="club-form-info">
215 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
218 {{ ambassador.text }}
220 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
222 {% if ambassador.photo %}
223 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
227 <div class="chunk-alt">
228 <div class="chunk chunk-monthly">
229 {% chunk 'club-form-info-monthly' %}
231 <div class="chunk chunk-single" style="display: none;">
232 {% chunk 'club-form-info-single' %}
234 <div class="chunk chunk-single-year" style="display: none;">
235 {% chunk 'club-form-info-single-year' %}
241 {% chunk 'club_form_bottom' %}