You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
6.0 KiB
61 lines
6.0 KiB
<div class="modal__item modal__login">
|
|
<button class="modal__close">
|
|
<img src="/wp-content/themes/cosmopet/static/img/svg/main/black-x.svg" alt="">
|
|
</button>
|
|
|
|
<div class="login_wrap login_forms">
|
|
<div class="login_inner step active">
|
|
<h2 class="login_title">{% if site_region == 'ru' %}Войти или зарегистрироваться{% elseif site_region == 'ae' %}Log in or register{% endif %}</h2>
|
|
<div class="login_subtitle">{% if site_region == 'ru' %}Подтвердите свой e-mail в письме{% elseif site_region == 'ae' %}Confirm your email in the letter{% endif %}</div>
|
|
<div class="login_input js-input-email">
|
|
<input type="text" name="email" placeholder="example@example.com"/>
|
|
<div class="login_error"></div>
|
|
</div>
|
|
<button class="login_btn btn_gradient js-get-code">{% if site_region == 'ru' %}Получить код{% elseif site_region == 'ae' %}Get code{% endif %}</button>
|
|
|
|
{{ function('tgWidget') }}
|
|
</div>
|
|
<div class="login_inner step">
|
|
<div class="login_back">
|
|
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="32" height="32" rx="16" fill="#121212"/><path d="M8.5 16.3633H25" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M8.5 16.3633L14.864 22.7272" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M8.5 16.3633L14.864 9.99932" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
</div>
|
|
<h2 class="login_title">{% if site_region == 'ru' %}Введите код{% elseif site_region == 'ae' %}Enter code{% endif %}</h2>
|
|
|
|
<div class="login_subtitle">{% if site_region == 'ru' %}Код отправленный на e-mail{% elseif site_region == 'ae' %}Code sent to email{% endif %}:<span class="sended_email"></span></div>
|
|
|
|
<div class="login_input js-input-code">
|
|
<input type="text" name="code" placeholder="0000"/>
|
|
<div class="login_error"></div>
|
|
</div>
|
|
<div class="login_timer">{% if site_region == 'ru' %}Запросить новый код{% elseif site_region == 'ae' %}Request new code{% endif %}: <span class="seconds">15</span> {% if site_region == 'ru' %}секунд{% elseif site_region == 'ae' %}seconds{% endif %}</div>
|
|
<button class="login_btn btn_gradient js-repeat-code">{% if site_region == 'ru' %}Запросить новый код{% elseif site_region == 'ae' %}Request new code{% endif %}</button>
|
|
|
|
</div>
|
|
<div class="login_privacy">
|
|
{% if site_region == 'ru' %}Нажимая на кнопку «Получить код», я даю согласие на обработку моих персональных данных в соответствии с <a href="/privacy-policy">политикой обработки персональных данных{% elseif site_region == 'ae' %}By clicking the "Get code" button, I consent to the processing of my personal data in accordance with the <a href="/privacy-policy">personal data processing policy</a>{% endif %}
|
|
</div>
|
|
|
|
</div>
|
|
<div class="login_wrap login_success hide">
|
|
<div class="login_inner active">
|
|
<h2 class="login_title">{% if site_region == 'ru' %}Спасибо<br />за авторизацию{% elseif site_region == 'ae' %}Thank you for authorizing!{% endif %}</h2>
|
|
|
|
<div class="login_subtitle">{% if site_region == 'ru' %}Теперь вы можете получать промокоды за покупки.{% elseif site_region == 'ae' %}Now you can receive promo codes for purchases.{% endif %}</div>
|
|
|
|
<img src="<?php bloginfo('template_url');?>/images/people.png" alt=""/>
|
|
<a href="/my-account" class="login_btn account_link">{% if site_region == 'ru' %}Заполнить профиль{% elseif site_region == 'ae' %}Fill out profile{% endif %}</a>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="login_wrap login_auth hide">
|
|
<div class="login_inner active">
|
|
<h2 class="login_title --text-center">
|
|
{% if site_region == 'ru' %}Вы вошли в систему{% elseif site_region == 'ae' %}You have logged in{% endif %}</h2>
|
|
|
|
<img src="<?php bloginfo('template_url');?>/images/people.png" alt=""/>
|
|
<a href="/my-account" class="login_btn account_link">{% if site_region == 'ru' %}Профиль{% elseif site_region == 'ae' %}Profile{% endif %}</a>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div> |