-
Notifications
You must be signed in to change notification settings - Fork 24
/
log-window.html
91 lines (78 loc) · 1.95 KB
/
log-window.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!--
Copyright 2022 Google LLC.
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.
-->
<html>
<head>
<title>EME Logger</title>
<script src="log-window.js"></script>
<style>
#clear-button {
position: fixed;
top: 10px;
right: 10px;
}
#download-button {
position: fixed;
top: 40px;
right: 10px;
}
#base64-radio-input {
position: fixed;
top: 70px;
right: 10px;
}
#base64-radio-input-label {
position: fixed;
top: 70px;
right: 40px;
}
#hex-radio-input {
position: fixed;
top: 100px;
right: 10px;
}
#hex-radio-input-label {
position: fixed;
top: 100px;
right: 40px;
}
h3 {
padding-top: 1em;
}
.time {
display: inline-block;
}
.instance-id {
display: inline-block;
color: gray;
}
.title {
display: inline-block;
color: blue;
}
.title.warning {
color: red;
}
</style>
</head>
<body>
<h1>EME Method Call and Event Log</h1>
<p>Some personally identifiable information may be in the log. Be careful about posting the log on bug reports.</p>
<button id="clear-button">Clear log</button>
<a id="download-button" download="EMELogFile.txt"><button>Download log</button></a>
<input type="radio" id="hex-radio-input" name="radio-toggle-group" value = "hex" checked>
<label for="hex" id="hex-radio-input-label">Hex</label>
<input type="radio" id="base64-radio-input" name="radio-toggle-group" value = "base64">
<label for="base64" id="base64-radio-input-label">Base64</label>
<ul id="eme-log"></ul>
</body>
</html>