mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
87 lines
4.5 KiB
HTML
87 lines
4.5 KiB
HTML
<div class="navbar navbar-inverse navbar-fixed-top fh-fixedHeader" role="navigation">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="sr-only">{{ _('Toggle navigation') }}</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="{{ url_for('view.home') }}">Burp-UI</a>
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="detail {% if about %}active{% endif %}">
|
|
<a href="{{ url_for('view.about') }}">
|
|
<i class="fa fa-question-circle" aria-hidden="true"></i><span class="dtl"> {{ _('About') }}</span>
|
|
</a>
|
|
</li>
|
|
{% if not login -%}
|
|
{% if not config.STANDALONE -%}
|
|
<li class="detail {% if not server and not about and not me and not admin %}active{% endif %}">
|
|
<a href="{{ url_for('view.home') }}">
|
|
<span class="glyphicon glyphicon-hdd" aria-hidden="true"></span><span class="dtl"> {{ _('Servers') }}</span>
|
|
</a>
|
|
</li>
|
|
{% if server -%}
|
|
<li class="detail {% if clients %}active{% endif %}">
|
|
<a href="{{ url_for('view.clients', server=server) }}">
|
|
<i class="fa fa-tasks" aria-hidden="true"></i><span class="dtl"> {{ _('Clients') }}</span>
|
|
</a>
|
|
</li>
|
|
{% endif -%}
|
|
{% else -%}
|
|
<li class="detail {% if clients %}active{% endif %}">
|
|
<a href="{{ url_for('view.home') }}">
|
|
<i class="fa fa-tasks" aria-hidden="true"></i><span class="dtl"> {{ _('Clients') }}</span>
|
|
</a>
|
|
</li>
|
|
{% endif -%}
|
|
{% if config.STANDALONE or server or me -%}
|
|
{% if current_user and current_user.is_authenticated and (current_user.is_admin or current_user.is_moderator) -%}
|
|
<li class="detail {% if settings %}active{% endif %}">
|
|
<a href="{{ url_for('view.settings', server=server) }}">
|
|
<i class="fa fa-wrench" aria-hidden="true"></i><span class="dtl"> {{ _('Burp Settings') }}</span>
|
|
</a>
|
|
</li>
|
|
{% endif -%}
|
|
{% endif -%}
|
|
<li class="detail {% if live %}active{% endif %}">
|
|
<a href="{{ url_for('view.live_monitor', server=server) }}">
|
|
<i class="fa fa-terminal" id="toblink" aria-hidden="true"></i><span class="dtl"> {{ _('Live monitor') }}</span>
|
|
</a>
|
|
</li>
|
|
{% if current_user and current_user.is_authenticated -%}
|
|
{% if current_user.is_admin or current_user.is_moderator -%}
|
|
<li class="detail {% if admin %}active{% endif %}">
|
|
<a href="{{ url_for('view.admin_authentications') }}">
|
|
<i class="fa fa-cogs" aria-hidden="true"></i><span class="dtl"> {{ _('Administration') }}</span>
|
|
</a>
|
|
</li>
|
|
{% endif -%}
|
|
<li class="detail {% if me %}active{% endif %}">
|
|
<a href="{{ url_for('view.me') }}">
|
|
<i class="fa fa-user-circle" aria-hidden="true"></i><span class="dtl"> {{ _('User settings') }}</span>
|
|
</a>
|
|
</li>
|
|
<li class="detail">
|
|
<a href="{{ url_for('view.logout') }}">
|
|
<i class="fa fa-sign-out" aria-hidden="true"></i><span class="dtl"> {{ _('Logout') }} <small>({{ current_user.name }})</small></span>
|
|
</a>
|
|
</li>
|
|
{% endif -%}
|
|
<li {% if live %}ng-click="refresh"{% endif %}>
|
|
<a id="refresh" href="#" title="{{ _('Refresh') }}">
|
|
<i class="fa fa-refresh" aria-hidden="true"></i><span class="hidden-md hidden-lg"> {{ _('Refresh') }}</span>
|
|
</a>
|
|
</li>
|
|
{% endif -%}
|
|
</ul>
|
|
{% if not login -%}
|
|
<form class="navbar-form navbar-right" id="search">
|
|
<input type="text" class="form-control" id="input-client" placeholder="{{ _('Search client...') }}" autocomplete="off">
|
|
</form>
|
|
{% endif -%}
|
|
</div>
|
|
</div>
|
|
</div>
|