diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:30 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:30 +0800 |
commit | 4347c2947834fe7f2edf2b457b2d513454fc6a03 (patch) | |
tree | 93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/authopenid/settings.html | |
download | askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.gz askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.bz2 askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.zip |
initiliaze git rep
Diffstat (limited to 'templates/authopenid/settings.html')
-rw-r--r-- | templates/authopenid/settings.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/authopenid/settings.html b/templates/authopenid/settings.html new file mode 100644 index 00000000..c765b989 --- /dev/null +++ b/templates/authopenid/settings.html @@ -0,0 +1,41 @@ +{% extends "base_content.html" %} +{% load i18n %} + +{% block head %} +<style type="text/css" media="screen"> + h4 {font-size:12pt;} + dt, dd { padding:0 0 0.35em 0; } + dt { float: left; width: 21ex; } + dd { margin-left: 23ex; } + + #settings-options, #settings-intro { padding: 4em 1.5em;} + #settings-options { min-height: 300px; border-left: 1px solid #333;} + + #settings-options h5 { font-weight: bold;} +</style> +{% endblock %} + +{% block content %} +<div id="main-bar"> + <h3><strong>{{ request.user.username }}账户设置</strong></h3> +</div> +<div id="settings-options"> + {% if msg %} + <p class="error">{{ msg }}</p> + {% endif %} + + <dl class="list-item"> + <dt>» <a href="{% url user_changepw %}">修改密码</a></dt> + <dd>{% trans "Give your account a new password." %}</dd> + <dt>» <a href="{% url user_changeemail %}">更换电子邮件</a></dt> + <dd>{% trans "Add or update the email address associated with your account." %}</dd> + {% if is_openid %} + <dt>» <a href="{% url user_changeopenid %}">更换OpenID地址</a></dt> + <dd>{% trans "Change openid associated to your account" %}</dd> + {% endif %} + + <dt>» <a href="{% url user_delete %}">删除帐号</a></dt> + <dd>{% trans "Erase your username and all your data from website" %}</dd> + </dl> +</div> +{% endblock %} |