fixed dhcp template markup

there was one closing div too many leading to empty
content area when nav is collapsed
This commit is contained in:
glaszig 2020-03-06 16:26:23 +01:00
parent cff02c86fb
commit 67eefdcf05

View file

@ -12,6 +12,7 @@
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<div class="row">
<div class="col">
@ -25,10 +26,12 @@
</div>
</div><!-- /.row -->
</div><!-- /.card-header -->
<div class="card-body">
<?php $status->showMessages(); ?>
<form method="POST" action="?page=dhcpd_conf" class="js-dhcp-settings-form">
<?php echo CSRFTokenFieldTag() ?>
<!-- Nav tabs -->
<ul class="nav nav-tabs mb-4">
<li class="nav-item"><a class="nav-link active" href="#server-settings" data-toggle="tab"><?php echo _("Server settings"); ?></a></li>
@ -38,7 +41,9 @@
<li class="nav-item"><a class="nav-link" href="#logfile-output" data-toggle="tab"><?php echo _("Logging"); ?></a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="server-settings">
<h4 class="mt-3">DHCP server settings</h4>
<div class="row">
@ -177,6 +182,7 @@
</div>
</div>
</div><!-- /.row -->
</div><!-- /.tab-pane | advanded tab -->
<div class="tab-pane fade" id="client-list">
@ -278,14 +284,14 @@
</div><!-- /.row -->
</div><!-- /.tab-pane -->
<?php echo $buttons ?>
</div>
</div><!-- /.tab-content -->
<?php echo $buttons ?>
</form>
</div><!-- ./ card-body -->
<div class="card-footer"> <?php echo _("Information provided by Dnsmasq"); ?></div>
</div><!-- /.card -->
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->