login
This commit is contained in:
+41
-82
@@ -132,93 +132,52 @@
|
||||
</div>
|
||||
<div id="signin-error" class="auth-error"></div>
|
||||
|
||||
<!-- Password reset — shown only after a failed sign-in -->
|
||||
<div
|
||||
id="reset-pw-wrap"
|
||||
class="reset-pw-wrap"
|
||||
style="display: none"
|
||||
id="signin-footer"
|
||||
class="signin-footer"
|
||||
style="
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: stretch;
|
||||
"
|
||||
>
|
||||
<div id="reset-pw-idle" class="reset-pw-idle">
|
||||
<span class="reset-pw-hint"
|
||||
>Forgot your password?</span
|
||||
>
|
||||
<button
|
||||
id="reset-pw-btn"
|
||||
class="reset-pw-btn"
|
||||
onclick="sendPasswordReset()"
|
||||
>
|
||||
<svg
|
||||
width="13"
|
||||
height="13"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect
|
||||
x="2"
|
||||
y="4"
|
||||
width="20"
|
||||
height="16"
|
||||
rx="2"
|
||||
/>
|
||||
<polyline points="22,4 12,13 2,4" />
|
||||
</svg>
|
||||
Send reset email
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
id="reset-pw-sent"
|
||||
class="reset-pw-sent"
|
||||
style="display: none"
|
||||
<button
|
||||
type="submit"
|
||||
id="signin-btn"
|
||||
class="btn btn-primary"
|
||||
style="flex: 1"
|
||||
>
|
||||
<svg
|
||||
width="18"
|
||||
height="18"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect
|
||||
x="2"
|
||||
y="4"
|
||||
width="20"
|
||||
height="16"
|
||||
rx="2"
|
||||
/>
|
||||
<polyline points="22,4 12,13 2,4" />
|
||||
<polyline
|
||||
points="2,20 9,13"
|
||||
style="opacity: 0.5"
|
||||
/>
|
||||
<polyline
|
||||
points="22,20 15,13"
|
||||
style="opacity: 0.5"
|
||||
/>
|
||||
</svg>
|
||||
<div class="reset-pw-sent-text">
|
||||
<span class="reset-pw-sent-title"
|
||||
>Reset link sent</span
|
||||
>
|
||||
<span class="reset-pw-sent-sub"
|
||||
>Check your inbox — link expires
|
||||
in 15 minutes.</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
Sign In
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
id="signin-reset-btn"
|
||||
class="btn btn-ghost btn-sm"
|
||||
onclick="sendPasswordReset()"
|
||||
style="
|
||||
flex: 1;
|
||||
white-space: normal;
|
||||
font-size: 12px;
|
||||
padding: 8px 10px;
|
||||
"
|
||||
>
|
||||
Send password reset
|
||||
</button>
|
||||
</div>
|
||||
<button
|
||||
type="submit"
|
||||
id="signin-btn"
|
||||
class="btn btn-primary btn-block"
|
||||
<div
|
||||
id="signin-reset-note"
|
||||
style="
|
||||
display: none;
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
line-height: 1.5;
|
||||
margin-top: 2px;
|
||||
"
|
||||
>
|
||||
Sign In
|
||||
</button>
|
||||
First time customer? A password reset email has
|
||||
already been sent to your address.
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- /auth-pane signin -->
|
||||
|
||||
Reference in New Issue
Block a user