diff options
author | Alvin Li <liweitianux@gmail.com> | 2013-08-13 14:13:24 +0800 |
---|---|---|
committer | Alvin Li <liweitianux@gmail.com> | 2013-08-13 14:13:24 +0800 |
commit | 9636d4a6767f49384d5c386bc3f1142c88b90613 (patch) | |
tree | 3a70f6d9e4be1791d36c87cc7cbfd1d5aa2b39dd /97suifangqa/templates/registration | |
parent | 9383d9a8a5988d071766c3d08a5c946e9c5b02ae (diff) | |
download | 97dev-9636d4a6767f49384d5c386bc3f1142c88b90613.tar.bz2 |
cloned from 'bitbucket', 2013/08/13
Diffstat (limited to '97suifangqa/templates/registration')
11 files changed, 71 insertions, 0 deletions
diff --git a/97suifangqa/templates/registration/login.html b/97suifangqa/templates/registration/login.html new file mode 100644 index 0000000..d0e98fc --- /dev/null +++ b/97suifangqa/templates/registration/login.html @@ -0,0 +1,47 @@ +{% extends "picture-base.html" %} +{% load staticfiles %} +{% block bodyclasses %}{{ block.super }} registration login{% endblock %} +{% block othercss %} +<link rel="stylesheet" href="{% static "stylesheets/sass/registration.css" %}"> +{% endblock %} +{% block body %} +<h2>登录97随访 科学了解乙肝治疗</h2> +<p></p> +<p> + <img src="{% static "images/sinalogo.png" %}" alt="" style="width: 2.5em; vertical-align: middle;"> + 新浪微博账号登录 +</p> + + +<p> + <img src="{% static "images/qqlogo.png" %}" alt="" style="width: 2.5em; vertical-align: middle;"> + 腾讯QQ账号登录 +</p> + +<form method="post">{% csrf_token %} + + <table class="reg-form login-form"> + <tr> + <td class="login-prompt"> + <span class="prompt">或者直接用邮箱登陆</span> + </td> + <td></td> + </tr> + <tr> + <td> + <input type="text" name="{{ form.username.name }}" value="{{ form.username.value|default_if_none:"" }}" maxlength="80" placeholder="{{ form.username.label }}" class="username "> + </td> + <td rowspan="2" class="error"> + {{form.non_field_errors|first}} + </td> + </tr> + <tr> + <td><input type="password" name="{{ form.password.name }}" placeholder="{{ form.password.label }}" class="password"></td> + </tr> + </table> + + <input type="hidden" name="next" value="{{ next }}" /> + <input type="submit" value="登 录" class="submit login"/>   |   + <a href="{% url profile.views.signup %}">还没有帐号?</a> +</form> +{% endblock body%} diff --git a/97suifangqa/templates/registration/logout.html b/97suifangqa/templates/registration/logout.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/logout.html diff --git a/97suifangqa/templates/registration/password_change_done.html b/97suifangqa/templates/registration/password_change_done.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_change_done.html diff --git a/97suifangqa/templates/registration/password_change_form.html b/97suifangqa/templates/registration/password_change_form.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_change_form.html diff --git a/97suifangqa/templates/registration/password_reset_complete.html b/97suifangqa/templates/registration/password_reset_complete.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_reset_complete.html diff --git a/97suifangqa/templates/registration/password_reset_confirm.html b/97suifangqa/templates/registration/password_reset_confirm.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_reset_confirm.html diff --git a/97suifangqa/templates/registration/password_reset_done.html b/97suifangqa/templates/registration/password_reset_done.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_reset_done.html diff --git a/97suifangqa/templates/registration/password_reset_email.html b/97suifangqa/templates/registration/password_reset_email.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_reset_email.html diff --git a/97suifangqa/templates/registration/password_reset_form.html b/97suifangqa/templates/registration/password_reset_form.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_reset_form.html diff --git a/97suifangqa/templates/registration/password_reset_subject.txt b/97suifangqa/templates/registration/password_reset_subject.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/97suifangqa/templates/registration/password_reset_subject.txt diff --git a/97suifangqa/templates/registration/signup.html b/97suifangqa/templates/registration/signup.html new file mode 100644 index 0000000..935dde2 --- /dev/null +++ b/97suifangqa/templates/registration/signup.html @@ -0,0 +1,24 @@ +{% extends "picture-base.html" %} +{% load staticfiles %} +{% block bodyclasses %}{{ block.super }} registration signup{% endblock %} +{% block othercss %} +<link rel="stylesheet" href="{% static "stylesheets/sass/registration.css" %}"> +{% endblock %} +{% block body %} +<h2>注册97随访 科学了解乙肝治疗</h2> +<form method="post">{% csrf_token %} + <table class="reg-form register-form"> + {% for item in form %} + <tr> + <td> + <input type="{{ item.field.widget.input_type }}" name="{{ item.name }}" {% if item.field.widget.input_type == "text" %}value="{{ item.value|default_if_none:"" }}"{% endif %} placeholder="{{ item.label }}" class="{{ item.name }}"> + </td> + <td class="error">{{ item.errors|join:"" }}</td> + </tr> + {% endfor %} + </table> + + <input type="submit" value="注册完毕" class="submit register"/>   | +   <a href="{% url apps.profile.views.login %}">已有账号</a> +</form> +{% endblock body %} |