-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for "dark mode" and custom page title in html logger #1617
Conversation
…s/core to 2.11.8, webpack to 5.98.0, and related devDependencies
tests/html/test3.html
Fixed
var tooltipTriggerList = [].slice.call( | ||
document.querySelectorAll('[data-toggle="tooltip"]') | ||
); | ||
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in #1618
tests/html/test3.html
Fixed
}); | ||
check_age(); | ||
setTimeout(too_old, (30 * 2000)); | ||
update_props = { |
Check warning
Code scanning / CodeQL
Missing variable declaration Warning test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in #1618
This is awesome, thanks :) |
This PR introduces two new features:
1/ The page title can be configured using a new
navbar_title
configuration line. The default if not set is "SimpleMonitor", which matches previous behaviour. The screenshot below is an example withnavbar_title=Network Dashboard
.2/ The page can be configured to display with a dark theme using a new
visual_theme
configuration line. The default if not set is "light", which matches previous behaviour. The screenshot below is an example withvisual_theme=dark
.The different themes are provided by Bootstrap 5.3, and this PR includes updating bootstrap to 5.3.3 for that. The PR also version bumps the other frontend dependencies too.
For
map
output, the page navbar and page background below the map support dark theme, however the map picture (the map tiles) remain in their original colours.