1 {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %}
5 {% block titleextra %}Uwalniaj książki razem z nami!{% endblock %}
6 {% block metadescription %}„Wolne Lektury należy wspierać, bo są” - Filip Springer{% endblock %}
12 .payment-method.disabled {
14 filter: grayscale(100%);
18 box-sizing: border-box;
19 display: inline-block;
22 .kwota, .inna .button, .plan-toggle, .inna input {
23 border: 1px solid black;
51 height: 3em !important;
62 .kwota.active, .plan-toggle.active {
66 .inna input {display: none;}
67 .inna.active input {display: inline;}
68 .inna.active .button {display: none;}
73 border: 1px solid #ddd;
76 .ambassador.with-photo {
96 @media screen and (max-width: 1023px) {
103 @media screen and (min-width: 1024px) {
105 border-left: 1px solid #ddd;
112 .twocol > form, .twocol > div {
120 <div class="white-box normal-text">
122 <h1>Wspieraj Wolne Lektury</h1>
123 <h2 style="margin-bottom:2em;">
124 {% 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>
126 {% chunk 'club_form_top' %}
129 <form method="POST" action="" id="payment-form" class="wlform">
131 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
133 <ul class="errorlist">
134 {% for e in form.non_field_errors %}
137 {% for e in form.plan.errors %}
140 {% for e in form.amount.errors %}
148 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
149 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
152 <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 }}">
153 {% for amount in club.proposed_single_amounts %}
154 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
158 <span class="button">inna kwota</span>
159 <input type="number" min="{{ club.min_amount }}">
164 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
165 {% for amount in club.proposed_monthly_amounts %}
166 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
170 <span class="button">inna kwota</span>
171 <input type="number" min="{{ club.min_amount }}">
176 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
181 <button class="submit" type='submit'>Dołącz</button>
184 <div class="club-form-info">
186 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
189 {{ ambassador.text }}
191 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
193 {% if ambassador.photo %}
194 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
198 <div class="chunk-alt">
199 <div class="chunk chunk-monthly">
200 {% chunk 'club-form-info-monthly' %}
202 <div class="chunk chunk-single" style="display: none;">
203 {% chunk 'club-form-info-single' %}
205 <div class="chunk chunk-single-year" style="display: none;">
206 {% chunk 'club-form-info-single-year' %}