From ce4c20280371665defc9e8c19695149f3239334f Mon Sep 17 00:00:00 2001 From: LakshyaPunyani-01 <103628913+LakshyaPunyani-01@users.noreply.github.com> Date: Sun, 13 Oct 2024 06:51:51 +0000 Subject: [PATCH] Added Home button to header for easy navigation to home page --- composite-view/web/header.jsp | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/composite-view/web/header.jsp b/composite-view/web/header.jsp index 959f1b589a06..3327c7bca654 100644 --- a/composite-view/web/header.jsp +++ b/composite-view/web/header.jsp @@ -39,11 +39,30 @@ h1 { text-align: center;} h2 { text-align: center;} h3 { text-align: center;} + nav { + text-align: center; + margin-bottom: 20px; + } + .home-link { + padding: 10px 20px; + background-color: #007bff; + color: white; + text-decoration: none; + border-radius: 5px; + } + .home-link:hover { + background-color: #0056b3; + } + + <% String todayDateStr = (new Date().toString()); %>

Today's Personalized Frontpage

-

<%=todayDateStr%>

+

<%= todayDateStr %>