pull/26/head
ibuler 2015-12-12 23:09:58 +08:00
parent 30b5f74c51
commit 97bfbe24b8
3 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@
title: title,
maxmin: true,
shade: false,
area: ['725', '600px'],
area: ['725px', '600px'],
content: new_url+data+'&check_assets='+check_assets
});
//window.open(new_url + data, '', 'location=no, resizeable=no, height=410, width=625, top=89px, left=99px,toolbar=no,menubar=no,scrollbars=auto,status=no');

View File

@ -23,7 +23,7 @@
</div>
</div>
<div class="ibox-content">
<form method="post" id="userForm" class="form-horizontal" action="/juser/user_edit/?id={{ user.id }}">
<form method="post" id="userForm" class="form-horizontal" action="{% url 'user_edit' %}?id={{ user.id }}">
{% if error %}
<div class="alert alert-warning text-center">{{ error }}</div>
{% endif %}

View File

@ -74,7 +74,7 @@
{% endif %}
</td>
<td class="text-center">
<a href="{% url 'user_edit' %}/?id={{ user.id }}" class="btn btn-xs btn-info">编辑</a>
<a href="{% url 'user_edit' %}?id={{ user.id }}" class="btn btn-xs btn-info">编辑</a>
<a value="{{ user.uuid }}" class="btn btn-xs btn-warning email">Email</a>
<a value="{% url 'user_del' %}?id={{ user.id }}" class="btn btn-xs btn-danger del {% if user.username == 'admin' %} disabled {% endif %}">删除</a>
</td>