1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

fix markup in networking

This commit is contained in:
glaszig 2021-04-03 17:57:45 +01:00
parent e5ac7d23a3
commit 8dbb2f3a1b

View File

@ -2,20 +2,13 @@
<div class="col-lg-12"> <div class="col-lg-12">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
<div class="row">
<div class="col">
<i class="fas fa-network-wired mr-2"></i><?php echo _("Networking"); ?> <i class="fas fa-network-wired mr-2"></i><?php echo _("Networking"); ?>
</div> </div>
</div><!-- ./row -->
</div><!-- ./card-header -->
<div class="card-body"> <div class="card-body">
<div id="msgNetworking"></div> <div id="msgNetworking"></div>
<ul class="nav nav-tabs">
<li role="presentation" class="nav-item"><a class="nav-link active" href="#summary" aria-controls="summary" role="tab" data-toggle="tab"><?php echo _("Summary"); ?></a></li> <h4 class="card-title mt-3"><?php echo _("Internet connection"); ?></h4>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="summary">
<h4 class="mt-3"><?php echo _("Internet connection"); ?></h4>
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="table-responsive"> <div class="table-responsive">
@ -53,7 +46,9 @@
</div> </div>
</div> </div>
</div> </div>
<h4 class="mt-3"><?php echo _("Current settings") ?></h4>
<h4 class="card-title mt-3"><?php echo _("Current settings") ?></h4>
<div class="row"> <div class="row">
<?php if (!$bridgedEnabled): // No interface details when bridged ?> <?php if (!$bridgedEnabled): // No interface details when bridged ?>
<?php foreach ($interfaces as $if): ?> <?php foreach ($interfaces as $if): ?>
@ -69,16 +64,14 @@
<?php endforeach ?> <?php endforeach ?>
<?php endif ?> <?php endif ?>
</div><!-- /.row --> </div><!-- /.row -->
<div class="col-lg-12">
<div class="row">
<button type="button" onClick="window.location.reload();" class="btn btn-outline btn-primary"><i class="fas fa-sync-alt"></i> <?php echo _("Refresh") ?></a> <button type="button" onClick="window.location.reload();" class="btn btn-outline btn-primary"><i class="fas fa-sync-alt"></i> <?php echo _("Refresh") ?></a>
</div>
</div>
</div>
</div>
</div><!-- /.card-body --> </div><!-- /.card-body -->
<div class="card-footer"><?php echo _("Information provided by /sys/class/net"); ?></div>
<div class="card-footer">
<?php echo _("Information provided by /sys/class/net"); ?>
</div>
</div><!-- /.card --> </div><!-- /.card -->
</div><!-- /.col-lg-12 --> </div><!-- /.col-lg-12 -->
</div><!-- /.row --> </div><!-- /.row -->