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:
XhmikosR
2025-04-08 19:25:21 +03:00
parent 6d65c185fa
commit 66f9c38d03
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
mg.include('scripts/lua/header.lp','r')
?>
<body class="hold-transition layout-boxed login-page">
<body class="hold-transition layout-boxed login-page page-<?=pihole.format_path(mg.request_info.request_uri)?>">
<div class="box login-box">
<section style="padding: 15px;">
<h2 class="error-headline text-danger">403</h2>