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;}
70 padding: 2em 145px 2em 2em;
72 border: 1px solid #ddd;
92 @media screen and (max-width: 1023px) {
99 @media screen and (min-width: 1024px) {
101 border-left: 1px solid #ddd;
108 .twocol > form, .twocol > div {
116 <div class="white-box normal-text">
118 <h1>Wspieraj Wolne Lektury</h1>
119 <h2 style="margin-bottom:2em;">
120 {% 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>
122 {% chunk 'club_form_top' %}
125 <form method="POST" action="" id="payment-form" class="wlform">
127 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
129 <ul class="errorlist">
130 {% for e in form.non_field_errors %}
133 {% for e in form.plan.errors %}
136 {% for e in form.amount.errors %}
144 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
145 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
148 <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 }}">
149 {% for amount in club.proposed_single_amounts %}
150 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
154 <span class="button">inna kwota</span>
155 <input type="number" min="{{ club.min_amount }}">
160 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
161 {% for amount in club.proposed_monthly_amounts %}
162 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
166 <span class="button">inna kwota</span>
167 <input type="number" min="{{ club.min_amount }}">
172 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
177 <button class="submit" type='submit'>Dołącz</button>
180 <div class="club-form-info">
182 <div class="ambassador">
185 {{ ambassador.text }}
187 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
189 {% if ambassador.photo %}
190 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
194 <div class="chunk-alt">
195 <div class="chunk chunk-monthly">
196 {% chunk 'club-form-info-monthly' %}
198 <div class="chunk chunk-single" style="display: none;">
199 {% chunk 'club-form-info-single' %}
201 <div class="chunk chunk-single-year" style="display: none;">
202 {% chunk 'club-form-info-single-year' %}