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
f2495098
Commit
f2495098
authored
Dec 14, 2015
by
wangyong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://git.coding.net/jumpserver/jumpserver
into dev
parents
c6e0b200
2496f1c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
asset_list.html
templates/jasset/asset_list.html
+1
-1
perm_role_add.html
templates/jperm/perm_role_add.html
+1
-1
perm_role_list.html
templates/jperm/perm_role_list.html
+1
-1
No files found.
templates/jasset/asset_list.html
View file @
f2495098
...
@@ -374,7 +374,7 @@
...
@@ -374,7 +374,7 @@
$
.
ajax
({
$
.
ajax
({
type
:
"post"
,
type
:
"post"
,
data
:
{
asset_id_all
:
asset_id_all
},
data
:
{
asset_id_all
:
asset_id_all
},
url
:
"{% url 'asset_
add
_batch' %}"
,
url
:
"{% url 'asset_
update
_batch' %}"
,
success
:
function
()
{
success
:
function
()
{
parent
.
location
.
reload
();
parent
.
location
.
reload
();
}
}
...
...
templates/jperm/perm_role_add.html
View file @
f2495098
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<label
for=
"role_key"
class=
"col-sm-2 control-label"
>
用户密钥
</label>
<label
for=
"role_key"
class=
"col-sm-2 control-label"
>
用户密钥
</label>
<div
class=
"col-sm-8"
>
<div
class=
"col-sm-8"
>
<textarea
class=
"form-control"
name=
"role_key"
placeholder=
"请复制粘贴私钥"
rows=
"10"
style=
"font-size: 9px;"
></textarea>
<textarea
class=
"form-control"
name=
"role_key"
placeholder=
"请复制粘贴私钥"
rows=
"10"
style=
"font-size: 9px;"
></textarea>
<span
class=
"help-block m-b-none"
>
如果不添加密钥,会自动生成
, 密码密钥必填一项
</span>
<span
class=
"help-block m-b-none"
>
如果不添加密钥,会自动生成
</span>
</div>
</div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"hr-line-dashed"
></div>
...
...
templates/jperm/perm_role_list.html
View file @
f2495098
...
@@ -87,7 +87,7 @@ function remove_role(role_id){
...
@@ -87,7 +87,7 @@ function remove_role(role_id){
if
(
confirm
(
"确认删除"
))
{
if
(
confirm
(
"确认删除"
))
{
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
url
:
"
/jperm/role/perm_role_delete/
"
,
url
:
"
{% url 'role_del' %}
"
,
data
:
"id="
+
role_id
,
data
:
"id="
+
role_id
,
success
:
function
(
msg
){
success
:
function
(
msg
){
alert
(
"成功: "
+
msg
);
alert
(
"成功: "
+
msg
);
...
...
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