Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
ac924988
Commit
ac924988
authored
Mar 07, 2015
by
guanghongwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 权限修改为 submit
parent
a94c050f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
views.py
juser/views.py
+1
-1
perm_list.html
templates/jperm/perm_list.html
+1
-1
No files found.
juser/views.py
View file @
ac924988
...
...
@@ -460,7 +460,7 @@ def group_edit(request):
def
user_add
(
request
):
error
=
''
msg
=
''
header_title
,
path1
,
path2
=
'添加用户
| User Add
'
,
'用户管理'
,
'添加用户'
header_title
,
path1
,
path2
=
'添加用户'
,
'用户管理'
,
'添加用户'
user_role
=
{
'SU'
:
u'超级管理员'
,
'DA'
:
u'部门管理员'
,
'CU'
:
u'普通用户'
}
dept_all
=
DEPT
.
objects
.
all
()
group_all
=
UserGroup
.
objects
.
all
()
...
...
templates/jperm/perm_list.html
View file @
ac924988
...
...
@@ -39,7 +39,7 @@
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control input-sm"
id=
"search_input"
name=
"search"
placeholder=
"Search"
>
<div
class=
"input-group-btn"
>
<button
id=
'search_btn'
type=
"
button
"
class=
"btn btn-sm btn-primary"
>
<button
id=
'search_btn'
type=
"
submit
"
class=
"btn btn-sm btn-primary"
>
Search
</button>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment