lfs-theme 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. lfs_theme/__init__.py +1 -0
  2. lfs_theme/locale/cs/LC_MESSAGES/django.mo +0 -0
  3. lfs_theme/locale/cs/LC_MESSAGES/django.po +1299 -0
  4. lfs_theme/locale/de/LC_MESSAGES/django.mo +0 -0
  5. lfs_theme/locale/de/LC_MESSAGES/django.po +1466 -0
  6. lfs_theme/locale/en/LC_MESSAGES/django.mo +0 -0
  7. lfs_theme/locale/en/LC_MESSAGES/django.po +1083 -0
  8. lfs_theme/locale/es/LC_MESSAGES/django.mo +0 -0
  9. lfs_theme/locale/es/LC_MESSAGES/django.po +1100 -0
  10. lfs_theme/locale/es_MX/LC_MESSAGES/django.mo +0 -0
  11. lfs_theme/locale/es_MX/LC_MESSAGES/django.po +1236 -0
  12. lfs_theme/locale/fr/LC_MESSAGES/django.mo +0 -0
  13. lfs_theme/locale/fr/LC_MESSAGES/django.po +1223 -0
  14. lfs_theme/locale/it/LC_MESSAGES/django.mo +0 -0
  15. lfs_theme/locale/it/LC_MESSAGES/django.po +1267 -0
  16. lfs_theme/locale/nl/LC_MESSAGES/django.mo +0 -0
  17. lfs_theme/locale/nl/LC_MESSAGES/django.po +1113 -0
  18. lfs_theme/locale/pl/LC_MESSAGES/django.mo +0 -0
  19. lfs_theme/locale/pl/LC_MESSAGES/django.po +1285 -0
  20. lfs_theme/locale/ro/LC_MESSAGES/django.mo +0 -0
  21. lfs_theme/locale/ro/LC_MESSAGES/django.po +1108 -0
  22. lfs_theme/locale/ru/LC_MESSAGES/django.mo +0 -0
  23. lfs_theme/locale/ru/LC_MESSAGES/django.po +1107 -0
  24. lfs_theme/locale/zh_CN/LC_MESSAGES/django.mo +0 -0
  25. lfs_theme/locale/zh_CN/LC_MESSAGES/django.po +1138 -0
  26. lfs_theme/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  27. lfs_theme/locale/zh_TW/LC_MESSAGES/django.po +1139 -0
  28. lfs_theme/navigation.py +81 -0
  29. lfs_theme/package-lock.json +503 -0
  30. lfs_theme/package.json +23 -0
  31. lfs_theme/static/lfs_theme/css/lfs_theme.css +1 -0
  32. lfs_theme/static/lfs_theme/img/favicon.svg +1 -0
  33. lfs_theme/static/lfs_theme/js/addons/bulk_prices.js +26 -0
  34. lfs_theme/static/lfs_theme/js/addons/carousel.js +8 -0
  35. lfs_theme/static/lfs_theme/js/cart.js +49 -0
  36. lfs_theme/static/lfs_theme/js/checkout.js +72 -0
  37. lfs_theme/static/lfs_theme/js/main.js +229 -0
  38. lfs_theme/static/lfs_theme/js/product.js +136 -0
  39. lfs_theme/static/lfs_theme/js/rating.js +24 -0
  40. lfs_theme/static/lfs_theme/scss/_added-to-cart.scss +73 -0
  41. lfs_theme/static/lfs_theme/scss/_base.scss +71 -0
  42. lfs_theme/static/lfs_theme/scss/_breadcrumbs.scss +23 -0
  43. lfs_theme/static/lfs_theme/scss/_breakpoints.scss +18 -0
  44. lfs_theme/static/lfs_theme/scss/_cart.scss +83 -0
  45. lfs_theme/static/lfs_theme/scss/_checkout.scss +130 -0
  46. lfs_theme/static/lfs_theme/scss/_colors.scss +15 -0
  47. lfs_theme/static/lfs_theme/scss/_footer.scss +84 -0
  48. lfs_theme/static/lfs_theme/scss/_header.scss +82 -0
  49. lfs_theme/static/lfs_theme/scss/_menu.scss +290 -0
  50. lfs_theme/static/lfs_theme/scss/_one-page-checkout.scss +75 -0
  51. lfs_theme/static/lfs_theme/scss/_portlets.scss +51 -0
  52. lfs_theme/static/lfs_theme/scss/_product-cards.scss +97 -0
  53. lfs_theme/static/lfs_theme/scss/_product-page.scss +398 -0
  54. lfs_theme/static/lfs_theme/scss/_rating.scss +73 -0
  55. lfs_theme/static/lfs_theme/scss/_search.scss +52 -0
  56. lfs_theme/static/lfs_theme/scss/_swiper.scss +56 -0
  57. lfs_theme/static/lfs_theme/scss/bootstrap-custom.scss +20 -0
  58. lfs_theme/static/lfs_theme/scss/lfs_theme.scss +17 -0
  59. lfs_theme/static/lfs_theme/vendor/bootstrap/bootstrap.bundle.min.js +7 -0
  60. lfs_theme/static/lfs_theme/vendor/bootstrap/bootstrap.bundle.min.js.map +1 -0
  61. lfs_theme/static/lfs_theme/vendor/bootstrap/bootstrap.min.css +5 -0
  62. lfs_theme/static/lfs_theme/vendor/bootstrap-icons/bootstrap-icons.css +2106 -0
  63. lfs_theme/static/lfs_theme/vendor/bootstrap-icons/bootstrap-icons.json +2080 -0
  64. lfs_theme/static/lfs_theme/vendor/bootstrap-icons/bootstrap-icons.min.css +5 -0
  65. lfs_theme/static/lfs_theme/vendor/bootstrap-icons/bootstrap-icons.scss +2118 -0
  66. lfs_theme/static/lfs_theme/vendor/bootstrap-icons/fonts/bootstrap-icons.woff +0 -0
  67. lfs_theme/static/lfs_theme/vendor/bootstrap-icons/fonts/bootstrap-icons.woff2 +0 -0
  68. lfs_theme/static/lfs_theme/vendor/htmx/htmx.min.js +1 -0
  69. lfs_theme/static/lfs_theme/vendor/swiper/swiper-bundle.min.css +13 -0
  70. lfs_theme/static/lfs_theme/vendor/swiper/swiper-bundle.min.js +14 -0
  71. lfs_theme/static/lfs_theme/vendor/swiper/swiper-bundle.min.js.map +1 -0
  72. lfs_theme/templates/404.html +14 -0
  73. lfs_theme/templates/500.html +8 -0
  74. lfs_theme/templates/lfs/addresses/address_form.html +8 -0
  75. lfs_theme/templates/lfs/addresses/address_view.html +35 -0
  76. lfs_theme/templates/lfs/base.html +182 -0
  77. lfs_theme/templates/lfs/cart/added_to_cart.html +101 -0
  78. lfs_theme/templates/lfs/cart/added_to_cart_items.html +102 -0
  79. lfs_theme/templates/lfs/cart/cart.html +22 -0
  80. lfs_theme/templates/lfs/cart/cart_inline.html +310 -0
  81. lfs_theme/templates/lfs/catalog/breadcrumbs.html +42 -0
  82. lfs_theme/templates/lfs/catalog/categories/category/default.html +30 -0
  83. lfs_theme/templates/lfs/catalog/categories/product/default.html +80 -0
  84. lfs_theme/templates/lfs/catalog/categories/product/products_navigation.html +50 -0
  85. lfs_theme/templates/lfs/catalog/category_base.html +45 -0
  86. lfs_theme/templates/lfs/catalog/packing_result.html +5 -0
  87. lfs_theme/templates/lfs/catalog/product_base.html +47 -0
  88. lfs_theme/templates/lfs/catalog/product_navigation.html +16 -0
  89. lfs_theme/templates/lfs/catalog/products/_product_properties.html +24 -0
  90. lfs_theme/templates/lfs/catalog/products/product_inline.html +566 -0
  91. lfs_theme/templates/lfs/catalog/sorting.html +17 -0
  92. lfs_theme/templates/lfs/catalog/top_level_categories.html +10 -0
  93. lfs_theme/templates/lfs/checkout/address_summary.html +11 -0
  94. lfs_theme/templates/lfs/checkout/checkout_cart_inline.html +204 -0
  95. lfs_theme/templates/lfs/checkout/empty_page_checkout.html +24 -0
  96. lfs_theme/templates/lfs/checkout/login.html +107 -0
  97. lfs_theme/templates/lfs/checkout/new_addresses.html +56 -0
  98. lfs_theme/templates/lfs/checkout/new_check_and_pay.html +117 -0
  99. lfs_theme/templates/lfs/checkout/new_payment_and_shipping.html +42 -0
  100. lfs_theme/templates/lfs/checkout/one_page_checkout.html +219 -0
  101. lfs_theme/templates/lfs/checkout/payment_inline.html +20 -0
  102. lfs_theme/templates/lfs/checkout/shipping_inline.html +23 -0
  103. lfs_theme/templates/lfs/checkout/stepper.html +20 -0
  104. lfs_theme/templates/lfs/checkout/thank_you_page.html +34 -0
  105. lfs_theme/templates/lfs/checkout/voucher_inline.html +32 -0
  106. lfs_theme/templates/lfs/contact/contact_form.html +43 -0
  107. lfs_theme/templates/lfs/contact/contact_form_sent.html +22 -0
  108. lfs_theme/templates/lfs/customer/account.html +15 -0
  109. lfs_theme/templates/lfs/customer/addresses.html +62 -0
  110. lfs_theme/templates/lfs/customer/base.html +30 -0
  111. lfs_theme/templates/lfs/customer/data.html +90 -0
  112. lfs_theme/templates/lfs/customer/email.html +29 -0
  113. lfs_theme/templates/lfs/customer/login.html +91 -0
  114. lfs_theme/templates/lfs/customer/order.html +21 -0
  115. lfs_theme/templates/lfs/customer/orders.html +83 -0
  116. lfs_theme/templates/lfs/customer/password.html +28 -0
  117. lfs_theme/templates/lfs/mail/contact_mail.html +28 -0
  118. lfs_theme/templates/lfs/mail/mail.css +35 -0
  119. lfs_theme/templates/lfs/mail/mail_html_footer.html +3 -0
  120. lfs_theme/templates/lfs/mail/mail_text_footer.html +2 -0
  121. lfs_theme/templates/lfs/mail/new_user_mail.html +17 -0
  122. lfs_theme/templates/lfs/mail/new_user_mail.txt +7 -0
  123. lfs_theme/templates/lfs/mail/new_user_mail_subject.txt +1 -0
  124. lfs_theme/templates/lfs/mail/order_details.html +299 -0
  125. lfs_theme/templates/lfs/mail/order_details.txt +63 -0
  126. lfs_theme/templates/lfs/mail/order_paid_mail.html +18 -0
  127. lfs_theme/templates/lfs/mail/order_paid_mail.txt +7 -0
  128. lfs_theme/templates/lfs/mail/order_paid_subject.txt +1 -0
  129. lfs_theme/templates/lfs/mail/order_received_mail.html +18 -0
  130. lfs_theme/templates/lfs/mail/order_received_mail.txt +8 -0
  131. lfs_theme/templates/lfs/mail/order_received_subject.txt +1 -0
  132. lfs_theme/templates/lfs/mail/order_sent_mail.html +18 -0
  133. lfs_theme/templates/lfs/mail/order_sent_mail.txt +8 -0
  134. lfs_theme/templates/lfs/mail/order_sent_subject.txt +1 -0
  135. lfs_theme/templates/lfs/mail/review_added_mail.html +44 -0
  136. lfs_theme/templates/lfs/mail/review_added_mail.txt +15 -0
  137. lfs_theme/templates/lfs/manufacturers/manufacturer.html +29 -0
  138. lfs_theme/templates/lfs/manufacturers/manufacturers.html +48 -0
  139. lfs_theme/templates/lfs/manufacturers/products.html +16 -0
  140. lfs_theme/templates/lfs/order/lfs_order_tmpl.html +229 -0
  141. lfs_theme/templates/lfs/page/page.html +41 -0
  142. lfs_theme/templates/lfs/page/pages.html +28 -0
  143. lfs_theme/templates/lfs/portlets/average_rating.html +18 -0
  144. lfs_theme/templates/lfs/portlets/cart.html +27 -0
  145. lfs_theme/templates/lfs/portlets/categories.html +22 -0
  146. lfs_theme/templates/lfs/portlets/category_children.html +14 -0
  147. lfs_theme/templates/lfs/portlets/delivery_time.html +21 -0
  148. lfs_theme/templates/lfs/portlets/featured.html +62 -0
  149. lfs_theme/templates/lfs/portlets/filter.html +197 -0
  150. lfs_theme/templates/lfs/portlets/forsale.html +63 -0
  151. lfs_theme/templates/lfs/portlets/latest.html +62 -0
  152. lfs_theme/templates/lfs/portlets/pages.html +22 -0
  153. lfs_theme/templates/lfs/portlets/portlet.html +1 -0
  154. lfs_theme/templates/lfs/portlets/recent_products.html +18 -0
  155. lfs_theme/templates/lfs/portlets/related_products.html +27 -0
  156. lfs_theme/templates/lfs/portlets/text_portlet.html +8 -0
  157. lfs_theme/templates/lfs/portlets/topseller.html +27 -0
  158. lfs_theme/templates/lfs/reviews/rating_mail.html +16 -0
  159. lfs_theme/templates/lfs/reviews/rating_mail.txt +8 -0
  160. lfs_theme/templates/lfs/search/livesearch_results.html +47 -0
  161. lfs_theme/templates/lfs/search/search_results.html +101 -0
  162. lfs_theme/templates/lfs/shipping/shipping_portlet.html +19 -0
  163. lfs_theme/templates/lfs/shipping/shipping_tag.html +13 -0
  164. lfs_theme/templates/lfs/shop/google_analytics_ecommerce.html +37 -0
  165. lfs_theme/templates/lfs/shop/google_analytics_tracking.html +11 -0
  166. lfs_theme/templates/lfs/shop/lfs_form.html +6 -0
  167. lfs_theme/templates/lfs/shop/menu.html +8 -0
  168. lfs_theme/templates/lfs/shop/robots.txt +17 -0
  169. lfs_theme/templates/lfs/shop/shop.html +113 -0
  170. lfs_theme/templates/lfs/shop/tabs.html +18 -0
  171. lfs_theme/templates/lfs_carousel/carousel.html +25 -0
  172. lfs_theme/templates/lfs_theme/addons/bulk_prices.html +34 -0
  173. lfs_theme/templates/lfs_theme/addons/bulk_prices_scripts.html +3 -0
  174. lfs_theme/templates/lfs_theme/addons/carousel.html +2 -0
  175. lfs_theme/templates/lfs_theme/addons/cookie_consent_body.html +3 -0
  176. lfs_theme/templates/lfs_theme/addons/cookie_consent_head.html +2 -0
  177. lfs_theme/templates/lfs_theme/addons/cookie_consent_link.html +2 -0
  178. lfs_theme/templates/lfs_theme/addons/cookie_consent_scripts.html +2 -0
  179. lfs_theme/templates/lfs_theme/addons/gtm/added_to_cart_script.html +1 -0
  180. lfs_theme/templates/lfs_theme/addons/gtm/begin_checkout_script.html +1 -0
  181. lfs_theme/templates/lfs_theme/addons/gtm/consent_script.html +2 -0
  182. lfs_theme/templates/lfs_theme/addons/gtm/gtm_noscript.html +1 -0
  183. lfs_theme/templates/lfs_theme/addons/gtm/gtm_script.html +1 -0
  184. lfs_theme/templates/lfs_theme/addons/gtm/purchase_script.html +1 -0
  185. lfs_theme/templates/lfs_theme/addons/gtm/view_item_list_script.html +1 -0
  186. lfs_theme/templates/lfs_theme/addons/gtm/view_item_script.html +1 -0
  187. lfs_theme/templates/lfs_theme/addons/samples.html +14 -0
  188. lfs_theme/templates/lfs_theme/addons/stripe_card_fields.html +25 -0
  189. lfs_theme/templates/lfs_theme/addons/stripe_scripts.html +3 -0
  190. lfs_theme/templates/lfs_theme/categories_footer.html +16 -0
  191. lfs_theme/templates/lfs_theme/mobile_menu.html +11 -0
  192. lfs_theme/templates/lfs_theme/mobile_menu_item.html +28 -0
  193. lfs_theme/templates/lfs_theme/og_image.html +11 -0
  194. lfs_theme/templates/lfs_theme/og_share_card.html +11 -0
  195. lfs_theme/templates/lfs_theme/star_rating.html +2 -0
  196. lfs_theme/templates/lfs_theme/top_nav.html +41 -0
  197. lfs_theme/templates/pagination/pagination.html +26 -0
  198. lfs_theme/templates/registration/password_reset_complete.html +31 -0
  199. lfs_theme/templates/registration/password_reset_confirm.html +62 -0
  200. lfs_theme/templates/registration/password_reset_done.html +28 -0
  201. lfs_theme/templates/registration/password_reset_email.html +15 -0
  202. lfs_theme/templates/registration/password_reset_form.html +38 -0
  203. lfs_theme/templates/reviews/already_rated.html +11 -0
  204. lfs_theme/templates/reviews/average_for_instance.html +7 -0
  205. lfs_theme/templates/reviews/review_form.html +72 -0
  206. lfs_theme/templates/reviews/review_preview.html +67 -0
  207. lfs_theme/templates/reviews/reviews_for_instance.html +36 -0
  208. lfs_theme/templates/reviews/thank_you.html +17 -0
  209. lfs_theme/templatetags/__init__.py +0 -0
  210. lfs_theme/templatetags/lfs_theme_tags.py +227 -0
  211. lfs_theme/tests/__init__.py +0 -0
  212. lfs_theme/tests/settings.py +86 -0
  213. lfs_theme/tests/test_addons.py +30 -0
  214. lfs_theme/tests/test_category_page.py +66 -0
  215. lfs_theme/tests/test_contact.py +24 -0
  216. lfs_theme/tests/test_layout.py +63 -0
  217. lfs_theme/tests/test_manufacturers.py +68 -0
  218. lfs_theme/tests/test_mobile_menu.py +32 -0
  219. lfs_theme/tests/test_navigation.py +145 -0
  220. lfs_theme/tests/test_organization.py +42 -0
  221. lfs_theme/tests/test_page.py +25 -0
  222. lfs_theme/tests/test_pages.py +22 -0
  223. lfs_theme/tests/test_product_group.py +131 -0
  224. lfs_theme/tests/test_product_images.py +103 -0
  225. lfs_theme/tests/test_star_rating.py +100 -0
  226. lfs_theme/tests/test_titles.py +60 -0
  227. lfs_theme/tests/urls.py +14 -0
  228. lfs_theme/tests/urls_without_theme.py +5 -0
  229. lfs_theme/urls.py +9 -0
  230. lfs_theme/views.py +20 -0
  231. lfs_theme-1.0.0.dist-info/METADATA +73 -0
  232. lfs_theme-1.0.0.dist-info/RECORD +235 -0
  233. lfs_theme-1.0.0.dist-info/WHEEL +5 -0
  234. lfs_theme-1.0.0.dist-info/licenses/LICENSE.txt +27 -0
  235. lfs_theme-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,219 @@
1
+ {% extends "lfs/base.html" %}
2
+ {% load i18n static lfs_tags crispy_forms_tags lfs_theme_tags %}
3
+
4
+ {% block title %}
5
+ {% trans 'Checkout' %} | {% site_name %}
6
+ {% endblock %}
7
+
8
+ {% block section %}checkout{% endblock %}
9
+
10
+ {% block breadcrumbs %}
11
+ {% breadcrumbs _("Checkout") %}
12
+ {% endblock %}
13
+
14
+ {% block wrapper %}
15
+ <div class="opc">
16
+ <h1>{% trans 'Checkout' %}</h1>
17
+ {% if checkout_form.errors %}
18
+ <div class="alert alert-danger form-errors">
19
+ {% trans "The operation could not be performed because one or more errors occurred. Please see below." %}
20
+ </div>
21
+ {% endif %}
22
+ <div>
23
+ <form class="checkout-form postal-address"
24
+ method="post"
25
+ data-url="{% url 'lfs_changed_checkout' %}"
26
+ novalidate>
27
+ {% csrf_token %}
28
+ <div class="row">
29
+ {# Invoice Address #}
30
+ <div class="col-12 col-md-6"
31
+ id="invoice-address-inline">
32
+ <div class="title">
33
+ {% trans 'Invoice address' %}
34
+ </div>
35
+ {{ invoice_address_inline|safe }}
36
+ </div>
37
+
38
+ {# Shipping Address #}
39
+ <div class="col-12 col-md-6">
40
+ <div class="title form-check">
41
+ <input type="checkbox" name="no_shipping" id="id_no_shipping" class="form-check-input">
42
+ <label for="id_no_shipping" class="form-check-label">{% trans 'Different shipping address' %}</label>
43
+ </div>
44
+ <div class="shipping-address" id="shipping-address-inline" hidden>
45
+ {{ shipping_address_inline|safe }}
46
+ </div>
47
+ </div>
48
+ </div>
49
+
50
+ {# Shipping #}
51
+ <div class="shipping">
52
+ <div class="title">{% trans 'Shipping' %}</div>
53
+ <div id="shipping-inline">
54
+ {{ shipping_inline|safe }}
55
+ </div>
56
+ </div>
57
+
58
+ {# Payment #}
59
+ <div class="payment">
60
+ <div id="payment-inline">
61
+ {{ payment_inline|safe }}
62
+ </div>
63
+ </div>
64
+
65
+ {% if display_credit_card %}
66
+ <div id="credit-card">
67
+ <div class="row">
68
+ <div class="col">
69
+ <span class="section-title">
70
+ {% trans 'Please enter your credit card information' %}
71
+ </span>
72
+ </div>
73
+ </div>
74
+ <div class="row">
75
+ <div class="col-12 col-lg-3">
76
+ <div class="field">
77
+ {{ credit_card_form.type.label_tag }}
78
+ {{ credit_card_form.type }}
79
+ </div>
80
+ </div>
81
+ </div>
82
+ <div class="row">
83
+ <div class="col-12 col-lg-3">
84
+ <div class="field">
85
+ {{ credit_card_form.owner.label_tag }}
86
+ {{ credit_card_form.owner }}
87
+ {{ credit_card_form.owner.errors }}
88
+ </div>
89
+ </div>
90
+ </div>
91
+ <div class="row">
92
+ <div class="col-12 col-lg-3">
93
+ <div class="field">
94
+ {{ credit_card_form.number.label_tag }}
95
+ {{ credit_card_form.number }}
96
+ {{ credit_card_form.number.errors }}
97
+ </div>
98
+ </div>
99
+ </div>
100
+ <div class="row">
101
+ <div class="col-12 col-lg-3">
102
+ <div class="field">
103
+ <label>{% trans "Expiration date" %}</label>
104
+ <div class="row">
105
+ <div class="col-6">
106
+ {{ credit_card_form.expiration_date_month }}
107
+ </div>
108
+ <div class="col-6">
109
+ {{ credit_card_form.expiration_date_year }}
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ <div class="row">
116
+ <div class="col-12 col-lg-3">
117
+ <div class="field">
118
+ {{ credit_card_form.verification.label_tag }}
119
+ {{ credit_card_form.verification }}
120
+ {{ credit_card_form.verification.errors }}
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ {% endif %}
126
+ {% if display_bank_account %}
127
+ <div id="bank-account">
128
+ <div class="row">
129
+ <div class="col">
130
+ <span class="section-title">
131
+ {% trans 'Please enter your bank information' %}
132
+ </span>
133
+ </div>
134
+ </div>
135
+ <div class="row">
136
+ <div class="col col-lg-3">
137
+ <div class="field">
138
+ {{ bank_account_form.account_number.label_tag }}
139
+ {{ bank_account_form.account_number }}
140
+ {{ bank_account_form.account_number.errors }}
141
+ </div>
142
+ </div>
143
+ </div>
144
+ <div class="row">
145
+ <div class="col col-lg-3">
146
+ <div class="field">
147
+ {{ bank_account_form.bank_identification_code.label_tag }}
148
+ {{ bank_account_form.bank_identification_code }}
149
+ {{ bank_account_form.bank_identification_code.errors }}
150
+ </div>
151
+ </div>
152
+ </div>
153
+ <div class="row">
154
+ <div class="col col-lg-3">
155
+ <div class="field">
156
+ {{ bank_account_form.bank_name.label_tag }}:
157
+ {{ bank_account_form.bank_name }}
158
+ {{ bank_account_form.bank_name.errors }}
159
+ </div>
160
+ </div>
161
+ </div>
162
+ <div class="row">
163
+ <div class="col col-lg-3">
164
+ <div class="field">
165
+ {{ bank_account_form.depositor.label_tag }}:
166
+ {{ bank_account_form.depositor }}
167
+ {{ bank_account_form.depositor.errors }}
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ {% endif %}
173
+
174
+ {# Message #}
175
+ <div class="title">{% trans 'Your message to us' %}</div>
176
+ <div class="col-md-6 checkout-message">
177
+ {{ checkout_form.message|as_crispy_field_no_label }}
178
+ </div>
179
+
180
+ {# Cart #}
181
+ <div id="cart-inline">
182
+ {{ cart_inline }}
183
+ </div>
184
+ {% if SHOP.confirm_toc %}
185
+ <div class="form-check">
186
+ <input class="form-check-input" type="checkbox" name="confirm_toc" id="id_confirm_toc">
187
+ <label class="form-check-label" for="id_confirm_toc">{% trans 'Please confirm our terms and conditions' %}</label>
188
+ {% if checkout_form.errors.confirm_toc %}
189
+ <div class="text-danger">{{ checkout_form.errors.confirm_toc }}</div>
190
+ {% endif %}
191
+ </div>
192
+ {% endif %}
193
+
194
+ <div class="col-12 text-end">
195
+ <button class="btn btn-primary btn-lg"
196
+ type="submit">
197
+ <i class="pe-2 bi bi-bag-check" aria-hidden="true"></i>
198
+ {% trans 'Buy now' %}
199
+ </button>
200
+ </div>
201
+
202
+ {% if request.user.is_anonymous %}
203
+ <input type="hidden"
204
+ name="is_anonymous"
205
+ value="1"/>
206
+ {% else %}
207
+ <input type="hidden"
208
+ name="is_anonymous"
209
+ value="0"/>
210
+ {% endif %}
211
+
212
+ </form>
213
+ </div>
214
+ </div>
215
+ {% endblock %}
216
+
217
+ {% block scripts %}
218
+ <script defer src="{% static 'lfs_theme/js/checkout.js' %}"></script>
219
+ {% endblock %}
@@ -0,0 +1,20 @@
1
+ {% load i18n %}
2
+ <div class="payment">
3
+ <div class="title">{% trans 'Payment' %}</div>
4
+ {% for payment_method in payment_methods %}
5
+ <div class="payment-method">
6
+ <div class="form-check">
7
+ <input type="radio"
8
+ name="payment_method"
9
+ class="update-checkout payment-methods payment-method-type-{{ payment_method.type }} form-check-input"
10
+ id="payment-method-{{ payment_method.id }}"
11
+ {% if payment_method.id == selected_payment_method.id %}checked="checked"{% endif %}
12
+ value="{{ payment_method.id }}"/>
13
+ <label for="payment-method-{{ payment_method.id }}">{{ payment_method.name }}</label>
14
+ </div>
15
+ <div class="text-muted payment-method-note">
16
+ {{ payment_method.description|safe }}
17
+ </div>
18
+ </div>
19
+ {% endfor %}
20
+ </div>
@@ -0,0 +1,23 @@
1
+ {% load i18n %}
2
+ <div class="shipping">
3
+ <div class="title">{% trans 'Shipping' %}</div>
4
+ {% for shipping_method in shipping_methods %}
5
+ <div class="row shipping-method">
6
+ <div class="col">
7
+ <div class="form-check">
8
+ <input type="radio"
9
+ name="shipping-method"
10
+ class="update-checkout form-check-input"
11
+ {% if shipping_method.id == selected_shipping_method.id %}checked="checked"{% endif %}
12
+ value="{{shipping_method.id}}"
13
+ id="shipping-method-{{shipping_method.id}}" />
14
+ <label class="form-check-label" for="shipping-method-{{shipping_method.id}}">{{ shipping_method.name }}</label>
15
+ </div>
16
+ </div>
17
+ <div class="col-1"></div>
18
+ <div class="col-11">
19
+ {{ shipping_method.description|safe }}
20
+ </div>
21
+ </div>
22
+ {% endfor %}
23
+ </div>
@@ -0,0 +1,20 @@
1
+ {% load i18n %}
2
+ {# The three steps of the checkout; ``step`` is the current one (1, 2, or 3). Earlier steps link back. #}
3
+ <ol class="stepper mt-5">
4
+ <li class="step {% if step == 1 %}active{% else %}completed{% endif %}"{% if step == 1 %} aria-current="step"{% endif %}>
5
+ {% if step > 1 %}<a href="{% url 'lfs_checkout_addresses' %}">{% endif %}
6
+ <span class="step-circle">1</span>
7
+ <span class="step-title">{% trans 'Addresses' %}</span>
8
+ {% if step > 1 %}</a>{% endif %}
9
+ </li>
10
+ <li class="step {% if step == 2 %}active{% elif step > 2 %}completed{% endif %}"{% if step == 2 %} aria-current="step"{% endif %}>
11
+ {% if step > 2 %}<a href="{% url 'lfs_checkout_payment_and_shipping' %}">{% endif %}
12
+ <span class="step-circle">2</span>
13
+ <span class="step-title">{% trans 'Shipping & payment' %}</span>
14
+ {% if step > 2 %}</a>{% endif %}
15
+ </li>
16
+ <li class="step {% if step == 3 %}active{% endif %}"{% if step == 3 %} aria-current="step"{% endif %}>
17
+ <span class="step-circle">3</span>
18
+ <span class="step-title">{% trans 'Review & order' %}</span>
19
+ </li>
20
+ </ol>
@@ -0,0 +1,34 @@
1
+ {% extends "lfs/base.html" %}
2
+ {% load lfs_theme_tags %}
3
+ {% load i18n lfs_tags %}
4
+
5
+ {% block title %}
6
+ {% trans 'Thank you!' %} | {% site_name %}
7
+ {% endblock %}
8
+
9
+ {% block section %}thank-you{% endblock %}
10
+
11
+ {% block breadcrumbs %}
12
+ {% breadcrumbs _("Thank you!") %}
13
+ {% endblock %}
14
+
15
+ {% block wrapper %}
16
+ <h1 class="mt-3">{% trans 'Thank you!' %}</h1>
17
+
18
+ <p>{% trans 'Soon you will get an order confirmation via E-Mail.' %}</p>
19
+
20
+ {% if order.get_pay_link %}
21
+ <p>
22
+ {% trans 'Please use the following link if you want to pay now' %}
23
+ </p>
24
+ <p>
25
+ <a class="pay-link"
26
+ href="{{ order.get_pay_link }}">{% trans 'Pay' %}</a>
27
+ </p>
28
+ <p>
29
+ {% trans 'You will find the same link on your order confirmation' %}
30
+ </p>
31
+ {% endif %}
32
+
33
+ {% addon_include "lfs_gtm" "lfs_theme/addons/gtm/purchase_script.html" %}
34
+ {% endblock %}
@@ -0,0 +1,32 @@
1
+ {% load i18n %}
2
+
3
+ <h2 class="title">
4
+ {% trans "Voucher code" %}
5
+ </h2>
6
+
7
+ <div class="row">
8
+ <div class="col-12 col-md-6">
9
+ <div class="input-group">
10
+ <input class="form-control"
11
+ type="text"
12
+ id="voucher"
13
+ name="voucher"
14
+ aria-label="{% trans 'Voucher code' %}" />
15
+ <button type="button" data-url="{% url 'lfs_set_voucher' %}"
16
+ class="btn btn-primary add-voucher">
17
+ {% trans "Apply" %}
18
+ </button>
19
+ </div>
20
+ <span class="voucher-message">
21
+ {{ voucher_message }}
22
+ </span>
23
+ </div>
24
+ {% if voucher_number %}
25
+ <div class="col-12 col-md-6 mt-3 mt-md-0 d-flex">
26
+ {% trans 'Your voucher code' %}: {{ voucher_number }}
27
+ <a href="{% url 'lfs_delete_voucher' %}" class="delete-voucher" aria-label="{% trans 'Remove voucher' %}">
28
+ <i class="bi bi-trash3-fill text-danger ms-2" aria-hidden="true"></i>
29
+ </a>
30
+ </div>
31
+ {% endif %}
32
+ </div>
@@ -0,0 +1,43 @@
1
+ {% extends "lfs/base.html" %}
2
+ {% load lfs_theme_tags %}
3
+ {% load i18n lfs_tags %}
4
+
5
+ {% block title %}
6
+ {% trans 'Contact form' %} | {% site_name %}
7
+ {% endblock %}
8
+
9
+ {% block section %}contact-form{% endblock %}
10
+
11
+ {% block head %}
12
+ {# The contact form has no admin fields for meta data, so the description is fixed here. #}
13
+ <meta name="description" content="{% trans "Questions? Write to us via the contact form, we will answer as soon as possible." %}">
14
+ <meta property="og:title" content="{% trans 'Contact form' %}">
15
+ <meta property="og:type" content="website">
16
+ {% include "lfs_theme/og_share_card.html" %}
17
+ {% endblock %}
18
+
19
+ {% block breadcrumbs %}
20
+ {% breadcrumbs _("Contact") %}
21
+ {% endblock %}
22
+
23
+ {% block content %}
24
+
25
+ <h1 class="first-heading">{% trans 'Contact form' %}</h1>
26
+ <p class="message">
27
+ {% trans 'Please leave us a message. We will answer as soon as possible.' %}
28
+ </p>
29
+
30
+ <form action="{% url 'lfs_contact_form' %}"
31
+ enctype="multipart/form-data"
32
+ method="post">
33
+
34
+ {% csrf_token %}
35
+ {% lfs_form form %}
36
+
37
+ <div class="buttons">
38
+ <button class="button emphasized left"
39
+ type="submit">{% trans 'Send' %}</button>
40
+ </div>
41
+ </form>
42
+
43
+ {% endblock %}
@@ -0,0 +1,22 @@
1
+ {% extends "lfs/base.html" %}
2
+ {% load lfs_theme_tags %}
3
+ {% load i18n lfs_tags %}
4
+
5
+ {% block title %}{% trans "Contact form" %} | {% site_name %}{% endblock %}
6
+ {% block section %}contact-form-sent{% endblock %}
7
+
8
+ {% block breadcrumbs %}
9
+ {% breadcrumbs _("Contact thank you") %}
10
+ {% endblock %}
11
+
12
+ {% block content %}
13
+ <h1 class="first-heading">{% trans 'Contact form' %}</h1>
14
+ <p class="message">
15
+ {% trans 'Thank you for your message. We will get back to you soon.' %}
16
+ </p>
17
+
18
+ <a class="button emphasized left"
19
+ href="{% url 'lfs_shop_view' %}">
20
+ {% trans 'Go on shopping' %}
21
+ </a>
22
+ {% endblock %}
@@ -0,0 +1,15 @@
1
+ {% extends "lfs/customer/base.html" %}
2
+ {% load i18n lfs_tags %}
3
+
4
+ {% block section %}my-account{% endblock %}
5
+
6
+ {% block breadcrumbs %}
7
+ {% breadcrumbs _("Your Account") %}
8
+ {% endblock %}
9
+
10
+ {% block content %}
11
+ <h1>{% trans "Welcome!" %}</h1>
12
+
13
+ {% trans "Welcome to your account. Here you can find your orders, you can change your addresses, email address and your password." %}
14
+
15
+ {% endblock %}
@@ -0,0 +1,62 @@
1
+ {% extends "lfs/customer/base.html" %}
2
+ {% load lfs_theme_tags %}
3
+ {% load i18n lfs_tags %}
4
+
5
+ {% block title %}
6
+ {% trans 'My Addresses' %} | {% site_name %}
7
+ {% endblock %}
8
+
9
+ {% block section %}my-addresses{% endblock %}
10
+
11
+ {% block breadcrumbs %}
12
+ {% breadcrumbs _("Change your addresses") %}
13
+ {% endblock %}
14
+
15
+ {% block content %}
16
+ <h1>{% trans 'Your addresses' %}</h1>
17
+
18
+ {% if form.errors %}
19
+ <div class="form-errors">
20
+ {% trans "The operation could not be performed because one or more errors occurred. Please see below." %}
21
+ </div>
22
+ {% endif %}
23
+
24
+ <form class="address-form postal-address"
25
+ action="{% url 'lfs_my_addresses' %}"
26
+ method="post"
27
+ invoice="{% url 'lfs_changed_invoice_country' %}"
28
+ shipping="{% url 'lfs_changed_shipping_country' %}">
29
+ {% csrf_token %}
30
+ <table class="lfs-default">
31
+ <thead>
32
+ <tr>
33
+ <td>
34
+ <h2>{% trans 'Invoice Address' %}</h2>
35
+ </td>
36
+ <td>
37
+ <h2>{% trans 'Shipping Address' %}</h2>
38
+ </td>
39
+ </tr>
40
+ </thead>
41
+ <tbody>
42
+ <tr>
43
+ <td id="invoice-address-inline">
44
+ {{ invoice_address_inline|safe }}
45
+ </td>
46
+ <td id="shipping-address-inline">
47
+ {{ shipping_address_inline|safe }}
48
+ </td>
49
+ </tr>
50
+ </tbody>
51
+ <tfoot>
52
+ <tr>
53
+ <td colspan="2">
54
+ <input class="lfs-default"
55
+ type="submit"
56
+ value="{% trans 'Save addresses' %}">
57
+ </td>
58
+ </tr>
59
+ </tfoot>
60
+ </table>
61
+ </form>
62
+ {% endblock %}
@@ -0,0 +1,30 @@
1
+ {% extends "lfs/base.html" %}
2
+ {% load i18n lfs_tags %}
3
+
4
+ {% block wrapper %}
5
+ <div class="span-5">
6
+ {% block left-slot %}
7
+ <h1>{% trans 'My account' %}</h1>
8
+ <ul class="navigation-body">
9
+ <li>
10
+ <a href="{% url 'lfs_my_account' %}">{% trans 'Overview' %}</a>
11
+ </li>
12
+ <li>
13
+ <a href="{% url 'lfs_my_orders' %}">{% trans 'Your orders' %}</a>
14
+ </li>
15
+ <li>
16
+ <a href="{% url 'lfs_my_password' %}">{% trans 'Change password' %}</a>
17
+ </li>
18
+ <li>
19
+ <a href="{% url 'lfs_my_email' %}">{% trans 'Change e-mail' %}</a>
20
+ </li>
21
+ <li>
22
+ <a href="{% url 'lfs_my_addresses' %}">{% trans 'Change addresses' %}</a>
23
+ </li>
24
+ </ul>
25
+ {% endblock %}
26
+ </div>
27
+ <div class="span-19 last">
28
+ {% block content %}{% endblock %}
29
+ </div>
30
+ {% endblock %}
@@ -0,0 +1,90 @@
1
+ {% extends "lfs/base.html" %}
2
+ {% load i18n lfs_tags %}
3
+
4
+ {% block wrapper %}
5
+ <h1>{% trans 'Your Data' %}</h1>
6
+
7
+ <h2>{% trans 'E-Mail' %}</h2>
8
+ <form action="{% url 'lfs_save_email' %}"
9
+ method="post">
10
+ <table>
11
+ {{email_form}}
12
+ </table>
13
+
14
+ <input type="hidden"
15
+ name="action"
16
+ value="email" />
17
+
18
+ <input class="lfs-default"
19
+ type="submit"
20
+ value="{% trans 'Save e-mail address' %}">
21
+ </form>
22
+
23
+ {% if show_shipping_address %}
24
+ <h2>{% trans 'Addresses' %}</h2>
25
+ {% else %}
26
+ <h2>{% trans 'Address' %}</h2>
27
+ {% endif %}
28
+
29
+ <form action="{% url 'lfs_save_addresses' %}"
30
+ method="post">
31
+ <table class="lfs-default">
32
+ {% if show_shipping_address %}
33
+ <tr>
34
+ <td>
35
+ <h2>{% trans 'Invoice Address' %}</h2>
36
+ </td>
37
+ <td>
38
+ <h2>{% trans 'Shipping Address' %}</h2>
39
+ </td>
40
+ </tr>
41
+ {% endif %}
42
+ <tr>
43
+ <td>
44
+ <table>
45
+ {{invoice_address_form}}
46
+ </table>
47
+ </td>
48
+ {% if show_shipping_address %}
49
+ <td>
50
+ <table>
51
+ {{shipping_address_form}}
52
+ </table>
53
+ </td>
54
+ {% endif %}
55
+ </tr>
56
+ </table>
57
+ <input type="hidden"
58
+ name="action"
59
+ value="addresses" />
60
+
61
+ {% if show_shipping_address %}
62
+ <input class="lfs-default"
63
+ type="submit"
64
+ value="{% trans 'Save addresses' %}">
65
+ {% else %}
66
+ <input class="lfs-default"
67
+ type="submit"
68
+ value="{% trans 'Save address' %}">
69
+ {% endif %}
70
+
71
+ </form>
72
+
73
+ {% if bank_account_form %}
74
+ <h2>{% trans 'Bank account' %}</h2>
75
+
76
+ <form action="{% url 'lfs_my_data' %}"
77
+ method="post">
78
+ <table>
79
+ {{bank_account_form}}
80
+ </table>
81
+ <input type="hidden"
82
+ name="action"
83
+ value="bank_account" />
84
+ <input class="lfs-default"
85
+ type="submit"
86
+ value="{% trans 'Save bank account' %}">
87
+ </form>
88
+ {% endif %}
89
+
90
+ {% endblock %}
@@ -0,0 +1,29 @@
1
+ {% extends "lfs/customer/base.html" %}
2
+ {% load i18n lfs_tags %}
3
+
4
+ {% block breadcrumbs %}
5
+ {% breadcrumbs _("Change your e-mail address") %}
6
+ {% endblock %}
7
+
8
+ {% block content %}
9
+ <h1>{% trans 'Change your e-mail address' %}</h1>
10
+ <form action="{% url 'lfs_my_email' %}"
11
+ method="post">
12
+ {% csrf_token %}
13
+
14
+ <div class="form-wrapper">
15
+ <div class="form">
16
+ {% lfs_form email_form %}
17
+ </div>
18
+ </div>
19
+
20
+ <input type="hidden"
21
+ name="action"
22
+ value="email" />
23
+
24
+ <input class="lfs-default"
25
+ type="submit"
26
+ value="{% trans 'Save e-mail address' %}" />
27
+
28
+ </form>
29
+ {% endblock %}