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
e1235997
Commit
e1235997
authored
Mar 05, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改一些bug和文案
parent
bd4f9613
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
+13
-6
asset_list.html
apps/assets/templates/assets/asset_list.html
+2
-0
group.py
apps/users/models/group.py
+1
-0
user.py
apps/users/models/user.py
+1
-0
login.html
apps/users/templates/users/login.html
+9
-6
No files found.
apps/assets/templates/assets/asset_list.html
View file @
e1235997
...
@@ -230,7 +230,9 @@ function editTreeNode() {
...
@@ -230,7 +230,9 @@ function editTreeNode() {
if
(
!
current_node
){
if
(
!
current_node
){
return
return
}
}
if
(
current_node
.
value
)
{
current_node
.
name
=
current_node
.
value
;
current_node
.
name
=
current_node
.
value
;
}
zTree
.
editName
(
current_node
);
zTree
.
editName
(
current_node
);
}
}
...
...
apps/users/models/group.py
View file @
e1235997
...
@@ -22,6 +22,7 @@ class UserGroup(NoDeleteModelMixin):
...
@@ -22,6 +22,7 @@ class UserGroup(NoDeleteModelMixin):
class
Meta
:
class
Meta
:
ordering
=
[
'name'
]
ordering
=
[
'name'
]
verbose_name
=
_
(
"User group"
)
@classmethod
@classmethod
def
initial
(
cls
):
def
initial
(
cls
):
...
...
apps/users/models/user.py
View file @
e1235997
...
@@ -251,6 +251,7 @@ class User(AbstractUser):
...
@@ -251,6 +251,7 @@ class User(AbstractUser):
class
Meta
:
class
Meta
:
ordering
=
[
'username'
]
ordering
=
[
'username'
]
verbose_name
=
_
(
"User"
)
#: Use this method initial user
#: Use this method initial user
@classmethod
@classmethod
...
...
apps/users/templates/users/login.html
View file @
e1235997
...
@@ -22,24 +22,27 @@
...
@@ -22,24 +22,27 @@
<div
class=
"loginColumns animated fadeInDown"
>
<div
class=
"loginColumns animated fadeInDown"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<div
class=
"col-md-6"
>
<h2
class=
"font-bold"
>
欢迎使用Jumpserver开源
跳板
机
</h2>
<h2
class=
"font-bold"
>
欢迎使用Jumpserver开源
堡垒
机
</h2>
<p>
<p>
符合4A规范的专业运维审计系统:拥有跳板机的所有功能,认证,授权,审计,文件上传;
全球首款完全开源的堡垒机,使用GNU GPL v2.0开源协议,是符合 4A 的专业运维审计系统。
</p>
</p>
<p>
<p>
极致的用户使用体验:拥有时尚外观是区别与以往版本和其他软件的铭牌,高雅的气质让你爱不释手;
使用Python / Django 进行开发,遵循 Web 2.0 规范,配备了业界领先的 Web Terminal 解决方案,交互界面美观、用户体验好。
</p>
</p>
<p>
<p>
混合云环境下的堡垒机:怎么能容忍传统堡垒机的繁琐步骤,Jumpserver让你极致省力;
采纳分布式架构,支持多机房跨区域部署,中心节点提供 API,各机房部署登录节点,可横向扩展、无并发访问限制。
</p>
</p>
<p>
<p>
<small>
改变世界,从一点点开始。
</small>
改变世界,从一点点开始。
</p>
</p>
</div>
</div>
<div
class=
"col-md-6"
>
<div
class=
"col-md-6"
>
<div
class=
"ibox-content"
>
<div
class=
"ibox-content"
>
<div><img
src=
"{% static 'img/logo.png' %}"
width=
"82"
height=
"82"
>
<span
class=
"font-bold text-center"
style=
"font-size: 32px; font-family: inherit"
>
{% trans 'Login' %}
</span></div>
<div>
<img
src=
"{% static 'img/logo.png' %}"
width=
"60"
height=
"60"
>
<span
class=
"font-bold text-center"
style=
"font-size: 24px; font-family: inherit; margin-left: 20px"
>
{% trans 'Login' %}
</span>
</div>
<form
class=
"m-t"
role=
"form"
method=
"post"
action=
""
>
<form
class=
"m-t"
role=
"form"
method=
"post"
action=
""
>
{% csrf_token %}
{% csrf_token %}
{% if form.errors %}
{% if form.errors %}
...
...
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