diff options
author | Daniel GarcĂa Moreno <danigm@soleta.eu> | 2021-07-07 10:27:59 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-07-07 11:27:28 +0200 |
commit | 4e519590af6484cc05a91f102a0a3765408b5e72 (patch) | |
tree | fcd40d47e79beb94f1e1602d37ba8cbd6585e664 /ogcp/static/AdminLTE/dist/img/photo1.png | |
parent | af938c328011f942258091276a150c6810970dd4 (diff) |
Update scopes tree dynamically
This patch adds a javascript function to update the scope tree (on/off)
state.
This javacript function is called every second, does a call to the
new backend endpoint `/scopes/status` and updates the tree classes
depending on the current data.
The new `/scopes/status` endpoint just returns the scopes tree as json.
This patch also adds an icon in the tree leafs, a filled green circle
when the state is `on`, and a empty red circle when the state is `off`.
There's also a new javascript function to unfold all collapses in the
scope tree.
Diffstat (limited to 'ogcp/static/AdminLTE/dist/img/photo1.png')
0 files changed, 0 insertions, 0 deletions