This href causes issues when running the demo on a target with WebKit's
non-HTTP(S) process swap enabled. When clicking the "collapse" button, the
sidebar collapses, but the page is loaded again due to WebKit's process swap,
and the sidebar reverts back to its original state.
Removing the href fixes this, and the sidebar collapse functionality still
works as expected.
https://onedigi.atlassian.net/browse/DEL-9498
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This is required so that we can show an overlay black screen over the full application
when an NPU demo is launched.
Signed-off-by: David Escalona <david.escalona@digi.com>
While on it, add a missing entry for the cc93 in the 'network.html' file.
https://onedigi.atlassian.net/browse/CCS-8
Signed-off-by: David Escalona <david.escalona@digi.com>
Most of device boards have blue PCBs, but there are some products with green PCBs. In these cases,
the green panels have very poor contrast, so the color needs to be changed dynamically. This commit
adds a mechanism to automatically change the color of the dashboard panels based on the new device
property "PCB_COLOR".
https://onedigi.atlassian.net/browse/DEL-8719
Signed-off-by: David Escalona <david.escalona@digi.com>
- Removed CPU core sections from 'index.html'
- Fixed missing div in 'index.html'
- Added missing 'errno' import in 'demoserver.py'
- Reposition components when new data is received in 'dashboard.js'
- Improved display resolution read for multiline files.
Signed-off-by: David Escalona <david.escalona@digi.com>
Ethernet and Wi-Fi IPs may not be assigned when the demo is launched.
Ask for its values everytime the status is requested until they are initialized.
https://onedigi.atlassian.net/browse/DEL-7742
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
Download all required javascript and stylesheets not to need Internet access
to properly run the demo locally.
https://onedigi.atlassian.net/browse/DEL-7742
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>