zulip/templates/zephyr/settings.html

37 lines
1.5 KiB
HTML

{% load jstemplate %}
<div class="row-fluid">
<div id="current_settings" class="span9">
<h1>Settings</h1>
<form action="/settings/change/" method="post" class="settings">{% csrf_token %}
<label>Email</label>
<b>{{ user_profile.user.email }}</b> <a href="/settings/change-email">(change?)</a><br /><br />
<div id="Photo">
<label>Photo</label>
<img class="img-rounded" src="https://secure.gravatar.com/avatar/{{ email_hash }}?d=identicon&s=80"/>
<a href="http://gravatar.com" target="_blank">(change at Gravatar.com)</a>
<br />
</div>
<br /><br />
<label>Timezone</label>
<input type="text" name="timezone" id="timezone" value="UTC" /><br />
<br />
<label>Full name</label>
<input type="text" name="full_name" id="full_name" value="{{ user_profile.full_name }}" /><br />
<label>Short name</label>
<input type="text" name="short_name" id="short_name" value="{{ user_profile.short_name }}" /><br />
<br />
<label>Old password</label>
<input type="text" name="old_password" id="old_password" value="" /><br />
<label>New password</label>
<input type="text" name="new_password" id="new_password" value="" /><br />
<label>Confirm password</label>
<input type="text" name="confirm_password" id="confirm_password" value="" /><br />
<input type="submit" name="change_settings" value="Save changes" class="btn" />
</form>
<div class="alert" id="settings-status"></div>
</div>
</div>