Vinoteca: wine shop on 1C-Bitrix (module, template, components, pages)
This commit is contained in:
commit
0590195880
593 files changed
+27942
No files matched your search
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
use Bitrix\Main\Localization\Loc;
|
||||
|
||||
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
|
||||
die();
|
||||
}
|
||||
|
||||
Loc::loadMessages(__FILE__);
|
||||
$this->addExternalCss("/local/components/jinove/auth.login/templates/.default/style.css");
|
||||
$uid = "vino-reg";
|
||||
?>
|
||||
<section class="vino-auth">
|
||||
<div class="vino-auth__aside">
|
||||
<p class="vino-auth__aside-title"><?= Loc::getMessage("VINO_REG_ASIDE_TITLE") ?></p>
|
||||
<ul class="vino-auth__perks">
|
||||
<li class="vino-auth__perk"><svg class="vino-auth__perk-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 21a8 8 0 0 0-16 0M12 13a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z"></path></svg><span class="vino-auth__perk-title"><?= Loc::getMessage("VINO_REG_PERK_PROFILE") ?></span></li>
|
||||
<li class="vino-auth__perk"><svg class="vino-auth__perk-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2h12l2 4v14H4V6l2-4ZM4 6h16M9 10h6"></path></svg><span class="vino-auth__perk-title"><?= Loc::getMessage("VINO_REG_PERK_ORDERS") ?></span></li>
|
||||
<li class="vino-auth__perk"><svg class="vino-auth__perk-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 12a8 8 0 0 1-11.5 7.2L4 20.5l1.3-4.7A8 8 0 1 1 21 12Z"></path></svg><span class="vino-auth__perk-title"><?= Loc::getMessage("VINO_REG_PERK_REVIEW") ?></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="vino-auth__card">
|
||||
<p class="vino-auth__kicker"><?= Loc::getMessage("VINO_REG_KICKER") ?></p>
|
||||
<h1 class="vino-auth__title"><?= Loc::getMessage("VINO_REG_TITLE") ?></h1>
|
||||
<p class="vino-auth__lead"><?= Loc::getMessage("VINO_REG_LEAD") ?></p>
|
||||
<p class="vino-auth__demo" role="note"><?= Loc::getMessage("VINO_REG_DEMO") ?></p>
|
||||
<form class="vino-auth__form" method="post" novalidate data-auth-register data-back="<?= htmlspecialcharsbx($arResult["BACK"]) ?>"
|
||||
data-msg-name="<?= Loc::getMessage("VINO_REG_ERR_NAME") ?>"
|
||||
data-msg-email="<?= Loc::getMessage("VINO_REG_ERR_EMAIL") ?>"
|
||||
data-msg-password="<?= Loc::getMessage("VINO_REG_ERR_PASSWORD") ?>"
|
||||
data-msg-consent="<?= Loc::getMessage("VINO_REG_ERR_CONSENT") ?>"
|
||||
data-msg-altcha="<?= Loc::getMessage("VINO_REG_ERR_ALTCHA") ?>"
|
||||
data-msg-too-often="<?= Loc::getMessage("VINO_REG_ERR_TOO_OFTEN") ?>"
|
||||
data-msg-retry="<?= Loc::getMessage("VINO_REG_ERR_RETRY") ?>"
|
||||
data-msg-error="<?= Loc::getMessage("VINO_REG_ERR_COMMON") ?>"
|
||||
data-label-show="<?= Loc::getMessage("VINO_REG_SHOW") ?>"
|
||||
data-label-hide="<?= Loc::getMessage("VINO_REG_HIDE") ?>">
|
||||
<input type="text" name="website" class="vino-hp" tabindex="-1" autocomplete="off" aria-hidden="true">
|
||||
<div class="vino-auth__field">
|
||||
<label class="vino-auth__label" for="<?= $uid ?>-name"><?= Loc::getMessage("VINO_REG_NAME") ?></label>
|
||||
<input class="vino-inp vino-auth__input" id="<?= $uid ?>-name" type="text" name="name" autocomplete="name" maxlength="50" aria-describedby="<?= $uid ?>-err" required>
|
||||
</div>
|
||||
<div class="vino-auth__field">
|
||||
<label class="vino-auth__label" for="<?= $uid ?>-email"><?= Loc::getMessage("VINO_REG_EMAIL") ?></label>
|
||||
<input class="vino-inp vino-auth__input" id="<?= $uid ?>-email" type="email" name="email" autocomplete="email" inputmode="email" maxlength="254" aria-describedby="<?= $uid ?>-err" required>
|
||||
</div>
|
||||
<div class="vino-auth__field">
|
||||
<label class="vino-auth__label" for="<?= $uid ?>-password"><?= Loc::getMessage("VINO_REG_PASSWORD") ?></label>
|
||||
<span class="vino-auth__password">
|
||||
<input class="vino-inp vino-auth__input" id="<?= $uid ?>-password" type="password" name="password" autocomplete="new-password" minlength="8" maxlength="200" aria-describedby="<?= $uid ?>-hint <?= $uid ?>-err" required>
|
||||
<button type="button" class="vino-auth__toggle" data-password-toggle hidden aria-controls="<?= $uid ?>-password"><?= Loc::getMessage("VINO_REG_SHOW") ?></button>
|
||||
</span>
|
||||
<span class="vino-auth__hint" id="<?= $uid ?>-hint"><?= Loc::getMessage("VINO_REG_HINT") ?></span>
|
||||
</div>
|
||||
<label class="vino-consent vino-consent--sm vino-auth__consent"><input class="vino-consent__checkbox" type="checkbox" name="consent" value="1" aria-describedby="<?= $uid ?>-err" required><span class="vino-consent__text"><?= Loc::getMessage("VINO_REG_CONSENT", array("#BUTTON#" => Loc::getMessage("VINO_REG_SUBMIT"), "#URL#" => SITE_DIR . "consent/", "#PRIVACY_URL#" => SITE_DIR . "privacy/")) ?></span></label>
|
||||
<altcha-widget name="altcha" challenge="/bitrix/services/main/ajax.php?action=jinove:vinoteca.lead.challenge" auto="onload" display="invisible"></altcha-widget>
|
||||
<p class="vino-auth__err" id="<?= $uid ?>-err" role="alert" data-auth-err></p>
|
||||
<button class="vino-btn vino-auth__submit" type="submit"><?= Loc::getMessage("VINO_REG_SUBMIT") ?></button>
|
||||
<div class="vino-auth__links">
|
||||
<a class="vino-auth__link" href="<?= htmlspecialcharsbx($arResult["LOGIN_URL"]) ?>"><?= Loc::getMessage("VINO_REG_HAVE") ?></a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
Reference in new issue
Block a user