fix add add button to open in same windows

This commit is contained in:
deflax 2018-03-16 01:18:39 +02:00
parent 38423754f8
commit e7f0fb7ec2

View file

@ -13,7 +13,7 @@
<div class="panel-heading">Addresses</div>
<div class="panel-body"><p>
{% include "admin/menu_deployments.html" %}
<button class="btn btn-default" onclick="window.location('{{ url_for('admin.addr2pool') }}')"><span class="glyphicon glyphicon-plus" aria-hiddent="true"></span> Add IP to pool</button>
<button class="btn btn-default" onclick="window.location.href='{{ url_for('admin.addr2pool') }}'"><span class="glyphicon glyphicon-plus" aria-hiddent="true"></span> Add IP to pool</button>
<div class="no-more-tables">
<table class="table table-hover table-striped table-condensed cf">