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
6a565d0a
Commit
6a565d0a
authored
Apr 11, 2015
by
guanghongwei
Browse files
Options
Browse Files
Download
Plain Diff
reslove
parents
12df8cf0
2e254af9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
views.py
jasset/views.py
+1
-1
group_list.html
templates/jasset/group_list.html
+1
-1
No files found.
jasset/views.py
View file @
6a565d0a
...
...
@@ -448,7 +448,7 @@ def idc_edit(request):
i
=
IDC
.
objects
.
get
(
name
=
'默认'
)
Asset
.
objects
.
filter
(
id
=
host
)
.
update
(
idc
=
i
)
return
HttpResponseRedirect
(
'/jasset/idc_
detail/?id=
%
s
'
%
idc_id
)
return
HttpResponseRedirect
(
'/jasset/idc_
list/
'
%
idc_id
)
return
render_to_response
(
'jasset/idc_add.html'
,
locals
(),
context_instance
=
RequestContext
(
request
))
...
...
templates/jasset/group_list.html
View file @
6a565d0a
...
...
@@ -87,7 +87,7 @@
url
:
"/jasset/group_del/multi/"
,
data
:
{
"id_list"
:
id_list
,
"len_list"
:
j
},
success
:
function
(
data
)
{
window
.
open
(
"/jasset/
j
group_list/"
,
"_self"
);
window
.
open
(
"/jasset/group_list/"
,
"_self"
);
}
});
}
...
...
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