mirror of https://github.com/jumpserver/jumpserver
108 lines
4.6 KiB
HTML
108 lines
4.6 KiB
HTML
{% load i18n %}
|
|
<li id="index">
|
|
<a href="{% url 'index' %}">
|
|
<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="width: 14px"></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>
|
|
<li id="user-group"><a href="{% url 'users:user-group-list' %}">{% trans 'User group' %}</a></li>
|
|
<li id="login-log"><a href="{% url 'users:login-log-list' %}">{% trans 'Login logs' %}</a></li>
|
|
</ul>
|
|
</li>
|
|
<li id="assets">
|
|
<a>
|
|
<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>
|
|
<li id="domain"><a href="{% url 'assets:domain-list' %}">{% trans 'Domain list' %}</a></li>
|
|
<li id="admin-user"><a href="{% url 'assets:admin-user-list' %}">{% trans 'Admin user' %}</a></li>
|
|
<li id="system-user"><a href="{% url 'assets:system-user-list' %}">{% trans 'System user' %}</a></li>
|
|
<li id="label"><a href="{% url 'assets:label-list' %}">{% trans 'Labels' %}</a></li>
|
|
</ul>
|
|
</li>
|
|
<li id="perms">
|
|
<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>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li id="terminal">
|
|
<a>
|
|
<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>
|
|
<li id="session-offline"><a href="{% url 'terminal:session-offline-list' %}">{% trans 'Session offline' %}</a></li>
|
|
<li id="command"><a href="{% url 'terminal:command-list' %}">{% trans 'Commands' %}</a></li>
|
|
<li>
|
|
<a href="{% url 'terminal:web-terminal' %}" target="_blank">
|
|
<span class="nav-label">{% trans 'Web terminal' %}</span>
|
|
</a>
|
|
</li>
|
|
{% if request.user.is_superuser %}
|
|
<li id="terminal"><a href="{% url 'terminal:terminal-list' %}">{% trans 'Terminal' %}</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</li>
|
|
{% if request.user.is_superuser %}
|
|
<li id="ops">
|
|
<a>
|
|
<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>
|
|
</ul>
|
|
</li>
|
|
{% endif %}
|
|
<li id="audits">
|
|
<a>
|
|
<i class="fa fa-history" style="width: 14px"></i> <span class="nav-label">{% trans 'Audits' %}</span><span class="fa arrow"></span>
|
|
</a>
|
|
<ul class="nav nav-second-level">
|
|
<li id="ftp-log"><a href="{% url 'audits:ftp-log-list' %}">{% trans 'FTP log' %}</a></li>
|
|
</ul>
|
|
</li>
|
|
{#<li id="">#}
|
|
{# <a href="#">#}
|
|
{# <i class="fa fa-download"></i> <span class="nav-label">{% trans 'File' %}</span><span class="fa arrow"></span>#}
|
|
{# </a>#}
|
|
{# <ul class="nav nav-second-level">#}
|
|
{# <li id="upload"><a href="">{% trans 'File upload' %}</a></li>#}
|
|
{# <li id="download"><a href="">{% trans 'File download' %}</a></li>#}
|
|
{# </ul>#}
|
|
{#</li>#}
|
|
{% if XPACK_ENABLED %}
|
|
<li id="xpack">
|
|
<a>
|
|
<i class="fa fa-sitemap" style="width: 14px"></i> <span class="nav-label">{% trans 'XPack' %}</span><span class="fa arrow"></span>
|
|
</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>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endif %}
|
|
{% if request.user.is_superuser %}
|
|
<li id="settings">
|
|
<a href="{% url 'settings:basic-setting' %}">
|
|
<i class="fa fa-gears"></i> <span class="nav-label">{% trans 'Settings' %}</span><span class="label label-info pull-right"></span>
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
|
|
<script>
|
|
$(document).ready(function () {
|
|
var current_org = '{{ CURRENT_ORG.name }}';
|
|
console.log(current_org);
|
|
})
|
|
</script> |