kin: BATON-BIZ-002 Убрать hardcoded VAPID key из meta-тега, читать с /api/push/public-key
This commit is contained in:
parent
ea06309a6e
commit
6444b30d17
7 changed files with 488 additions and 159 deletions
|
|
@ -36,7 +36,9 @@
|
|||
|
||||
<!-- Onboarding screen: shown on first visit (no UUID registered yet) -->
|
||||
<div id="screen-onboarding" class="screen" role="main" hidden>
|
||||
<div class="screen-content">
|
||||
|
||||
<!-- View: name entry (existing onboarding) -->
|
||||
<div class="screen-content" id="view-login">
|
||||
<input
|
||||
type="text"
|
||||
id="name-input"
|
||||
|
|
@ -52,7 +54,53 @@
|
|||
<button type="button" id="btn-confirm" class="btn-confirm" disabled>
|
||||
Confirm
|
||||
</button>
|
||||
<button type="button" id="btn-switch-to-register" class="btn-link">
|
||||
Зарегистрироваться
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- View: account registration -->
|
||||
<div class="screen-content" id="view-register" hidden>
|
||||
<input
|
||||
type="email"
|
||||
id="reg-email"
|
||||
class="name-input"
|
||||
placeholder="Email"
|
||||
autocomplete="email"
|
||||
autocorrect="off"
|
||||
autocapitalize="none"
|
||||
spellcheck="false"
|
||||
aria-label="Email"
|
||||
>
|
||||
<input
|
||||
type="text"
|
||||
id="reg-login"
|
||||
class="name-input"
|
||||
placeholder="Логин"
|
||||
maxlength="64"
|
||||
autocomplete="username"
|
||||
autocorrect="off"
|
||||
autocapitalize="none"
|
||||
spellcheck="false"
|
||||
aria-label="Логин"
|
||||
>
|
||||
<input
|
||||
type="password"
|
||||
id="reg-password"
|
||||
class="name-input"
|
||||
placeholder="Пароль"
|
||||
autocomplete="new-password"
|
||||
aria-label="Пароль"
|
||||
>
|
||||
<button type="button" id="btn-register" class="btn-confirm">
|
||||
Зарегистрироваться
|
||||
</button>
|
||||
<button type="button" id="btn-switch-to-login" class="btn-link">
|
||||
← Назад
|
||||
</button>
|
||||
<div id="reg-status" class="reg-status" hidden></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Main screen: SOS button -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue