0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/client/tpl/settings/user-profile.hbs

87 lines
3.2 KiB
Handlebars
Raw Normal View History

<header>
<h2 class="title">Your Profile</h2>
<section class="page-actions">
<button class="button-save">Save</button>
</section>
</header>
2013-09-15 16:42:30 -05:00
<section class="content no-padding">
2013-09-15 16:42:30 -05:00
<header class="user-profile-header">
2013-09-15 16:42:30 -05:00
<img id="user-cover" class="cover-image" src="{{#if cover}}{{cover}}{{else}}/shared/img/cover.png{{/if}}" title="{{name}}'s Cover Image"/>
<button class="edit-cover-image js-modal-cover">Change Cover</button>
</header>
2013-09-15 16:42:30 -05:00
<form class="user-profile" novalidate="novalidate">
<fieldset class="user-details-top">
2013-09-15 16:42:30 -05:00
<figure class="user-image">
<img id="user-image" src="{{#if image}}{{image}}{{else}}/shared/img/default-user-profile-picture.jpg{{/if}}" title="{{name}}" />
<button class="edit-user-image js-modal-image">Edit Picture</button>
</figure>
2013-09-15 16:42:30 -05:00
<div class="form-group">
<label for="user-name" class="hidden">Full Name</label>
<input type="url" value="{{name}}" id="user-name" placeholder="Full Name" autocorrect="off" />
<p>Use your real name so people can recognise you</p>
</div>
</fieldset>
2013-09-15 16:42:30 -05:00
<fieldset class="user-details-bottom">
2013-09-15 16:42:30 -05:00
<div class="form-group">
2013-09-15 16:42:30 -05:00
<label for"user-email">Email</label>
<input type="email" value="{{email}}" id="user-email" placeholder="Email Address" autocapitalize="off" autocorrect="off" />
<p>Used for notifications</p>
</div>
<div class="form-group">
2013-09-15 16:42:30 -05:00
<label for="user-location">Location</label>
<input type="text" value="{{location}}" id="user-location" />
<p>Where in the world do you live?</p>
</div>
<div class="form-group">
2013-09-15 16:42:30 -05:00
<label for="user-website">Website</label>
<input type="text" value="{{website}}" id="user-website" autocapitalize="off" autocorrect="off" />
<p>Have a website or blog other than this one? Link it!</p>
</div>
<div class="form-group bio-container">
2013-09-15 16:42:30 -05:00
<label for="user-bio">Bio</label>
<textarea id="user-bio">{{bio}}</textarea>
2013-09-15 16:42:30 -05:00
<p class="bio-desc">Write about you, in 200 characters or less.</p>
<span class="word-count">0</span>
</div>
2013-09-15 16:42:30 -05:00
<hr />
</fieldset>
2013-09-15 16:42:30 -05:00
<fieldset>
<div class="form-group">
2013-09-15 16:42:30 -05:00
<label for="user-password-old">Old Password</label>
<input type="password" id="user-password-old" />
</div>
<div class="form-group">
2013-09-15 16:42:30 -05:00
<label for="user-password-new">New Password</label>
<input type="password" id="user-password-new" />
</div>
<div class="form-group">
2013-09-15 16:42:30 -05:00
<label for="user-new-password-verification">Verify Password</label>
<input type="password" id="user-new-password-verification" />
</div>
<div class="form-group">
<button class="button-delete button-change-password">Change Password</button>
</div>
</fieldset>
</form>
</section>