From 0f1a3e89464a77d398ce89bf25abd7ea660c4b34 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Sat, 26 Aug 2017 08:01:49 +0200 Subject: monitoring: add copyrights MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also still improve colours Change-Id: I2afc2dc7bf22ef65e39c18c9397ae6c7cd2df1d4 Signed-off-by: José Bollo --- test/monitoring/AFB.js | 16 ++++++++++++++++ test/monitoring/monitor-base.css | 18 +++++++++++++++++- test/monitoring/monitor-demo.css | 25 +++++++++++++++++++++---- test/monitoring/monitor-pastel.css | 16 ++++++++++++++++ test/monitoring/monitor.html | 17 ++++++++++++++++- test/monitoring/monitor.js | 16 ++++++++++++++++ 6 files changed, 102 insertions(+), 6 deletions(-) (limited to 'test/monitoring') 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 + * + * 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 + * + * 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 + * + * 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 + * + * 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 @@ + Monitoring - 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 + * + * 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; -- cgit 1.2.3-korg