diff --git a/jperm/views.py b/jperm/views.py index 559b002a1..54b08d353 100644 --- a/jperm/views.py +++ b/jperm/views.py @@ -28,6 +28,13 @@ def perm_host(request): return render_to_response('jperm/perm_host.html', locals()) +def perm_edit(request): + header_title, path1, path2 = u'授权编辑 | Perm Edit.', u'jperm', u'perm_edit' + if request.method == 'GET': + if request.GET.get('id', None): + pass + + def perm_add(request): header_title, path1, path2 = u'添加授权 | Add User perm.', u'授权管理', u'添加授权' if request.method == 'GET': diff --git a/templates/jperm/perm_edit.html b/templates/jperm/perm_edit.html new file mode 100644 index 000000000..79d151674 --- /dev/null +++ b/templates/jperm/perm_edit.html @@ -0,0 +1,78 @@ +{% extends 'base.html' %} +{% load mytags %} + +{% block content %} + {% include 'nav_cat_bar.html' %} +
+ +{% endblock %} \ No newline at end of file