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
c96a107e
Commit
c96a107e
authored
Feb 26, 2018
by
q4speed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对齐菜单文字。修改英文
parent
66b8e8bc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
_nav.html
apps/templates/_nav.html
+7
-6
_nav_user.html
apps/templates/_nav_user.html
+4
-3
index.html
apps/templates/index.html
+3
-3
No files found.
apps/templates/_nav.html
View file @
c96a107e
{% load i18n %}
<li
id=
"index"
>
<a
href=
"{% url 'index' %}"
>
<i
class=
"fa fa-dashboard"
style=
"font-size: 13px"
></i>
<span
class=
"nav-label"
>
{% trans 'Dashboard' %}
</span><span
class=
"label label-info pull-right"
></span>
<i
class=
"fa fa-dashboard"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Dashboard' %}
</span><span
class=
"label label-info pull-right"
></span>
</a>
</li>
<li
id=
"users"
>
<a
href=
"#"
>
<i
class=
"fa fa-group"
style=
"
font-size: 13
px"
></i>
<span
class=
"nav-label"
>
{% trans 'Users' %}
</span><span
class=
"fa arrow"
></span>
<i
class=
"fa fa-group"
style=
"
width: 14
px"
></i>
<span
class=
"nav-label"
>
{% trans 'Users' %}
</span><span
class=
"fa arrow"
></span>
</a>
<ul
class=
"nav nav-second-level active"
>
<li
id=
"user"
><a
href=
"{% url 'users:user-list' %}"
>
{% trans 'User list' %}
</a></li>
...
...
@@ -16,7 +17,7 @@
</li>
<li
id=
"assets"
>
<a>
<i
class=
"fa fa-inbox"
></i>
<span
class=
"nav-label"
>
{% trans 'Assets' %}
</span><span
class=
"fa arrow"
></span>
<i
class=
"fa fa-inbox"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Assets' %}
</span><span
class=
"fa arrow"
></span>
</a>
<ul
class=
"nav nav-second-level"
>
<li
id=
"asset"
><a
href=
"{% url 'assets:asset-list' %}"
>
{% trans 'Asset list' %}
</a></li>
...
...
@@ -26,7 +27,7 @@
</ul>
</li>
<li
id=
"perms"
>
<a
href=
"#"
><i
class=
"fa fa-edit"
></i>
<span
class=
"nav-label"
>
{% trans 'Perms' %}
</span><span
class=
"fa arrow"
></span></a>
<a
href=
"#"
><i
class=
"fa fa-edit"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Perms' %}
</span><span
class=
"fa arrow"
></span></a>
<ul
class=
"nav nav-second-level"
>
<li
id=
"asset-permission"
>
<a
href=
"{% url 'perms:asset-permission-list' %}"
>
{% trans 'Asset permission' %}
</a>
...
...
@@ -35,7 +36,7 @@
</li>
<li
id=
"terminal"
>
<a>
<i
class=
"fa fa-rocket"
></i>
<span
class=
"nav-label"
>
{% trans 'Sessions' %}
</span><span
class=
"fa arrow"
></span>
<i
class=
"fa fa-rocket"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Sessions' %}
</span><span
class=
"fa arrow"
></span>
</a>
<ul
class=
"nav nav-second-level"
>
<li
id=
"session-online"
><a
href=
"{% url 'terminal:session-online-list' %}"
>
{% trans 'Session online' %}
</a></li>
...
...
@@ -46,7 +47,7 @@
</li>
<li
id=
"ops"
>
<a>
<i
class=
"fa fa-coffee"
></i>
<span
class=
"nav-label"
>
{% trans 'Job Center' %}
</span><span
class=
"fa arrow"
></span>
<i
class=
"fa fa-coffee"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Job Center' %}
</span><span
class=
"fa arrow"
></span>
</a>
<ul
class=
"nav nav-second-level"
>
<li
id=
"task"
><a
href=
"{% url 'ops:task-list' %}"
>
{% trans 'Task list' %}
</a></li>
...
...
apps/templates/_nav_user.html
View file @
c96a107e
{% load i18n %}
<li
id=
"assets"
>
<a
href=
"{% url 'assets:user-asset-list' %}"
>
<i
class=
"fa fa-files-o"
></i><span
class=
"nav-label"
>
{% trans 'My assets' %}
</span><span
class=
"label label-info pull-right"
></span>
<i
class=
"fa fa-files-o"
style=
"width: 14px"
></i><span
class=
"nav-label"
>
{% trans 'My assets' %}
</span><span
class=
"label label-info pull-right"
></span>
</a>
</li>
<li
id=
"users"
>
<a
href=
"{% url 'users:user-profile' %}"
>
<i
class=
"fa fa-user"
></i>
<span
class=
"nav-label"
>
{% trans 'Profile' %}
</span><span
class=
"label label-info pull-right"
></span>
<i
class=
"fa fa-user"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Profile' %}
</span><span
class=
"label label-info pull-right"
></span>
</a>
</li>
<li
>
<a
href=
"{% url 'terminal:web-terminal' %}"
target=
"_blank"
><i
class=
"fa fa-window-maximize"
></i>
<a
href=
"{% url 'terminal:web-terminal' %}"
target=
"_blank"
><i
class=
"fa fa-window-maximize"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Web terminal' %}
</span>
</a>
</li>
\ No newline at end of file
apps/templates/index.html
View file @
c96a107e
...
...
@@ -11,7 +11,7 @@
</div>
<div
class=
"ibox-content"
>
<h1
class=
"no-margins"
><a
href=
"{% url 'users:user-list' %}"
>
{{ users_count }}
</a></h1>
<small>
All user
</small>
<small>
All user
s
</small>
</div>
</div>
</div>
...
...
@@ -23,7 +23,7 @@
</div>
<div
class=
"ibox-content"
>
<h1
class=
"no-margins"
><a
href=
"{% url 'assets:asset-list' %}"
>
{{ assets_count }}
</a></h1>
<small>
All host
</small>
<small>
All host
s
</small>
</div>
</div>
</div>
...
...
@@ -36,7 +36,7 @@
</div>
<div
class=
"ibox-content"
>
<h1
class=
"no-margins"
><a
href=
"{% url 'terminal:session-online-list' %}"
>
<span
id=
"online_users"
></span>
{{ online_user_count }}
</a></h1>
<small>
Online user
</small>
<small>
Online user
s
</small>
</div>
</div>
</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