diff options
author | Kristian Lyngstol <kly@kly.no> | 2019-01-07 00:05:59 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2019-01-07 00:05:59 +0100 |
commit | ed9e8db8f953f3064c3e21d9da75c0802f21ab1b (patch) | |
tree | 05f733cd7eb2b4edcdac7caa089bb4830e12bc2a /web/js/nms.js | |
parent | 0bd74cf3010de984d36eed04b6318b7b30e25373 (diff) |
More big stuff: Re-do the oplog
This is still a bit of a mess, but I'm establishing a new way of doing things,
it'll be awesome, I swear...
Diffstat (limited to 'web/js/nms.js')
-rw-r--r-- | web/js/nms.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web/js/nms.js b/web/js/nms.js index 7eb3dfd..c85e8fb 100644 --- a/web/js/nms.js +++ b/web/js/nms.js @@ -49,7 +49,6 @@ var nms = { get user() { return this._user; }, set user(u) { this._user = u; - document.getElementById('logbook-name').textContent = u; saveSettings(); }, /* @@ -403,8 +402,6 @@ function initNMS() { nmsData.registerSource("smanagement","/api/read/switches-management"); nmsData.registerSource("oplog", "/api/read/oplog"); nmsData.registerSource("networks","/api/read/networks"); - // setInterval(nmsUpdateNavbarGraph, 30000); - // nmsUpdateNavbarGraph(); nmsOplog.init(); } @@ -454,8 +451,7 @@ function setMenu() function setOplog() { - var nav = document.getElementById("oplog-parent-mini"); - nav.style.display = nms.oplogShowing ? '' : 'none'; + //nmsOplog.table["x-mini"].show(nms.oplogShowing) } function toggleMenu() |