From 6e8801ca3625e88ee00d21d3046fbd48bdaab22f Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Sun, 16 Feb 2025 06:44:06 -0500 Subject: [PATCH] susidns: navbar highlight what book you're in on details page --- apps/susidns/src/jsp/details.jsp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/susidns/src/jsp/details.jsp b/apps/susidns/src/jsp/details.jsp index 446d8a3bc3..f53d52bf2d 100644 --- a/apps/susidns/src/jsp/details.jsp +++ b/apps/susidns/src/jsp/details.jsp @@ -41,12 +41,12 @@ <body> <div class="page"> <hr> -<div id="navi"> +<div id="navi" class="${book.getBook()}"> <a id="overview" href="index"><%=intl._t("Overview")%></a> -<a class="abook" href="addressbook?book=private&filter=none"><%=intl._t("Private")%></a> -<a class="abook" href="addressbook?book=local&filter=none"><%=intl._t("Local")%></a> -<a class="abook" href="addressbook?book=router&filter=none"><%=intl._t("Router")%></a> -<a class="abook" href="addressbook?book=published&filter=none"><%=intl._t("Published")%></a> +<a class="abook private" href="addressbook?book=private&filter=none"><%=intl._t("Private")%></a> +<a class="abook local" href="addressbook?book=local&filter=none"><%=intl._t("Local")%></a> +<a class="abook router" href="addressbook?book=router&filter=none"><%=intl._t("Router")%></a> +<a class="abook published" href="addressbook?book=published&filter=none"><%=intl._t("Published")%></a> <a id="subs" href="subscriptions"><%=intl._t("Subscriptions")%></a> <a id="config" href="config"><%=intl._t("Configuration")%></a> </div> -- GitLab