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 %}
13 .payment-method.disabled {
15 filter: grayscale(100%);
19 box-sizing: border-box;
20 display: inline-block;
23 .kwota, .inna .button, .plan-toggle, .inna input {
24 border: 1px solid black;
52 height: 3em !important;
63 .kwota.active, .plan-toggle.active {
67 .inna input {display: none;}
68 .inna.active input {display: inline;}
69 .inna.active .button {display: none;}
74 border: 1px solid #ddd;
77 .ambassador.with-photo {
97 @media screen and (max-width: 1023px) {
104 @media screen and (min-width: 1024px) {
106 border-left: 1px solid #ddd;
113 .twocol > form, .twocol > div {
121 <div class="white-box normal-text">
123 <h1>Wspieraj Wolne Lektury</h1>
124 <h2 style="margin-bottom:2em;">
125 {% 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>
127 {% with schedule=request.user|active_schedule %}
129 <p><a href="{{ schedule.get_absolute_url }}">Zobacz swoje dotychczasowe wsparcie.</a></p>
133 {% chunk 'club_form_top' %}
136 <form method="POST" action="" id="payment-form" class="wlform">
138 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
140 <ul class="errorlist">
141 {% for e in form.non_field_errors %}
144 {% for e in form.plan.errors %}
147 {% for e in form.amount.errors %}
155 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
156 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
159 <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 }}">
160 {% for amount in club.proposed_single_amounts %}
161 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
165 <span class="button">inna kwota</span>
166 <input type="number" min="{{ club.min_amount }}">
171 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
172 {% for amount in club.proposed_monthly_amounts %}
173 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
177 <span class="button">inna kwota</span>
178 <input type="number" min="{{ club.min_amount }}">
183 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
188 <button class="submit" type='submit'>Dołącz</button>
191 <div class="club-form-info">
193 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
196 {{ ambassador.text }}
198 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
200 {% if ambassador.photo %}
201 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
205 <div class="chunk-alt">
206 <div class="chunk chunk-monthly">
207 {% chunk 'club-form-info-monthly' %}
209 <div class="chunk chunk-single" style="display: none;">
210 {% chunk 'club-form-info-single' %}
212 <div class="chunk chunk-single-year" style="display: none;">
213 {% chunk 'club-form-info-single-year' %}
219 {% chunk 'club_form_bottom' %}