burp-ui/burpui/templates/small_topbar.html
2018-03-21 10:48:07 +01:00

34 lines
2.9 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% if not cname -%}
{% set cname = None %}
{% endif -%}
{% if not server -%}
{% set server = None %}
{% endif -%}
{% if not settings and not me -%}
<div class="btn-group btn-group-justified hidden-md hidden-lg">
{% if backup -%}
<a class="btn btn-default {% if overview %}active{% endif %}" href="{{ url_for('view.client_browse', name=cname, server=server, backup=nbackup) }}"><i class="fa fa-th" aria-hidden="true"></i>&nbsp;{{ _('Overview') }}</a>
{% elif client -%}
<a class="btn btn-default {% if overview %}active{% endif %}" href="{{ url_for('view.client', name=cname, server=server) }}"><i class="fa fa-th" aria-hidden="true"></i>&nbsp;{{ _('Overview') }}</a>
{% elif clients -%}
<a class="btn btn-default {% if overview %}active{% endif %}" href="{{ url_for('view.clients', server=server) }}"><i class="fa fa-th" aria-hidden="true"></i>&nbsp;{{ _('Overview') }}</a>
{% elif servers -%}
<a class="btn btn-default {% if overview %}active{% endif %}" href="{{ url_for('view.servers') }}"><i class="fa fa-th" aria-hidden="true"></i>&nbsp;{{ _('Overview') }}</a>
{% else -%}
<a class="btn btn-default {% if overview %}active{% endif %}" href="#"><i class="fa fa-th" aria-hidden="true"></i>&nbsp;{{ _('Overview') }}</a>
{% endif -%}
{% if client and not backup -%}
<a class="btn btn-default {% if report %}active{% endif %}" href="{{ url_for('view.client_report', name=cname, server=server) }}"><i class="fa fa-bar-chart" aria-hidden="true"></i>&nbsp;{{ _('Reports') }}</a>
{% elif clients -%}
<a class="btn btn-default {% if report %}active{% endif %}" href="{{ url_for('view.clients_report', server=server) }}"><i class="fa fa-bar-chart" aria-hidden="true"></i>&nbsp;{{ _('Reports') }}</a>
{% elif servers -%}
<a class="btn btn-default {% if report %}active{% endif %}" href="{{ url_for('view.servers_report') }}"><i class="fa fa-bar-chart" aria-hidden="true"></i>&nbsp;{{ _('Reports') }}</a>
{% elif backup -%}
<a class="btn btn-default {% if report %}active{% endif %}" href="{{ url_for('view.backup_report', name=cname, backup=nbackup, server=server) }}"><i class="fa fa-bar-chart" aria-hidden="true"></i>&nbsp;{{ _('Reports') }}</a>
{% else -%}
<a class="btn btn-default {% if report %}active{% endif %}" href="#"><i class="fa fa-bar-chart" aria-hidden="true"></i>&nbsp;{{ _('Reports') }}</a>
{% endif -%}
<a class="btn btn-default {% if calendar %}active{% endif %}" href="{{ url_for('view.calendar', client=cname, server=server) }}"><i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;{{ _('Calendar') }}</a>
</div>
<br />
{% endif -%}