From: Radek Czajka <rczajka@rczajka.pl> Date: Tue, 16 Jun 2020 15:46:46 +0000 (+0200) Subject: Payment form fixes. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/ae7d3570e012528e56af74b91e7ad120df0cb2cc?ds=inline Payment form fixes. --- diff --git a/src/club/templates/club/membership_form.html b/src/club/templates/club/membership_form.html index 36cd0528a..36dcb6693 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -26,7 +26,7 @@ padding: 0 5px; } .methods img { height: 30px; -margin-right: 10px; +margin-right: 5px; vertical-align: middle; } .payment-method.disabled { @@ -43,10 +43,11 @@ vertical-align: middle; border: 1px solid black; background: none; cursor: pointer; - padding: 10px 0; + padding: 0; margin-right: 3%; margin-bottom: 10px; line-height: 3em; + font-size: 20px; } .plan-toggle { width: 46.5%; @@ -80,8 +81,7 @@ vertical-align: middle; } .kwota.active, .plan-toggle.active { - background: black; - color: white; + background: #b2ce1f; } .inna input {display: none;} .inna.active input {display: inline;} diff --git a/src/club/templates/club/payment/payu-re.html b/src/club/templates/club/payment/payu-re.html index b81c3aad5..781577c69 100644 --- a/src/club/templates/club/payment/payu-re.html +++ b/src/club/templates/club/payment/payu-re.html @@ -1,4 +1,7 @@ {% load static %} +<span style="vertical-align: bottom; padding-right: 5px; font-size: 12px"> + Bezpieczne wpÅaty +</span> <img src="{% static 'club/payu/payu.png' %}"> <img src="{% static 'club/visa-100.png' %}"> <img src="{% static 'club/mastercard.png' %}"> diff --git a/src/club/templates/club/payment/payu.html b/src/club/templates/club/payment/payu.html index e500424ab..634f01704 100644 --- a/src/club/templates/club/payment/payu.html +++ b/src/club/templates/club/payment/payu.html @@ -1,4 +1,7 @@ {% load static %} +<span style="vertical-align: bottom; padding-right: 5px; font-size: 12px;"> + Bezpieczne wpÅaty +</span> <img src="{% static 'club/payu/payu.png' %}"> <img src="{% static 'club/payu/blik.png' %}"> <img src="{% static 'club/visa-100.png' %}"> diff --git a/src/wolnelektury/templates/base/superbase.html b/src/wolnelektury/templates/base/superbase.html index 33344bd52..13cf50d52 100644 --- a/src/wolnelektury/templates/base/superbase.html +++ b/src/wolnelektury/templates/base/superbase.html @@ -120,11 +120,8 @@ <li{% if active_menu_item == 'audiobooks' %} class="active"{% endif %}> <a href="{% url 'audiobook_list' %}">{% trans "Audiobooks" %}</a> </li> - {% url 'subscribe' as u %} - <li{% if request.path == u %} class="active"{% endif %}> - <a href="{{ u }}"> - {% trans "Newsletter" %} - </a> + <li{% if active_menu_item == 'all_works' %} class="active"{% endif %}> + <a href="{% url 'catalogue' %}">{% trans "All works" %}</a> </li> </ul> </nav>