123 lines
5.7 KiB
HTML
123 lines
5.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
|
<title>Recharge Center</title>
|
|
<link rel="stylesheet" href="./style.css?v=20260429-0100" />
|
|
</head>
|
|
<body>
|
|
<div class="recharge-center" aria-label="Recharge Center" data-i18n-aria="page_label" data-loading="true">
|
|
<div class="hero-bg" aria-hidden="true"></div>
|
|
<nav class="title-bar">
|
|
<button class="back-button" type="button" aria-label="Back" data-i18n-aria="back">
|
|
<svg viewBox="0 0 32 32" aria-hidden="true">
|
|
<path d="M20 8 12 16l8 8" />
|
|
</svg>
|
|
</button>
|
|
<h1 data-i18n="title">Recharge Center</h1>
|
|
<div class="language-switcher">
|
|
<button class="language-button" type="button" aria-label="Change language" data-i18n-aria="language_button_aria" aria-expanded="false">EN</button>
|
|
<div class="language-menu" hidden>
|
|
<button type="button" data-lang="en">EN</button>
|
|
<button type="button" data-lang="ar">AR</button>
|
|
<button type="button" data-lang="tr">TR</button>
|
|
<button type="button" data-lang="id">ID</button>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="content">
|
|
<section class="card search-card">
|
|
<div class="section-head">
|
|
<div>
|
|
<div class="section-title" data-i18n="search_title">Recharge user</div>
|
|
<div class="section-subtitle" data-i18n="search_subtitle">Search by user ID</div>
|
|
</div>
|
|
<button class="icon-button" type="button" data-help-open aria-label="Help" data-i18n-aria="help">
|
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
|
<circle cx="12" cy="12" r="9" />
|
|
<path d="M9.5 9a2.7 2.7 0 0 1 5.2.9c0 1.9-2.7 2.2-2.7 4.1" />
|
|
<path d="M12 17h.01" />
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<form class="search-form" id="searchForm" autocomplete="off">
|
|
<input id="accountInput" type="text" inputmode="text" data-i18n-placeholder="search_placeholder" placeholder="Enter user ID" />
|
|
<button id="searchButton" type="submit" data-i18n="search">Search</button>
|
|
</form>
|
|
<div class="form-status" id="searchStatus" role="status" hidden></div>
|
|
</section>
|
|
|
|
<section class="card profile-card" id="targetCard" hidden>
|
|
<div class="avatar-shell">
|
|
<img class="avatar-image" id="targetAvatar" alt="" hidden />
|
|
<span class="avatar-fallback" id="targetAvatarFallback">U</span>
|
|
</div>
|
|
<div class="profile-copy">
|
|
<div class="role-pill" data-i18n="target_user">Target user</div>
|
|
<div class="name" id="targetName">-</div>
|
|
<div class="meta" id="targetUid">UID: -</div>
|
|
</div>
|
|
<button class="mini-action" type="button" data-change-target data-i18n="change">Change</button>
|
|
</section>
|
|
|
|
<section class="card country-card" id="countryCard" hidden>
|
|
<div class="section-head">
|
|
<div>
|
|
<div class="section-title" data-i18n="select_country">Select a country</div>
|
|
<div class="section-subtitle" id="countrySubtitle">-</div>
|
|
</div>
|
|
</div>
|
|
<div class="country-list" id="countryList"></div>
|
|
</section>
|
|
|
|
<section class="card payment-card" id="paymentCard" hidden>
|
|
<div class="section-head">
|
|
<div>
|
|
<div class="section-title" data-i18n="payment_methods">Payment methods</div>
|
|
<div class="section-subtitle" data-i18n="select_package">Select a package</div>
|
|
</div>
|
|
</div>
|
|
<div class="payment-status" id="paymentStatus" role="status" hidden></div>
|
|
<div class="channel-list" id="channelList"></div>
|
|
</section>
|
|
</main>
|
|
|
|
<div class="help-modal" id="helpModal" hidden>
|
|
<div class="modal-backdrop" data-help-close></div>
|
|
<section class="modal-dialog" role="dialog" aria-modal="true" aria-labelledby="helpTitle">
|
|
<div class="modal-head">
|
|
<h2 id="helpTitle" data-i18n="help">Help</h2>
|
|
<button class="modal-close" type="button" aria-label="Close" data-i18n-aria="close" data-help-close>×</button>
|
|
</div>
|
|
<div class="help-content">
|
|
<h3 data-i18n="faq_title">FAQ</h3>
|
|
<p data-i18n="faq_question_1">How to recharge?</p>
|
|
<p data-i18n="faq_answer_1">Enter the user's ID, choose a package, then select a payment method.</p>
|
|
<p data-i18n="faq_question_2">How to check recharge result?</p>
|
|
<p data-i18n="faq_answer_2">After payment, return to the app and check the user's wallet balance.</p>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="home-indicator" aria-hidden="true"></div>
|
|
<div class="loading-mask" id="loadingMask" role="status" aria-live="polite" aria-busy="true">
|
|
<div class="runner-stick" aria-hidden="true">
|
|
<span class="runner-head"></span>
|
|
<span class="runner-body"></span>
|
|
<span class="runner-arm runner-arm-front"></span>
|
|
<span class="runner-arm runner-arm-back"></span>
|
|
<span class="runner-leg runner-leg-front"></span>
|
|
<span class="runner-leg runner-leg-back"></span>
|
|
<span class="runner-ground"></span>
|
|
</div>
|
|
<div class="loading-copy">loading....</div>
|
|
</div>
|
|
|
|
<div class="toast" id="toast" role="status" aria-live="polite" hidden></div>
|
|
</div>
|
|
<script src="./script.js?v=20260429-0100" defer></script>
|
|
</body>
|
|
</html>
|