2012-10-16 06:03:29 +02:00
|
|
|
{# Settings tab of the app. #}
|
|
|
|
|
2012-10-05 17:46:07 +02:00
|
|
|
<div class="row-fluid">
|
2012-10-04 22:59:18 +02:00
|
|
|
<div id="current_settings" class="span9">
|
|
|
|
<h1>Settings</h1>
|
|
|
|
|
2012-10-16 21:42:40 +02:00
|
|
|
<form action="/json/settings/change/" method="post" class="settings">{% csrf_token %}
|
2012-09-21 19:32:01 +02:00
|
|
|
<label>Email</label>
|
|
|
|
<b>{{ user_profile.user.email }}</b> <a href="/settings/change-email">(change?)</a><br /><br />
|
|
|
|
<div id="Photo">
|
|
|
|
<label>Photo</label>
|
2012-09-27 20:55:53 +02:00
|
|
|
<img class="img-rounded" src="https://secure.gravatar.com/avatar/{{ email_hash }}?d=identicon&s=80"/>
|
2012-10-04 22:46:20 +02:00
|
|
|
<a href="http://gravatar.com" target="_blank">(change at Gravatar.com)</a>
|
2012-09-21 19:32:01 +02:00
|
|
|
<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>
|
|
|
|
|