| @@ -1,86 +1,16 @@ | ||
| 1 | 1 | <?php defined('ABSPATH') or die("Protected By WT!");?> |
| 2 | -<div class="wtotem_welcome-wrapper"> | |
| 3 | - <div class="wtotem_content" style="padding:1px"> | |
| 4 | - <div class="wtotem_container"> | |
| 5 | - <?php WTSEC_LIBRARY_Session::notifications() ?> | |
| 6 | - </div> | |
| 7 | - </div> | |
| 8 | - <div class="wtotem_welcome-wrapper__head-height"> | |
| 9 | - <div class="wtotem_modal"> | |
| 10 | - <h2 class="wtotem_modal__subject"> | |
| 11 | - <?=wtsec_locale("auth.activate_the_plugin")?> | |
| 12 | - </h2> | |
| 13 | - <form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" class="wtotem_modal__window wt_card"> | |
| 14 | - <input type="hidden" name="action" value="login_form"> | |
| 15 | - <h3 class="wtotem_modal__title"> | |
| 16 | - <?=wtsec_locale("auth.welcome")?> | |
| 17 | - </h3> | |
| 18 | - <p class="wtotem_modal__text"> | |
| 19 | - <?=wtsec_locale("auth.sign_in")?> | |
| 20 | - </p> | |
| 21 | - <div class="wtotem_modal__block"> | |
| 22 | - <img | |
| 23 | - src="<?=wtsec_getImagePath("logo-circle.svg")?>" | |
| 24 | - alt="Web Totem" | |
| 25 | - class="wtotem_modal__logo" | |
| 26 | - /> | |
| 27 | - </div> | |
| 28 | - <div class="wtotem_modal__wrap"> | |
| 29 | - <input | |
| 30 | - name="key" | |
| 31 | - type="text" | |
| 32 | - class="wtotem_modal__api-key" | |
| 33 | - placeholder="<?=wtsec_locale("auth.api_key_code")?>" | |
| 34 | - /> | |
| 35 | - <img | |
| 36 | - src="<?=wtsec_getImagePath("info-blue.svg")?>" | |
| 37 | - alt="Info" | |
| 38 | - class="wtotem_modal__info" | |
| 39 | - /> | |
| 40 | - </div> | |
| 41 | - <button class="wtotem_modal__btn" type="submit"> | |
| 42 | - <?=wtsec_locale("auth.activate")?> | |
| 43 | - </button> | |
| 44 | - </form> | |
| 45 | - <p class="wtotem_modal__desc"> | |
| 46 | - <?=wtsec_locale("auth.info")?> | |
| 47 | - <a | |
| 48 | - target="_blank" | |
| 49 | - class="wtotem_modal__cabinet" | |
| 50 | - href="https://wtotem.com/cabinet/sign-in" | |
| 51 | - > | |
| 52 | - <?=wtsec_locale("auth.cabinet")?> | |
| 53 | - </a> | |
| 54 | - </p> | |
| 55 | - </div> | |
| 56 | - </div> | |
| 57 | - | |
| 58 | - <div class="wtotem_welcome-wrapper__footer-height"> | |
| 59 | - <div class="wtotem_welcome-bottom"> | |
| 60 | - <img | |
| 61 | - src="<?=wtsec_getImagePath("logo-gray.svg")?>" | |
| 62 | - alt="Web Totem" | |
| 63 | - class="wtotem_welcome-bottom__logo" | |
| 64 | - /> | |
| 65 | - <p class="wtotem_welcome-bottom__label"> | |
| 66 | - © 2017-2020 <?= wtsec_locale("all_right_reserved") ?> | |
| 67 | - </p> | |
| 68 | - <div class="wtotem_welcome-bottom__block"> | |
| 69 | - <a | |
| 70 | - target="_blank" | |
| 71 | - href="https://apps.apple.com/us/app/webtotem/id1289069562" | |
| 72 | - class="wtotem_welcome-bottom__store" | |
| 73 | - > | |
| 74 | - <img src="<?=wtsec_getImagePath("app-store.svg")?>" alt="App Store" /> | |
| 75 | - </a> | |
| 76 | - <a | |
| 77 | - target="_blank" | |
| 78 | - href="https://play.google.com/store/apps/details?id=com.indepo.webtotem" | |
| 79 | - class="wtotem_welcome-bottom__store" | |
| 80 | - > | |
| 81 | - <img src="<?=wtsec_getImagePath("play-store.svg")?>" alt="Play Store" /> | |
| 82 | - </a> | |
| 2 | +<div class="ww-page__content"> | |
| 3 | + <div class="ww-content__title"><?=wtsec_locale("activation")?></div> | |
| 4 | + <div class="ww-content__text"><?=wtsec_locale("enter_api_key")?></div> | |
| 5 | + <form method="post" class="ww-form" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>"> | |
| 6 | + <input type="hidden" name="action" value="login_form"> | |
| 7 | + <div class="ww-form__key-input"><input class="ww-input" name="key" type="text" placeholder="<?=wtsec_locale("activate_your_plugin")?>"> | |
| 83 | 8 | </div> |
| 84 | - </div> | |
| 9 | + <div class="ww-form__block"><button class="ww-button ww-button--success" type="submit"><?=wtsec_locale("send")?></button></div> | |
| 10 | + </form> | |
| 11 | + <div class="ww-content__info"><?=wtsec_locale("activation_desc")?> <a | |
| 12 | + href="https://wtotem.com/cabinet" target="_blank">wtotem.com/cabinet</a></div> | |
| 13 | + <div class="ww-content__title"><?=wtsec_locale("connection")?></div> | |
| 14 | + <div class="ww-content__text"><?=wtsec_locale("auth_desc")?></div><a | |
| 15 | + href="https://wtotem.com/cabinet" target="_blank"><img src="<?=wtsec_getImagePath("badge.62d05a1a.svg")?>" alt="badge logo"></a> | |
| 85 | 16 | </div> |
| 86 | -</div> | |