CMAKE: refactor options
[src/app-framework-binder.git] / test / monitoring / monitor.html
1 <html>
2 <head>
3 <!--
4  * Copyright (C) 2017 "IoT.bzh"
5  * Author: José Bollo <jose.bollo@iot.bzh>
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 -->
19     <title>Monitoring</title>
20     <link href="monitor-base.css" rel="stylesheet">
21     <link href="monitor-demo.css" rel="stylesheet" title="demo">
22     <link href="monitor-pastel.css" rel="alternate stylesheet" title="pastel">
23     <script type="text/javascript" src="underscore-min.js"></script>
24     <script type="text/javascript" src="AFB.js"></script>
25     <script type="text/javascript" src="monitor.js"></script>
26
27 <body id="root" class="-flex-v on" onload="init();">
28   <div id="head" class="clearfix">
29     <div id="logo"></div>
30     <div id="connected">Not Connected</div>
31     <div id="title">Monitoring</div>
32   </div>
33   <div id="work" class="-flex-fill -flex-h">
34     <div id="controls" class="-box-out">
35       <div class="-box-in">
36         <div id="all" class="api opened" data-api="*">
37           <div class="opclo"></div>
38           <div class="name">{ALL}</div>
39           <div class="desc">Settings for all</div>
40           <hr>
41           <div class="verbosity">placeholder</div>
42           <hr class="closedoff">
43           <div class="closedon">traces...</div>
44           <div class="trace closedoff"></div>
45         </div>
46         <div id="common" class="api" data-api="">
47           <div class="name">{COMMON}</div>
48           <div class="desc">Settings without apis</div>
49           <hr>
50           <div class="verbosity">placeholder</div>
51         </div>
52         <div id="apis">
53         </div>
54       </div>
55     </div>
56     <div id="middle" class="-flex-v">
57       <div id="params" class="clearfix">
58         <div>host: <input type="text" id="param-host" size="50" value="localhost"></input></div>
59         <div>port: <input type="text" id="param-port" size="10" value="1234"></input></div>
60         <div>token: <input type="text" id="param-token" size="33" value="HELLO"></input></div>
61       </div>
62       <div class="-flex-fill -box-out">
63         <div id="trace-events" class="-box-in">
64         </div>
65       </div>
66     </div>
67
68       <div id="menu" class="-flex-v">
69         <div id="connect" class="x-button">Connect</div>
70         <div id="disconnect" class="x-button">Disconnect</div>
71         <div id="style" class="x-button">style</div>
72         <div id="autoscroll" class="x-button">Stop scroll</div>
73         <div id="addsep" class="x-button">Add separator</div>
74         <div id="droptracevts" class="x-button">Clear traces</div>
75         <div id="experts" class="x-button closed">
76           <div class="opclo"></div>
77           {EXPERTS}
78         </div>
79         <div id="expert-pane" class="-flex-fill -flex-v">
80           <div id="stopmsgs" class="x-button">Stop logs</div>
81           <div id="dropmsgs" class="x-button">Clear logs</div>
82           <div class="-flex-fill -box-out">
83               <div id="logmsgs" class="-box-in"></div>
84           </div>
85         </div>
86       </div>
87   </div>
88
89 <!-- template for APIS -->
90   <template id="t-api">
91     <div class="api closed" data-api="">
92       <div class="opclo"></div>
93       <div class="name"></div>
94       <div class="desc"></div>
95       <div class="closedoff">
96         <hr>
97         <div class="verbosity">placeholder</div>
98         <hr>
99         <div class="closed">
100           <div class="opclo"></div>
101           <div class="closedon">verbs...</div>
102           <div class="verbs closedoff"></div>
103         </div>
104         <div class="closed">
105           <div class="opclo"></div>
106           <div class="closedon">traces...</div>
107           <div class="trace closedoff"></div>
108         </div>
109       </div>
110     </div>
111   </template>
112
113 <!-- template for VERBS of APIS -->
114   <template id="t-verb">
115     <div class="verb" data-verb="">
116       <div class="vdsc">
117         <span class="name"></span>
118         <span class="colon">:</span>
119         <span class="desc"></span>
120       </div>
121       <div class="perm"></div>
122     </div>
123   </template>
124
125 <!-- template for ERRORS -->
126   <template id="t-logmsg">
127     <div class="logmsg">
128       <div class="close"></div>
129       <div class="tag"></div>
130       <div class="content"></div>
131     </div>
132   </template>
133
134 <!-- template for VERBOSITY -->
135   <template id="t-verbosity">
136     <div class="verbosity">
137       <span>Verbosity:</span>
138       <select class="select">
139         <option value="error">error</option>
140         <option value="warning">warning</option>
141         <option value="notice">notice</option>
142         <option value="info">info</option>
143         <option value="debug">debug</option>
144       </select>
145     </div>
146   </template>
147
148 <!-- template for TRACE -->
149   <template id="t-trace">
150     <div class="trace closedoff">
151       <div class="trace-box request" data-trace="request">
152         <div class="trace-title">trace requests: <a target="_blank" href="http://docs.automotivelinux.org/docs/apis_services/en/dev/reference/af-binder/afb-binding-references.html#functions-of-class-afbreq">(doc)</a></div>
153         <div class="trace-item"><input type="radio" value="no" checked>no</input></div>
154         <div class="trace-item"><input type="radio" value="common">common</input></div>
155         <div class="trace-item"><input type="radio" value="extra">extra</input></div>
156         <div class="trace-item"><input type="radio" value="all">all</input></div>
157       </div>
158       <div class="trace-box service" data-trace="service">
159         <div class="trace-title">trace service call: <a target="_blank" href="http://docs.automotivelinux.org/docs/apis_services/en/dev/reference/af-binder/afb-binding-references.html#functions-of-class-afbservice">(doc)</a></div>
160         <div class="trace-item"><input type="radio" value="no" checked>no</input></div>
161         <div class="trace-item"><input type="radio" value="all">all</input></div>
162       </div>
163       <div class="trace-box daemon" data-trace="daemon">
164         <div class="trace-title">trace daemon: <a target="_blank" href="http://docs.automotivelinux.org/docs/apis_services/en/dev/reference/af-binder/afb-binding-references.html#functions-of-class-afbdaemon">(doc)</a></div>
165         <div class="trace-item"><input type="radio" value="no" checked>no</input></div>
166         <div class="trace-item"><input type="radio" value="common">common</input></div>
167         <div class="trace-item"><input type="radio" value="extra">extra</input></div>
168         <div class="trace-item"><input type="radio" value="all">all</input></div>
169       </div>
170       <div class="trace-box event" data-trace="event">
171         <div class="trace-title">trace events: <a target="_blank" href="http://docs.automotivelinux.org/docs/apis_services/en/dev/reference/af-binder/afb-binding-references.html#functions-of-class-afbevent">(doc)</a></div>
172         <div class="trace-item"><input type="radio" value="no" checked>no</input></div>
173         <div class="trace-item"><input type="radio" value="common">common</input></div>
174         <div class="trace-item"><input type="radio" value="extra">extra</input></div>
175         <div class="trace-item"><input type="radio" value="all">all</input></div>
176       </div>
177       <div class="trace-box global" data-trace="global">
178         <div class="trace-title">trace globals:</div>
179         <div class="trace-item"><input type="radio" value="no" checked>no</input></div>
180         <div class="trace-item"><input type="radio" value="all">all</input></div>
181       </div>
182     </div>
183   </template>
184
185 <!-- template for EVENTS -->
186   <template id="t-traceevent">
187     <div class="traceevent closed">
188       <div class="close"></div>
189       <div class="time"></div>
190       <div class="tag"></div>
191       <div class="content"></div>
192     </div>
193   </template>
194
195 <!-- template for SEPARATOR -->
196   <template id="t-separator">
197     <div class="separator"></div>
198   </template>
199
200