aboutsummaryrefslogtreecommitdiffstats
path: root/test/monitoring
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-08-26 08:01:49 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-08-26 08:24:05 +0200
commit0f1a3e89464a77d398ce89bf25abd7ea660c4b34 (patch)
tree5ee0223689dfcd300b5b7d02cbf2fae02d2c404b /test/monitoring
parentf2ad66ca695c8fbe923cee8ee483c2f64e6dcfe9 (diff)
monitoring: add copyrights
Also still improve colours Change-Id: I2afc2dc7bf22ef65e39c18c9397ae6c7cd2df1d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'test/monitoring')
-rw-r--r--test/monitoring/AFB.js16
-rw-r--r--test/monitoring/monitor-base.css18
-rw-r--r--test/monitoring/monitor-demo.css25
-rw-r--r--test/monitoring/monitor-pastel.css16
-rw-r--r--test/monitoring/monitor.html17
-rw-r--r--test/monitoring/monitor.js16
6 files changed, 102 insertions, 6 deletions
diff --git a/test/monitoring/AFB.js b/test/monitoring/AFB.js
index 88da4d55..db03d9e8 100644
--- a/test/monitoring/AFB.js
+++ b/test/monitoring/AFB.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2017 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@iot.bzh>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
AFB = function(base, initialtoken){
if (typeof base != "object")
diff --git a/test/monitoring/monitor-base.css b/test/monitoring/monitor-base.css
index 0cbbe155..1318c914 100644
--- a/test/monitoring/monitor-base.css
+++ b/test/monitoring/monitor-base.css
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2017 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@iot.bzh>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*******************************************************************/
/* top */
body {
@@ -176,7 +192,7 @@ body.on #params, body.off #main { display: none; }
clear: both;
}
-.traceevent {
+.traceevent, .x-button {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
diff --git a/test/monitoring/monitor-demo.css b/test/monitoring/monitor-demo.css
index 193e5a74..f1455b79 100644
--- a/test/monitoring/monitor-demo.css
+++ b/test/monitoring/monitor-demo.css
@@ -1,7 +1,24 @@
+/*
+ * Copyright (C) 2017 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@iot.bzh>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*******************************************************************/
/* top */
body {
margin: 2px;
+ background-color: darkslategray;
background-image: url(content-background-car-wide.png);
background-position: center;
background-size: cover;
@@ -198,7 +215,7 @@ body {
width: 10px;
height: 10px;
background-size: contain;
- background-color: cyan;
+ background-color: lightsteelblue;
border-radius: 3px;
padding: 2px;
}
@@ -218,10 +235,10 @@ body {
}
.separator {
- margin: 8px 100px;
+ margin: 15px 100px;
padding: 0px;
height: 2px;
- background-color: cyan;
+ background-color: lightsteelblue;
}
.traceevent.opened {
@@ -295,7 +312,7 @@ body {
a:link { color: cyan; }
a:link:hover, a:active { color: white; }
-a:visited { color: #4d4; }
+a:visited { color: lightsteelblue; }
/*******************************************************************/
/* json format */
diff --git a/test/monitoring/monitor-pastel.css b/test/monitoring/monitor-pastel.css
index 0d561f0b..21bccd7b 100644
--- a/test/monitoring/monitor-pastel.css
+++ b/test/monitoring/monitor-pastel.css
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2017 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@iot.bzh>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*******************************************************************/
/* top */
body {
diff --git a/test/monitoring/monitor.html b/test/monitoring/monitor.html
index 70088ddc..9e35bc76 100644
--- a/test/monitoring/monitor.html
+++ b/test/monitoring/monitor.html
@@ -1,9 +1,24 @@
<html>
<head>
+<!--
+ * Copyright (C) 2017 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@iot.bzh>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
<title>Monitoring</title>
<link href="monitor-base.css" rel="stylesheet">
<link href="monitor-demo.css" rel="stylesheet">
- <!--link href="monitor-pastel.css" rel="stylesheet"-->
<script type="text/javascript" src="underscore-min.js"></script>
<script type="text/javascript" src="AFB.js"></script>
<script type="text/javascript" src="monitor.js"></script>
diff --git a/test/monitoring/monitor.js b/test/monitoring/monitor.js
index db7bc496..2c532569 100644
--- a/test/monitoring/monitor.js
+++ b/test/monitoring/monitor.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2017 "IoT.bzh"
+ * Author: José Bollo <jose.bollo@iot.bzh>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
var afb;
var ws;