mirror of
https://github.com/pi-hole/web.git
synced 2026-04-30 21:51:44 +01:00
Make use of the new format_path function to add the current page in body
This will allow us to target specific pages more easily Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ mg.include('header.lp','r')
|
||||
<script src="<?=pihole.fileversion('vendor/bstreeview/bstreeview.min.js')?>"></script>
|
||||
<script src="<?=pihole.fileversion('scripts/js/logout.js')?>"></script>
|
||||
</head>
|
||||
<body class="<?=theme.name?> hold-transition sidebar-mini <? if pihole.boxedlayout() then ?>layout-boxed<? end ?> logged-in" data-apiurl="<?=pihole.api_url()?>" data-webhome="<?=webhome?>">
|
||||
<body class="<?=theme.name?> hold-transition sidebar-mini <? if pihole.boxedlayout() then ?>layout-boxed<? end ?> logged-in page-<?=pihole.format_path(mg.request_info.request_uri)?>" data-apiurl="<?=pihole.api_url()?>" data-webhome="<?=webhome?>">
|
||||
<noscript>
|
||||
<!-- JS Warning -->
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user