From f9e590aa4741bf337029be3f374a33543cc3f37b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 22 Oct 2015 21:07:40 +0200 Subject: luci-theme-material: do not infer login state from url (#520) Checking for `;` in the url is no good indicator whether a user is logged in, instead query the dispatcher and set a `logged-in` CSS class on the `` element if a session exists. Signed-off-by: Jo-Philipp Wich --- themes/luci-theme-material/luasrc/view/themes/material/header.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/luci-theme-material/luasrc') diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm index 99afc065b3..153be101a5 100755 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -135,7 +135,7 @@ - +
-- cgit v1.2.3