mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
fix: clear button was not shown when server-initiated restoration was disabled
This commit is contained in:
parent
ed51ccb64a
commit
eeb2689fd5
2 changed files with 6 additions and 3 deletions
|
|
@ -7,6 +7,9 @@ body {
|
|||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
border: 1px solid #cccccc;
|
||||
}
|
||||
|
||||
/*
|
||||
* Global add-ons
|
||||
|
|
|
|||
|
|
@ -90,10 +90,10 @@
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<form id="form-server-initiated" class="form-inline col-md-6 text-right" method="POST" role="form" action"{{ url_for('api.server_restore', name=cname, backup=nbackup, server=server) }}" ng-show="sc_restore.enabled">
|
||||
<form id="form-server-initiated" class="form-inline col-md-6 text-right" method="POST" role="form" action"{{ url_for('api.server_restore', name=cname, backup=nbackup, server=server) }}">
|
||||
<input type="hidden" name="list-sc">
|
||||
<div id="server-initiated-form" style="display:none;">
|
||||
<div class="btn-group dropup">
|
||||
<div class="btn-group dropup" ng-show="sc_restore.enabled">
|
||||
<button type="submit" class="btn btn-info" id="perform-server-initiated"><span class="glyphicon glyphicon-cloud-upload"></span> Server initiated restore</button>
|
||||
<button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
||||
<ul class="dropdown-menu dropdown-menu-right browse">
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
{% if edit -%}
|
||||
<button type="button" id="btn-cancel-restore" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span> Cancel restore</button>
|
||||
<button type="button" id="btn-cancel-restore" class="btn btn-danger" ng-show="sc_restore.enabled"><span class="glyphicon glyphicon-trash"></span> Cancel restore</button>
|
||||
{% endif -%}
|
||||
<button type="button" id="btn-clear" class="btn btn-info"><span class="glyphicon glyphicon-trash"></span> Clear selection</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue