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;}
74 border: 1px solid #ddd;
93 @media screen and (max-width: 1023px) {
100 @media screen and (min-width: 1024px) {
102 border-left: 1px solid #ddd;
109 .twocol > form, .twocol > div {
117 <div class="white-box normal-text">
119 <h1>Wspieraj Wolne Lektury</h1>
120 <h2 style="margin-bottom:2em;">
121 {% 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>
123 {% chunk 'club_form_top' %}
126 <form method="POST" action="" id="payment-form" class="wlform">
128 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
130 <ul class="errorlist">
131 {% for e in form.non_field_errors %}
134 {% for e in form.plan.errors %}
137 {% for e in form.amount.errors %}
145 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
146 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
149 <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 }}">
150 {% for amount in club.proposed_single_amounts %}
151 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
155 <span class="button">inna kwota</span>
156 <input type="number" min="{{ club.min_amount }}">
161 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
162 {% for amount in club.proposed_monthly_amounts %}
163 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
167 <span class="button">inna kwota</span>
168 <input type="number" min="{{ club.min_amount }}">
173 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
178 <button class="submit" type='submit'>Dołącz</button>
181 <div class="club-form-info">
183 <div class="ambassador">
186 {{ ambassador.text }}
188 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
190 {% if ambassador.photo %}
191 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
195 <div class="chunk-alt">
196 <div class="chunk chunk-monthly">
197 {% chunk 'club-form-info-monthly' %}
199 <div class="chunk chunk-single" style="display: none;">
200 {% chunk 'club-form-info-single' %}
202 <div class="chunk chunk-single-year" style="display: none;">
203 {% chunk 'club-form-info-single-year' %}