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;
91 @media screen and (max-width: 1023px) {
98 @media screen and (min-width: 1024px) {
100 border-left: 1px solid #ddd;
107 .twocol > form, .twocol > div {
115 <div class="white-box normal-text">
117 <h1>Wspieraj Wolne Lektury</h1>
118 <h2 style="margin-bottom:2em;">
119 {% 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>
121 {% chunk 'club_form_top' %}
124 <form method="POST" action="" id="payment-form" class="wlform">
126 <h3>Zadeklaruj, jak często i jaką kwotą chcesz nas wspierać:</h3>
128 <ul class="errorlist">
129 {% for e in form.non_field_errors %}
132 {% for e in form.plan.errors %}
135 {% for e in form.amount.errors %}
143 <span class="button plan-toggle" data-plan="plan-single" data-monthly="False">jednorazowo</span>
144 <span class="button plan-toggle active" data-plan="plan-monthly" data-monthly="True">miesięcznie</span>
147 <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 }}">
148 {% for amount in club.proposed_single_amounts %}
149 <span class="button kwota{% if amount == club.default_single_amount %} active{% endif %}{% if amount >= club.min_for_year %} yearly{% endif %}">{{ amount }}</span>
153 <span class="button">inna kwota</span>
154 <input type="number" min="{{ club.min_amount }}">
159 <div class="plan" id="plan-monthly" data-monthly="True" data-amount="{{ club.default_monthly_amount }}">
160 {% for amount in club.proposed_monthly_amounts %}
161 <span class="button kwota{% if amount == club.default_monthly_amount %} active{% endif %}">{{ amount }}</span>
165 <span class="button">inna kwota</span>
166 <input type="number" min="{{ club.min_amount }}">
171 Podaj nam swój adres e-mail, żebyśmy mogli się z Tobą skontaktować:
176 <button class="submit" type='submit'>Dołącz</button>
179 <div class="club-form-info">
181 <div class="ambassador">
184 {{ ambassador.text }}
186 <div style="font-size: 1.2em">{{ ambassador.name }}</div>
188 {% if ambassador.photo %}
189 <img src="{% thumbnail ambassador.photo "100x100" as thumb %}{{ thumb.url }}{% empty %}{{ ambassador.photo.url }}{% endthumbnail %}">
193 <div class="chunk-alt">
194 <div class="chunk chunk-monthly">
195 {% chunk 'club-form-info-monthly' %}
197 <div class="chunk chunk-single" style="display: none;">
198 {% chunk 'club-form-info-single' %}
200 <div class="chunk chunk-single-year" style="display: none;">
201 {% chunk 'club-form-info-single-year' %}