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
1ec77c5b
Commit
1ec77c5b
authored
Oct 12, 2018
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 添加3级导航菜单-云管理模块
parent
21c71aba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
_nav.html
apps/templates/_nav.html
+11
-3
No files found.
apps/templates/_nav.html
View file @
1ec77c5b
...
...
@@ -95,10 +95,18 @@
</a>
<ul
class=
"nav nav-second-level"
>
{% for plugin in XPACK_PLUGINS %}
<li
id=
"{{ plugin.name }}"
><a
href=
"{{ plugin.endpoint }}"
>
{% trans plugin.verbose_name %}
</a></li>
{% ifequal plugin.name 'cloud'%}
<li
id=
"{{ plugin.name }}"
>
<a
href=
"#"
><span
class=
"nav-label"
>
{% trans plugin.verbose_name %}
</span><span
class=
"fa arrow"
></span></a>
<ul
class=
"nav nav-third-level"
>
<li
id=
"account"
><a
href=
"{% url 'xpack:cloud:account-list' %}"
>
{% trans 'Account list' %}
</a></li>
<li
id=
"sync-task"
><a
href=
"{% url 'xpack:cloud:sync-task-list' %}"
>
{% trans 'Sync task list' %}
</a></li>
</ul>
</li>
{% else %}
<li
id=
"{{ plugin.name }}"
><a
href=
"{{ plugin.endpoint }}"
>
{% trans plugin.verbose_name %}
</a></li>
{% endifequal %}
{% endfor %}
<li
id=
"id_cloud_account"
><a
href=
"{% url 'xpack:cloud:account-list' %}"
>
{% trans 'Account list' %}
</a></li>
<li
id=
"id_cloud_sync_task"
><a
href=
"{% url 'xpack:cloud:sync-task-list' %}"
>
{% trans 'Sync task list' %}
</a></li>
</ul>
</li>
{% endif %}
...
...
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