aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Lyngstøl <kly@kly.no>2019-01-03 17:52:22 +0100
committerGitHub <noreply@github.com>2019-01-03 17:52:22 +0100
commit90d918d3859482c19a8e37d6c6eb261d6c195fea (patch)
tree2ccd59c7dd6e1b56ccb39a692c4715063533ce3b
parentf07dde6721109b6625cfd2cca6c808656f77be7d (diff)
parentac6bfa0cdf2bd59b626279cd376fa9552da6b619 (diff)
Merge pull request #169 from tech-server/cpu-map-hotkey
Adding CPU map to key 9, moving disco to 0
-rw-r--r--web/index.html4
-rw-r--r--web/js/nms.js3
2 files changed, 7 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html
index d1c0fda..447772f 100644
--- a/web/index.html
+++ b/web/index.html
@@ -213,6 +213,10 @@
</tr>
<tr>
<td>9</td>
+ <td>View CPU map</td>
+ </tr>
+ <tr>
+ <td>0</td>
<td>View Disco map</td>
</tr>
<tr>
diff --git a/web/js/nms.js b/web/js/nms.js
index e9b83c9..0422f00 100644
--- a/web/js/nms.js
+++ b/web/js/nms.js
@@ -504,6 +504,9 @@ function setMapModeFromN(e,key)
setUpdater(handler_snmp);
break;
case '9':
+ setUpdater(handler_cpu);
+ break;
+ case '0':
setUpdater(handler_disco);
break;
}