mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -06:00
77 lines
4.6 KiB
HTML
77 lines
4.6 KiB
HTML
{% extends "layout.html" %}
|
|
{% block body %}
|
|
{% include "notifications.html" %}
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
|
{% include "small_topbar.html" %}
|
|
<ul class="breadcrumb" style="margin-bottom: 5px;">
|
|
{% if server -%}
|
|
<li><a href="{{ url_for('view.home') }}">{{ _('Home') }}</a></li>
|
|
<li><a href="{{ url_for('view.clients', server=server) }}">{{ _('%(server)s clients', server=server) }}</a></li>
|
|
<li class="active">{{ _('%(client)s overview', client=cname) }}</li>
|
|
{% else -%}
|
|
<li><a href="{{ url_for('view.home') }}">{{ _('Home') }}</a></li>
|
|
<li class="active">{{ _('%(client)s overview', client=cname) }}</li>
|
|
{% endif -%}
|
|
</ul>
|
|
<br />
|
|
{% if current_user and current_user.is_authenticated and (current_user.is_admin or current_user.is_moderator) -%}
|
|
{% set extra_features = True %}
|
|
{% endif -%}
|
|
<div class="row page-header">
|
|
<div class="col-md-4">
|
|
<h1>{{ cname }} {% if extra_features %}<a href="{{ url_for("view.cli_settings", server=server, client=cname) }}" class="btn btn-info" title="{{ _('edit') }}"><i class="fa fa-pencil" aria-hidden="true"></i></a>{% endif %}</h1>
|
|
</div>
|
|
<div class="col-md-8">
|
|
<div class="pull-right" id="client-labels">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<h2 class="sub-header">{{ _('Backups') }} <span id="running-status" class="label pull-right"></span></h2>
|
|
<p>
|
|
{{ _('Toggle column:') }}
|
|
<a class="toggle-vis" data-column="0" href="#">{{ _('Number') }}</a> - <a class="toggle-vis" data-column="1" href="#">{{ _('Date') }}</a> - <a class="toggle-vis" data-column="2" href="#">{{ _('Bytes received') }}</a> - <a class="toggle-vis" data-column="3" href="#">{{ _('Estimated size') }}</a> - <a class="toggle-vis" data-column="4" href="#">{{ _('Deletable') }}</a> - <a class="toggle-vis" data-column="5" href="#">{{ _('Status') }}</a>{% if extra_features %} - <a class="toggle-vis" data-column="6" href="#">{{ _('Delete') }}</a>{% endif %}
|
|
</p>
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-hover nowrap" id="table-client" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ _('Number') }}</th>
|
|
<th class="desktop">{{ _('Date') }}</th>
|
|
<th class="desktop">{{ _('Bytes received') }}</th>
|
|
<th class="desktop">{{ _('Estimated size') }}</th>
|
|
<th class="desktop">{{ _('Deletable') }}</th>
|
|
<th class="desktop">{{ _('Status') }}</th>
|
|
{% if extra_features -%}
|
|
<th class="desktop">{{ _('Delete') }}</th>
|
|
{% endif -%}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
<div class="alert alert-dismissable alert-danger" id="client-alert" style="display: none;">
|
|
<i class="fa fa-fw fa-exclamation-circle" aria-hidden="true"></i> {{ _('<strong>Sorry!</strong> There are no backups for this client.') }}
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<div id="controls">
|
|
<div id="left" class="form-inline col-md-6">
|
|
<div class="edit-restore" style="display: none;">
|
|
<a href="{{ url_for('view.edit_server_initiated_restore', name=cname, server=server) }}" id="btn-edit-restore" class="btn btn-info"><i class="fa fa-fw fa-pencil" aria-hidden="true"></i> {{ _('Edit restore') }}</a>
|
|
</div>
|
|
<div class="scheduled-backup">
|
|
<button type="button" id="btn-schedule-backup" class="btn btn-info"><i class="fa fa-fw fa-clock-o"></i> {{ _('Schedule backup') }}</button>
|
|
</div>
|
|
</div>
|
|
<div id="right" class="form-inline col-md-6 text-right">
|
|
<div class="edit-restore" style="display: none;">
|
|
<button type="button" id="btn-cancel-restore" class="btn btn-danger"><i class="fa fa-fw fa-trash"></i> {{ _('Cancel restore') }}</button>
|
|
</div>
|
|
<div class="cancel-backup" style="display: none;">
|
|
<button type="button" id="btn-cancel-backup" class="btn btn-danger"><i class="fa fa-fw fa-trash"></i> {{ _('Cancel backup') }}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|