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>
155 <form method="POST" action="" id="payment-form" class="wlform">
158 {% chunk 'club_form_top' %}
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 %}
172 <h3>1. Wybierz rodzaj wsparcia</h3>
176 <div class="plan-select">
177 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
178 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
181 <h3>2. Wybierz kwotę</h3>
183 <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 }}">
184 {% for amount in club.proposed_single_amounts %}
185 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
189 <span class="button">inna kwota</span>
190 <input type="number" min="{{ club.min_amount }}">
192 <div class="methods">{% include 'club/payment/payu.html' %}</div>
196 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
197 {% for amount in club.proposed_monthly_amounts %}
198 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
202 <span class="button">inna kwota</span>
203 <input type="number" min="{{ club.min_amount }}">
205 <div class="methods">{% include 'club/payment/payu-re.html' %}</div>
208 <h3>3. Podaj adres e-mail</h3>
210 <p>{{ form.email }}</p>
213 {{ form.agree_newsletter }}
214 <label for="id_agree_newsletter">
215 Chcę dostawać informacje o nowościach
219 <p>W każdej chwili możesz zrezygnować z subskrypcji. Więcej w <a target="_blank" href="https://nowoczesnapolska.org.pl/prywatnosc/">polityce prywatności</a>.</p>
221 <div><button class="submit" type='submit'>Wpłać</button></div>
223 {% chunk 'club_form_bottom' %}
227 <div class="club-form-info">
229 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
232 {{ ambassador.text }}
234 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
236 {% if ambassador.photo %}
237 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
241 <div class="chunk-alt">
242 <div class="chunk chunk-monthly">
243 {% chunk 'club-form-info-monthly' %}
245 <div class="chunk chunk-single" style="display: none;">
246 {% chunk 'club-form-info-single' %}
248 <div class="chunk chunk-single-year" style="display: none;">
249 {% chunk 'club-form-info-single-year' %}