202 lines
8.0 KiB
HTML
202 lines
8.0 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="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="agency-list"
|
|
id="agencyList"
|
|
aria-label="Agency list"
|
|
data-i18n-aria="host_center.agency_list"
|
|
>
|
|
<div
|
|
class="agency-list-empty"
|
|
id="agencyListEmpty"
|
|
data-i18n="host_center.loading_agencies"
|
|
>
|
|
Loading agencies...
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<div class="home-indicator" aria-hidden="true"></div>
|
|
|
|
<div
|
|
class="join-agency-modal"
|
|
id="joinConfirmModal"
|
|
hidden
|
|
aria-hidden="true"
|
|
>
|
|
<button
|
|
class="join-agency-backdrop"
|
|
id="joinConfirmBackdrop"
|
|
type="button"
|
|
aria-label="Cancel"
|
|
data-i18n-aria="host_center.cancel"
|
|
></button>
|
|
<section
|
|
class="join-confirm-dialog"
|
|
role="dialog"
|
|
aria-modal="true"
|
|
aria-labelledby="joinConfirmTitle"
|
|
>
|
|
<h2
|
|
id="joinConfirmTitle"
|
|
data-i18n="host_center.join_confirm_title"
|
|
>
|
|
Join Agency
|
|
</h2>
|
|
<p id="joinConfirmMessage">
|
|
Are you sure you want to join this agency?
|
|
</p>
|
|
<div class="join-confirm-actions">
|
|
<button
|
|
class="join-confirm-cancel"
|
|
id="joinConfirmCancelButton"
|
|
type="button"
|
|
data-i18n="host_center.cancel"
|
|
>
|
|
Cancel
|
|
</button>
|
|
<button
|
|
class="join-confirm-submit"
|
|
id="joinConfirmSubmitButton"
|
|
type="button"
|
|
data-i18n="host_center.join"
|
|
>
|
|
Join
|
|
</button>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<script src="../../common/api.js"></script>
|
|
<script src="../../common/toast.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>
|