Save carts per account and settle each order in one profile update. Add featured packs, a screenshot and video gallery, and premium artwork from the game files.
104 lines
4.7 KiB
HTML
104 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="referrer" content="no-referrer" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<title>WTOffline Store</title>
|
||
<link rel="stylesheet" href="/store/styles.css" />
|
||
<link rel="stylesheet" href="/store/product.css" />
|
||
<link rel="stylesheet" href="/store/checkout.css" />
|
||
</head>
|
||
<body>
|
||
<div class="page">
|
||
<header class="store-header">
|
||
<button type="button" class="store-brand" id="storeHome">
|
||
<span class="store-mark" aria-hidden="true">WT</span>
|
||
<span>WTOffline <span data-t="store"></span></span>
|
||
</button>
|
||
<div class="account-strip">
|
||
<span class="balance">GJN <b id="gjnVal">0</b></span>
|
||
<span class="balance"><span data-t="eagles"></span> <b id="goldVal">0</b></span>
|
||
<span class="balance"><span data-t="lions"></span> <b id="silverVal">0</b></span>
|
||
<span class="balance"><span data-t="premium"></span> <b id="premVal"></b></span>
|
||
<select id="accountSelect" data-label="account" disabled></select>
|
||
</div>
|
||
</header>
|
||
<nav class="store-nav" data-label="store">
|
||
<div class="tabs" id="tabs">
|
||
<button type="button" data-tab="vehicle-pack" data-t="tabPacks"></button>
|
||
<button type="button" data-tab="eagles" data-t="tabEagles"></button>
|
||
<button type="button" data-tab="premium-gjn" data-t="tabPremium"></button>
|
||
<button type="button" data-tab="redeem" data-t="tabRedeem"></button>
|
||
</div>
|
||
<div class="store-links">
|
||
<a id="marketLink" data-t="toMarket"></a>
|
||
<button type="button" class="cart-link" id="cartBtn" aria-haspopup="dialog" disabled>
|
||
<span class="cart-icon" aria-hidden="true"></span>
|
||
<span data-t="cart"></span>
|
||
<b id="cartCount" aria-live="polite">0</b>
|
||
</button>
|
||
</div>
|
||
</nav>
|
||
<div class="notice" id="notice" role="status"></div>
|
||
<main>
|
||
<section id="catalog" aria-labelledby="catalogTitle">
|
||
<div class="catalog-head">
|
||
<h1 id="catalogTitle" tabindex="-1"></h1>
|
||
<div class="filters" id="packFilters">
|
||
<select id="countryFilter" data-label="allCountries"></select>
|
||
<select id="rankFilter" data-label="allRanks"></select>
|
||
<input id="searchInput" type="search" data-label="search" />
|
||
<select id="sortSelect" data-label="sort">
|
||
<option value="best" data-t="sortBest"></option>
|
||
<option value="priceAsc" data-t="sortPriceAsc"></option>
|
||
<option value="priceDesc" data-t="sortPriceDesc"></option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<section class="featured" id="featured" hidden></section>
|
||
<div class="grid" id="grid"></div>
|
||
</section>
|
||
<section class="detail" id="detail" hidden></section>
|
||
<section class="redeem" id="redeemPanel" aria-labelledby="redeemTitle" hidden>
|
||
<h1 id="redeemTitle" data-t="tabRedeem"></h1>
|
||
<div class="redeem-row">
|
||
<input id="codeInput" type="text" data-label="codePlaceholder" />
|
||
<button type="button" class="btn-main" id="redeemBtn" data-t="redeem" disabled></button>
|
||
</div>
|
||
<ul class="redeem-help" id="redeemHelp"></ul>
|
||
</section>
|
||
</main>
|
||
<footer class="foot" data-t="footer"></footer>
|
||
</div>
|
||
|
||
<dialog class="checkout" id="checkout" aria-labelledby="checkoutTitle">
|
||
<header class="checkout-head">
|
||
<h2 id="checkoutTitle"></h2>
|
||
<button type="button" class="checkout-close" id="checkoutClose" data-label="close">×</button>
|
||
</header>
|
||
<div class="checkout-body">
|
||
<p class="checkout-empty" id="checkoutEmpty" data-t="cartEmpty" hidden></p>
|
||
<ul class="checkout-list" id="checkoutList"></ul>
|
||
</div>
|
||
<div class="checkout-footer">
|
||
<p class="notice" id="checkoutNotice" role="status"></p>
|
||
<div id="checkoutTotals" hidden>
|
||
<div class="checkout-total"><span data-t="total"></span><strong id="checkoutTotal"></strong></div>
|
||
<div class="checkout-balance"><span data-t="balance"></span><span id="checkoutBalance"></span></div>
|
||
<p class="checkout-hint" id="checkoutHint" role="status" hidden></p>
|
||
<button type="button" class="btn-main" id="payGjn" data-t="payGjn"></button>
|
||
<button type="button" class="btn-outline" id="payFree" data-t="freeBuy"></button>
|
||
</div>
|
||
<button type="button" class="btn-main" id="checkoutDone" data-t="keepShopping" hidden></button>
|
||
</div>
|
||
</dialog>
|
||
|
||
<script src="/_wto/ui/common.js"></script>
|
||
<script src="/store/gallery.js"></script>
|
||
<script src="/store/products.js"></script>
|
||
<script src="/store/checkout.js"></script>
|
||
<script src="/store/app.js"></script>
|
||
</body>
|
||
</html>
|