key目录变化

This commit is contained in:
ibuler
2015-11-16 22:45:41 +08:00
parent 71ef4b079a
commit 67771105ae
8 changed files with 24 additions and 70 deletions

View File

@@ -43,7 +43,7 @@
<thead>
<tr>
<th class="text-center">
<input type="checkbox" id="select_all" onclick="selectAll()" name="select_all">
<input type="checkbox" id="check_all" onclick="checkAll()" name="check_all">
</th>
<th class="text-center">组名</th>
<th class="text-center">成员数目</th>
@@ -55,7 +55,7 @@
{% for group in user_groups.object_list %}
<tr class="gradeX">
<td class="text-center">
<input type="checkbox" name="selected" value="{{ group.id }}">
<input type="checkbox" name="checked" value="{{ group.id }}">
</td>
<td class="text-center"> {{ group.name }} </td>
<td class="text-center"><a href="/juser/user_list/?gid={{ group.id }}"> {{ group.id | members_count }}</a> </td>

View File

@@ -93,10 +93,10 @@
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group"><label class="col-sm-2 control-label">额外</label>
<div class="form-group"><label class="col-sm-2 control-label">其它</label>
<div class="col-sm-2">
<div class="checkbox i-checks">
<label><input type="checkbox" value="0" name="extra" ></label>
<label><input type="checkbox" value="0" name="extra" ></label>
</div>
</div>
<div class="col-sm-2">

View File

@@ -40,7 +40,7 @@
<div class="form-group">
<label for="password" class="col-sm-2 control-label">密码</label>
<div class="col-sm-8">
<input id="password" name="password" placeholder="Password" type="password" class="form-control">
<input id="password" name="password" placeholder="Password" type="password" class="form-control" value="{{ user.password }}">
<span class="help-block m-b-none">
登陆web的密码
</span>

View File

@@ -42,7 +42,7 @@
<thead>
<tr>
<th class="text-center">
<input type="checkbox" id="select_all" onclick="selectAll()" name="select_all">
<input type="checkbox" id="check_all" onclick="checkAll()">
</th>
<th class="text-center">用户名</th>
<th class="text-center">姓名</th>
@@ -57,7 +57,7 @@
{% for user in users.object_list %}
<tr class="gradeX">
<td class="text-center">
<input type="checkbox" name="selected" value="{{ user.id }}">
<input type="checkbox" name="checked" value="{{ user.id }}">
</td>
<td class="text-center"> {{ user.username }} </td>
<td class="text-center"> {{ user.name }} </td>

View File

@@ -55,9 +55,7 @@
searchArray.pop();
}
console.log(searchStr);
searchArray.push(old_href);
console.log(searchArray);
if (searchArray.length > 1) {
$(this).attr('href', searchArray.join('&'));
}