monitoring: add copyrights
authorJosé Bollo <jose.bollo@iot.bzh>
Sat, 26 Aug 2017 06:01:49 +0000 (08:01 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Sat, 26 Aug 2017 06:24:05 +0000 (08:24 +0200)
Also still improve colours

Change-Id: I2afc2dc7bf22ef65e39c18c9397ae6c7cd2df1d4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
test/monitoring/AFB.js
test/monitoring/monitor-base.css
test/monitoring/monitor-demo.css
test/monitoring/monitor-pastel.css
test/monitoring/monitor.html
test/monitoring/monitor.js

index 88da4d5..db03d9e 100644 (file)
@@ -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")
index 0cbbe15..1318c91 100644 (file)
@@ -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;
index 193e5a7..f1455b7 100644 (file)
@@ -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 */
index 0d561f0..21bccd7 100644 (file)
@@ -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 {
index 70088dd..9e35bc7 100644 (file)
@@ -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>
index db7bc49..2c53256 100644 (file)
@@ -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;