From 0c30e8fd5388d5ed1992d9e35232b8880b1a8c77 Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Sat, 10 Jan 2015 12:30:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- juser/views.py | 2 ++ static/js/inspinia.js | 20 ++++++++++- templates/juser/group_list.html | 64 ++++++++++++++++++--------------- 3 files changed, 57 insertions(+), 29 deletions(-) diff --git a/juser/views.py b/juser/views.py index 59025b313..bfa36fe4e 100644 --- a/juser/views.py +++ b/juser/views.py @@ -63,3 +63,5 @@ def user_add(request): + + diff --git a/static/js/inspinia.js b/static/js/inspinia.js index 239e7f2b4..838636b49 100644 --- a/static/js/inspinia.js +++ b/static/js/inspinia.js @@ -144,6 +144,24 @@ function WinMove() { opacity: 0.8, }) .disableSelection(); -}; +} + +// Checkbox select all +function selectAll(){ + var checklist = document.getElementsByName ("selected"); + if(document.getElementById("select_all").checked) + { + for(var i=0;i
- - - - - - - - - - - {% for group in groups %} - - - - - - - {% endfor %} - -
-
- -
-
ID组名备注
-
- -
-
{{ group.id }}{{ group.name }}{{ group.comment }}
+
+ + + + + + + + + + + {% for group in groups %} + + + + + + + {% endfor %} + +
+
+ +
+
ID组名备注
+
+ +
+
{{ group.id }}{{ group.name }}{{ group.comment }}
+
+
+ + +
+
+