1 {% extends request.session.from_app|yesno:"base/app.html,base/base.html" %}
5 {% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %}
11 .payment-method.disabled {
13 filter: grayscale(100%);
17 box-sizing: border-box;
18 display: inline-block;
21 .kwota, .inna .button, .plan-toggle, .inna input {
22 border: 1px solid black;
50 height: 3em !important;
61 .kwota.active, .plan-toggle.active {
65 .inna input {display: none;}
66 .inna.active input {display: inline;}
67 .inna.active .button {display: none;}
72 border: 1px solid #ddd;
75 .ambassador.with-photo {
95 @media screen and (max-width: 1023px) {
102 @media screen and (min-width: 1024px) {
104 border-left: 1px solid #ddd;
111 .twocol > form, .twocol > div {
119 <div class="white-box normal-text">
121 <h1>Wspieraj Wolne Lektury</h1>
122 <h2 style="margin-bottom:2em;">
123 {% 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>
125 {% chunk 'club_form_top' %}
128 <form method="POST" action="" id="payment-form" class="wlform">
130 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
132 <ul class="errorlist">
133 {% for e in form.non_field_errors %}
136 {% for e in form.plan.errors %}
139 {% for e in form.amount.errors %}
147 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
148 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
151 <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 }}">
152 {% for amount in club.proposed_single_amounts %}
153 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
157 <span class="button">inna kwota</span>
158 <input type="number" min="{{ club.min_amount }}">
163 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
164 {% for amount in club.proposed_monthly_amounts %}
165 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
169 <span class="button">inna kwota</span>
170 <input type="number" min="{{ club.min_amount }}">
175 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
180 <button class="submit" type='submit'>Dołącz</button>
183 <div class="club-form-info">
185 <div class="ambassador {% if ambassador.photo %}with-photo{% endif %}">
188 {{ ambassador.text }}
190 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
192 {% if ambassador.photo %}
193 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
197 <div class="chunk-alt">
198 <div class="chunk chunk-monthly">
199 {% chunk 'club-form-info-monthly' %}
201 <div class="chunk chunk-single" style="display: none;">
202 {% chunk 'club-form-info-single' %}
204 <div class="chunk chunk-single-year" style="display: none;">
205 {% chunk 'club-form-info-single-year' %}