mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
3ae3e8142a
Refs https://www.notion.so/ghost/Invite-staff-users-steps-in-setup-guide-367737e13d97450a98a0f39ec6b68181 * Simplified the selfhoster setup flow to one setup page only * Redesigned the reset password pages and the signup page for new staff members Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
42 lines
2.1 KiB
Handlebars
42 lines
2.1 KiB
Handlebars
<div class="gh-flow">
|
|
<div class="gh-flow-content-wrap">
|
|
<section class="gh-flow-content fade-in">
|
|
<form id="reset" class="gh-signin" method="post" novalidate="novalidate" {{action "submit" on="submit"}}>
|
|
<header>
|
|
<div class="gh-site-icon" style={{site-icon-style}}></div>
|
|
<h1>Reset your password.</h1>
|
|
</header>
|
|
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="newPassword">
|
|
<span class="gh-input-icon gh-icon-lock">
|
|
<GhTextInput
|
|
@type="password"
|
|
@name="newpassword"
|
|
@placeholder="New password"
|
|
@class="password reset-password"
|
|
@autocorrect="off"
|
|
@shouldFocus={{true}}
|
|
@value={{readonly this.newPassword}}
|
|
@input={{action (mut this.newPassword) value="target.value"}} />
|
|
</span>
|
|
</GhFormGroup>
|
|
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="ne2Password">
|
|
<span class="gh-input-icon gh-icon-lock">
|
|
<GhTextInput
|
|
@type="password"
|
|
@name="ne2password"
|
|
@placeholder="Confirm new password"
|
|
@class="password reset-password"
|
|
@autocorrect="off"
|
|
@value={{readonly this.ne2Password}}
|
|
@input={{action (mut this.ne2Password) value="target.value"}} />
|
|
</span>
|
|
</GhFormGroup>
|
|
|
|
<GhTaskButton @buttonText="Save new password" @task={{this.resetPassword}} @class="gh-btn gh-btn-reset gh-btn-block gh-btn-icon" @type="submit" @autoWidth="false" />
|
|
</form>
|
|
|
|
<p class="main-error">{{this.flowErrors}} </p>
|
|
</section>
|
|
</div>
|
|
</div>
|