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/complete.html | |
download | askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.gz askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.bz2 askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.zip |
initiliaze git rep
Diffstat (limited to 'templates/authopenid/complete.html')
-rw-r--r-- | templates/authopenid/complete.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/templates/authopenid/complete.html b/templates/authopenid/complete.html new file mode 100644 index 00000000..fd243f28 --- /dev/null +++ b/templates/authopenid/complete.html @@ -0,0 +1,66 @@ +{% extends "base.html" %} +{% block head %}{% endblock %} +{% block title %}{% spaceless %}绑定OpenID{% endspaceless %}{% endblock %} +{% block content %} + <div id="main-bar" class="headNormal"> + 绑定OpenID帐号 + + </div> + <p id="completetxt" > + <h3>您的OpenID帐号已经验证通过! 请完成最后一步 - 绑定OpenID到您的帐号。</h3> + <p style="display:none">输入您的新帐号或者指定已经存在的帐号。</p> + </p> + + {% if form1.errors %} + <p class="errors"> + <span class="big">请注意以下错误:</span><br> + <ul class="error-list"> + {% if form1.username.errors %} + <li><span class="error">{{ form1.username.errors|join:", " }}</span></li> + {% endif %} + {% if form1.email.errors %} + <li><span class="error">{{ form1.email.errors|join:", " }}</span></li> + {% endif %} + </ul> + </p> + {% endif %} + {% if form2.errors %} + <p class="errors"> + <span class="big">请注意以下错误:</span><br> + <ul class="error-list"> + {% if form2.username.errors %} + <li><span class="error">{{ form2.username.errors|join:", " }}</span></li> + {% endif %} + {% if form2.password.errors %} + <li><span class="error">{{ form2.password.errors|join:", " }}</span></li> + {% endif %} + </ul> + </p> + {% endif %} + + <div class="login"> + <form name="fregister" action="{% url user_register %}" method="POST"> + {{ form.next }} + <fieldset style="padding:10px"> + <legend class="big">新帐号</legend> + <div class="form-row"><label for="id_username">用户名(<i>在社区显示友好名称,不可更改</i>)</label><br />{{ form1.username }}</div> + <div class="form-row"><label for="id_email">电子邮件(<i>用于头像显示服务</i>)</label><br />{{ form1.email }}</div> + <div class="submit-row"><input type="submit" class="submit" name="bnewaccount" value="创建帐号"></div> + </fieldset> + </form> + </div> + <div class="login" style="display:none"> + <form name="fverify" action="{% url user_register %}" method="POST"> + {{ form.next }} + <fieldset style="padding:10px"> + <legend class="big">已经存在的用户</legend> + <div class="form-row"><label for="id_username">用户名</label><br />{{ form2.username }}</div> + <div class="form-row"><label for="id_passwordl">密码</label><br />{{ form2.password }}</div> + <div class="submit-row"><input type="submit" class="submit" name="bverify" value="确认"> <a href="">忘记密码?</a></div> + </fieldset> + </form> + </div> +{% endblock %} + + + |