Revision 56fafd85
Added by Stephen Beaver over 9 years ago
src/usr/local/www/status_openvpn.php | ||
---|---|---|
233 | 233 |
<input type="button" onClick="show_routes('tabroute-<?= $i ?>','shroutebut-<?= $i ?>')" value="<?php echo gettext("Show Routing Table"); ?>" /> - <?= gettext("Display OpenVPN's internal routing table for this server.") ?> |
234 | 234 |
<br /><br /> |
235 | 235 |
</div> |
236 |
<div class="panel panel-default"> |
|
236 |
<div class="panel panel-default" id="tabroute-<?=$i?>" style="display: none;">
|
|
237 | 237 |
<div class="panel-heading"><h2 class="panel-title"><?=htmlspecialchars($server['name']);?> <?=gettext("Routing Table"); ?></h2></div> |
238 | 238 |
<div class="panel-body table-responsive"> |
239 | 239 |
<table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" data-sortable> |
... | ... | |
384 | 384 |
</tbody> |
385 | 385 |
</table> |
386 | 386 |
</div> |
387 |
</div> |
|
387 |
</div>
|
|
388 | 388 |
|
389 | 389 |
<?php |
390 | 390 |
} |
... | ... | |
398 | 398 |
} |
399 | 399 |
?> |
400 | 400 |
</form> |
401 |
|
|
401 | 402 |
<?php include("foot.inc"); ?> |
403 |
|
|
402 | 404 |
<script type="text/javascript"> |
403 | 405 |
//<![CDATA[ |
406 |
|
|
404 | 407 |
function show_routes(id, buttonid) { |
405 | 408 |
document.getElementById(buttonid).innerHTML=''; |
406 | 409 |
aodiv = document.getElementById(id); |
407 | 410 |
aodiv.style.display = "block"; |
408 | 411 |
} |
412 |
|
|
409 | 413 |
//]]> |
410 | 414 |
</script> |
411 |
</body> |
|
412 |
</html> |
Also available in: Unified diff
Fixed #5617
Added ID and style to routing table