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
2950613b
Commit
2950613b
authored
Jun 20, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提示文字
parent
dbcad472
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
admin_user_list.html
apps/assets/templates/assets/admin_user_list.html
+1
-4
domain_list.html
apps/assets/templates/assets/domain_list.html
+8
-3
jumpserver.js
apps/static/js/jumpserver.js
+2
-1
No files found.
apps/assets/templates/assets/admin_user_list.html
View file @
2950613b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{% block help_message %}
{% block help_message %}
<div
class=
"alert alert-info help-message"
>
<div
class=
"alert alert-info help-message"
>
管理用户是
服务器
的root,或拥有 NOPASSWD: ALL sudo权限的用户,Jumpserver使用该用户来 `推送系统用户`、`获取资产硬件信息`等。
管理用户是
资产(被控服务器)上
的root,或拥有 NOPASSWD: ALL sudo权限的用户,Jumpserver使用该用户来 `推送系统用户`、`获取资产硬件信息`等。
Windows或其它硬件可以随意设置一个
Windows或其它硬件可以随意设置一个
</div>
</div>
{% endblock %}
{% endblock %}
...
@@ -107,6 +107,3 @@ $(document).ready(function(){
...
@@ -107,6 +107,3 @@ $(document).ready(function(){
});
});
</script>
</script>
{% endblock %}
{% endblock %}
apps/assets/templates/assets/domain_list.html
View file @
2950613b
{% extends '_base_list.html' %}
{% extends '_base_list.html' %}
{% load i18n static %}
{% load i18n static %}
{% block table_search %}{% endblock %}
{% block table_search %}{% endblock %}
{% block help_message %}
<div
class=
"alert alert-info help-message"
>
网域功能是为了解决部分环境(如:混合云)无法直接连接而新增的功能,原理是通过网关服务器进行跳转登
录。
</div>
{% endblock %}
{% block table_container %}
{% block table_container %}
<div
class=
"uc pull-left m-r-5"
>
<div
class=
"uc pull-left m-r-5"
>
<a
href=
"{% url 'assets:domain-create' %}"
class=
"btn btn-sm btn-primary"
>
{% trans "Create domain" %}
</a>
<a
href=
"{% url 'assets:domain-create' %}"
class=
"btn btn-sm btn-primary"
>
{% trans "Create domain" %}
</a>
...
@@ -69,6 +77,3 @@ $(document).ready(function(){
...
@@ -69,6 +77,3 @@ $(document).ready(function(){
});
});
</script>
</script>
{% endblock %}
{% endblock %}
apps/static/js/jumpserver.js
View file @
2950613b
...
@@ -198,7 +198,8 @@ function objectDelete(obj, name, url, redirectTo) {
...
@@ -198,7 +198,8 @@ function objectDelete(obj, name, url, redirectTo) {
}
}
};
};
var
fail
=
function
()
{
var
fail
=
function
()
{
swal
(
"错误"
,
"删除"
+
"[ "
+
name
+
" ]"
+
"遇到错误"
,
"error"
);
// swal("错误", "删除"+"[ "+name+" ]"+"遇到错误", "error");
swal
(
"错误"
,
"[ "
+
name
+
" ]"
+
"正在被资产使用中,请先解除资产绑定"
,
"error"
);
};
};
APIUpdateAttr
({
APIUpdateAttr
({
url
:
url
,
url
:
url
,
...
...
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