mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 09:00:25 +00:00
add stats tab (wip)
This commit is contained in:
parent
222b29535a
commit
e1bdc41ace
3 changed files with 19 additions and 1 deletions
|
@ -32,11 +32,14 @@
|
|||
<!-- 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" 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>
|
||||
</ul>
|
||||
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<?php echo renderTemplate("adblock/general", $__template_data) ?>
|
||||
<?php echo renderTemplate("adblock/stats", $__template_data) ?>
|
||||
<?php echo renderTemplate("adblock/logging", $__template_data) ?>
|
||||
</div><!-- /.tab-content -->
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!-- logging tab -->
|
||||
<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="form-group col-md-8">
|
||||
<?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 a new issue