mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
add stats tab (wip)
This commit is contained in:
parent
222b29535a
commit
e1bdc41ace
@ -32,11 +32,14 @@
|
|||||||
<!-- Nav tabs -->
|
<!-- Nav tabs -->
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="nav-item"><a class="nav-link active" id="clienttab" href="#adblocklistsettings" data-toggle="tab"><?php echo _("Blocklist settings"); ?></a></li>
|
<li class="nav-item"><a class="nav-link active" id="clienttab" href="#adblocklistsettings" data-toggle="tab"><?php echo _("Blocklist settings"); ?></a></li>
|
||||||
|
<li class="nav-item"><a class="nav-link" id="clienttab" href="#adblockstats" data-toggle="tab"><?php echo _("Statistics"); ?></a></li>
|
||||||
<li class="nav-item"><a class="nav-link" id="logoutputtab" href="#adblocklogfileoutput" data-toggle="tab"><?php echo _("Logging"); ?></a></li>
|
<li class="nav-item"><a class="nav-link" id="logoutputtab" href="#adblocklogfileoutput" data-toggle="tab"><?php echo _("Logging"); ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- Tab panes -->
|
<!-- Tab panes -->
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<?php echo renderTemplate("adblock/general", $__template_data) ?>
|
<?php echo renderTemplate("adblock/general", $__template_data) ?>
|
||||||
|
<?php echo renderTemplate("adblock/stats", $__template_data) ?>
|
||||||
<?php echo renderTemplate("adblock/logging", $__template_data) ?>
|
<?php echo renderTemplate("adblock/logging", $__template_data) ?>
|
||||||
</div><!-- /.tab-content -->
|
</div><!-- /.tab-content -->
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!-- logging tab -->
|
<!-- logging tab -->
|
||||||
<div class="tab-pane fade" id="adblocklogfileoutput">
|
<div class="tab-pane fade" id="adblocklogfileoutput">
|
||||||
<h4 class="mt-3"><?php echo _("Blocklist log"); ?></h4>
|
<h4 class="mt-3"><?php echo _("Logging"); ?></h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-md-8">
|
<div class="form-group col-md-8">
|
||||||
<?php
|
<?php
|
||||||
|
15
templates/adblock/stats.php
Normal file
15
templates/adblock/stats.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<!-- statistics tab -->
|
||||||
|
<div class="tab-pane fade" id="adblockstats">
|
||||||
|
<h4 class="mt-3"><?php echo _("Statistics"); ?></h4>
|
||||||
|
<div class="row">
|
||||||
|
<div class="form-group col-md-8">
|
||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* BZ todo: implement basic stats
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- /.tab-pane -->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user