From 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f Mon Sep 17 00:00:00 2001 From: Mike Chen Date: Sun, 5 Jul 2009 10:23:06 +0800 Subject: initiliaze git rep --- templates/authopenid/signin.html | 96 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 templates/authopenid/signin.html (limited to 'templates/authopenid/signin.html') diff --git a/templates/authopenid/signin.html b/templates/authopenid/signin.html new file mode 100644 index 00000000..9c5511f2 --- /dev/null +++ b/templates/authopenid/signin.html @@ -0,0 +1,96 @@ +{% extends "base.html" %} +{% block title %}{% spaceless %}用户登录{% endspaceless %}{% endblock %} +{% block forejs %} + + + +{% endblock %} +{% block content %} +
+ 用户登录 +
+
+
+ {{ form2.next }} +

CNProg支持两种登录模式。您可以使用帐号、密码登录,或者使用OpenID登录。

+ {% if msg %} +

{{ msg }}

+ {% endif %} +
+ 使用OpenID登录 +
+

请选择您的帐号类型并完成正确的OpenID地址(如:替换“{username}”为您的对应帐号):

+
+
+
+
+

+

+ {{ form2.openid_url }} +

+
+
+
+
+ {% if form1.errors %} +

+ 请注意以下错误:
+

    + {% if form1.username.errors %} +
  • {{ form1.username.errors|join:", " }}
  • + {% endif %} + {% if form1.password.errors %} +
  • {{ form1.password.errors|join:", " }}
  • + {% endif %} +
+

+ {% endif %} +
+
+ {{ form1.next }} +
+ 使用帐号密码登录 +

{{ form1.username }}
+

{{ form1.password }}
+ + +
+
+
+
+{% endblock %} + +{% block sidebar %} +
+

为什么需要OpenID登录?

+

+

+ 查看更多 »
+ 获取OpenID » +

+
+
+{% endblock%} + -- cgit v1.2.3-1-g7c22