From fb525728c01692d00330a75432b51cfbf206a7f1 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 9 Jan 2015 22:10:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9F=A5=E7=9C=8B=E5=B1=9E?= =?UTF-8?q?=E7=BB=84.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- juser/urls.py | 2 + juser/views.py | 8 ++++ templates/juser/group_list.html | 66 +++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 templates/juser/group_list.html diff --git a/juser/urls.py b/juser/urls.py index 01117d57a..326f2df7e 100644 --- a/juser/urls.py +++ b/juser/urls.py @@ -7,5 +7,7 @@ urlpatterns = patterns('juser.views', # url(r'^blog/', include('blog.urls')), (r'^user_add/$', 'user_add'), + (r'^user_list/$', 'user_list'), (r'^group_add/$', 'group_add'), + (r'^group_list/$', 'group_list'), ) diff --git a/juser/views.py b/juser/views.py index 97b7e5730..1368ff785 100644 --- a/juser/views.py +++ b/juser/views.py @@ -43,6 +43,14 @@ def group_add(request): 'error': error, 'msg': msg}) +def group_list(request): + return render_to_response('juser/group_list.html') + + +def user_list(request): + pass + + def user_add(request): return render_to_response('juser/user_add.html', {'header_title': u'添加用户 | Add User', 'path1': 'juser', 'path2': 'user_add'}) diff --git a/templates/juser/group_list.html b/templates/juser/group_list.html new file mode 100644 index 000000000..a52c54853 --- /dev/null +++ b/templates/juser/group_list.html @@ -0,0 +1,66 @@ +{% extends 'base.html' %} + +{% block content %} + {% include 'nav_cat_bar.html' %} +
+
+
+
+
+
属组信息 show group info.
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#DataUserValue
1Samantha 40%
2Jacob -20%
3Damien 26%
+
+
+
+
+
+{% endblock %} \ No newline at end of file