201 lines
8.3 KiB
HTML
201 lines
8.3 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>Host Center</title>
|
|
<link rel="stylesheet" href="../common/theme.css" />
|
|
<link rel="stylesheet" href="./style.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<div
|
|
class="host-center"
|
|
aria-label="Host Center"
|
|
data-loading="false"
|
|
data-view="join-agency"
|
|
>
|
|
<div class="hero-bg" aria-hidden="true"></div>
|
|
|
|
<nav class="title-bar">
|
|
<button
|
|
class="back-button"
|
|
id="backButton"
|
|
type="button"
|
|
aria-label="Back"
|
|
data-i18n-aria="host_center.back"
|
|
>
|
|
<svg viewBox="0 0 32 32" aria-hidden="true">
|
|
<path d="M20 8 12 16l8 8" />
|
|
</svg>
|
|
</button>
|
|
<h1 data-i18n="host_center.title">Host Center</h1>
|
|
<div class="language-switcher">
|
|
<button
|
|
class="language-button"
|
|
type="button"
|
|
aria-label="Change language"
|
|
aria-expanded="false"
|
|
data-language-toggle
|
|
data-current-lang
|
|
data-i18n-aria="host_center.change_language"
|
|
>
|
|
EN
|
|
</button>
|
|
<div class="language-menu" data-language-menu hidden>
|
|
<button type="button" data-lang-option="en">EN</button>
|
|
<button type="button" data-lang-option="ar">AR</button>
|
|
<button type="button" data-lang-option="tr">TR</button>
|
|
<button type="button" data-lang-option="es">ES</button>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="content">
|
|
<section class="card profile-card">
|
|
<div class="avatar-shell"></div>
|
|
<div class="profile-copy">
|
|
<div
|
|
class="name"
|
|
id="profileName"
|
|
data-i18n="host_center.profile_name"
|
|
>
|
|
Namenamename
|
|
</div>
|
|
<div
|
|
class="meta"
|
|
id="profileUID"
|
|
data-i18n="host_center.uid"
|
|
>
|
|
UID: 12345678
|
|
</div>
|
|
<button class="agency" type="button" hidden>
|
|
<span>Agency</span>
|
|
</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="card join-agency-card" id="joinAgencyCard">
|
|
<div class="join-agency-copy">
|
|
<div
|
|
class="join-agency-title"
|
|
data-i18n="host_center.join_title"
|
|
>
|
|
Join Agency
|
|
</div>
|
|
<div
|
|
class="join-agency-text"
|
|
data-i18n="host_center.join_text"
|
|
>
|
|
Search for an agency ID and submit your application.
|
|
</div>
|
|
</div>
|
|
<button
|
|
class="join-agency-action"
|
|
type="button"
|
|
data-i18n="host_center.join_now"
|
|
>
|
|
Join now
|
|
</button>
|
|
</section>
|
|
|
|
<section
|
|
class="join-agency-dialog-static"
|
|
aria-label="Join Agency"
|
|
data-i18n-aria="host_center.join_title"
|
|
>
|
|
<div class="join-agency-head">
|
|
<h2 data-i18n="host_center.join_title">Join Agency</h2>
|
|
</div>
|
|
<div class="join-agency-modal-body">
|
|
<form
|
|
class="join-agency-search-form"
|
|
id="joinAgencyForm"
|
|
>
|
|
<label class="join-agency-field">
|
|
<span data-i18n="host_center.agency_id"
|
|
>Agency ID</span
|
|
>
|
|
<div class="join-agency-search-control">
|
|
<input
|
|
id="agencySearchInput"
|
|
type="text"
|
|
inputmode="numeric"
|
|
autocomplete="off"
|
|
placeholder="Enter agency ID"
|
|
data-i18n-placeholder="host_center.enter_agency_id"
|
|
/>
|
|
<button
|
|
class="join-agency-search-button"
|
|
id="agencySearchButton"
|
|
type="submit"
|
|
data-i18n="host_center.search"
|
|
>
|
|
Search
|
|
</button>
|
|
</div>
|
|
</label>
|
|
</form>
|
|
<div
|
|
class="join-agency-status"
|
|
id="joinAgencyStatus"
|
|
role="status"
|
|
hidden
|
|
></div>
|
|
|
|
<section
|
|
class="join-agency-modal-card"
|
|
id="joinAgencyResult"
|
|
hidden
|
|
>
|
|
<div
|
|
class="join-agency-section-title"
|
|
data-i18n="host_center.agency"
|
|
>
|
|
Agency
|
|
</div>
|
|
<div class="join-agency-profile-row">
|
|
<div class="join-agency-avatar">
|
|
<span id="agencyInitial">A</span>
|
|
</div>
|
|
<div class="join-agency-profile-copy">
|
|
<div
|
|
class="join-agency-profile-name"
|
|
id="agencyName"
|
|
>
|
|
Agency Name
|
|
</div>
|
|
<div
|
|
class="join-agency-profile-account"
|
|
id="agencyAccount"
|
|
>
|
|
ID: 87654321
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<button
|
|
class="join-agency-apply-button"
|
|
id="joinAgencyApplyButton"
|
|
type="button"
|
|
data-i18n="host_center.apply"
|
|
>
|
|
Apply
|
|
</button>
|
|
</section>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<div class="home-indicator" aria-hidden="true"></div>
|
|
</div>
|
|
<script src="../common/api.js"></script>
|
|
<script src="../common/params.js"></script>
|
|
<script src="../common/jsbridge.js"></script>
|
|
<script src="../common/i18n.js"></script>
|
|
<script src="./script.js"></script>
|
|
</body>
|
|
</html>
|