Skip to content

Commit

Permalink
Slight tweak to Midwinter to show correct URL's for Profile, Logout, …
Browse files Browse the repository at this point in the history
…etc.
  • Loading branch information
TheWitness committed Feb 8, 2022
1 parent 6b0879b commit 6363681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/themes/midwinter/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ function setupTheme() {
+ '<span>'+ $('.loggedInAs').text() +'</span>'
+ '</a>'
+ '<ul>'
+ '<li><a href="/cacti/cacti/logout.php">'+logout+'</a></li>'
+ '<li><a href="'+urlPath+'logout.php">'+logout+'</a></li>'
+ '<li><hr class="menu"></li>'
+ '<li><a href="#" class="toggleGuiMode">'+standardGraphicalUserInterface+'</a></li>'
+ '<li><a href="#" class="toggleColorMode">'+(midWinter_Color_Mode === 'light' ? darkColorMode : lightColorMode)+'</a></li>'
+ '<li><a href="#" class="toggleColorModeAuto">'+(midWinter_Color_Mode_Auto === 'on' ? ignorePreferredColorTheme : usePreferredColorTheme)+'</a></li>'
+ '<li><hr class="menu"></li>'
+ '<li><a href="/cacti/cacti/auth_changepassword.php" style="">'+changePassword+'</a></li>'
+ '<li><a class="hyperLink" href="/cacti/cacti/auth_profile.php?action=edit">'+editProfile+'</a></li>'
+ '<li><a href="'+urlPath+'auth_changepassword.php" style="">'+changePassword+'</a></li>'
+ '<li><a class="hyperLink" href="'+urlPath+'auth_profile.php?action=edit">'+editProfile+'</a></li>'
+ '</ul>'
+ '</li>'
+'</ul>';
Expand Down

0 comments on commit 6363681

Please sign in to comment.