diff --git a/cpanel/gniza/lib/GnizaCPanel/UI.pm b/cpanel/gniza/lib/GnizaCPanel/UI.pm
index b6c71f0..9c71bba 100644
--- a/cpanel/gniza/lib/GnizaCPanel/UI.pm
+++ b/cpanel/gniza/lib/GnizaCPanel/UI.pm
@@ -13,6 +13,7 @@ my $_logo_data_uri = '';
my @NAV_ITEMS = (
{ url => 'index.live.cgi', label => 'Select Source' },
{ url => 'restore.live.cgi', label => 'Restore' },
+ { url => 'logs.live.cgi', label => 'Logs' },
);
# ── HTML Escaping ─────────────────────────────────────────────
@@ -34,34 +35,26 @@ sub render_nav {
my ($current_page) = @_;
my $logo = '';
if ($_logo_data_uri) {
- $logo = qq{
}
- . qq{

}
- . qq{
GNIZA Backup}
- . qq{
};
+ $logo = qq{
}
+ . qq{GNIZA Backup};
}
my $menu_items = '';
for my $item (@NAV_ITEMS) {
- my $active = ($item->{url} eq $current_page) ? ' active' : '';
+ my $is_active = ($item->{url} eq $current_page);
my $label = esc($item->{label});
- $menu_items .= qq{$label\n};
+ my $style = $is_active
+ ? 'style="font-weight:600;color:inherit"'
+ : 'style="color:inherit;opacity:0.7"';
+ $menu_items .= qq{$label\n};
}
- my $html = qq{\n};
- $html .= qq{
\n};
+ # Use inline styles to avoid cPanel Jupiter CSS conflicts with DaisyUI navbar
+ my $html = qq{
\n};
+ $html .= qq{
\n};
$html .= qq{ $logo\n} if $logo;
$html .= qq{
\n};
- $html .= qq{
\n};
- $html .= qq{ \n};
- $html .= qq{
\n};
- $html .= qq{
\n};
- $html .= qq{
\n};
- $html .= qq{
\n};
- $html .= qq{ \n};
- $html .= qq{ $menu_items};
- $html .= qq{
\n};
- $html .= qq{ \n};
+ $html .= qq{
\n};
+ $html .= qq{ $menu_items};
$html .= qq{
\n};
$html .= qq{
\n};
return $html;