forked from livestyle/chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror-log.html
More file actions
55 lines (48 loc) · 759 Bytes
/
error-log.html
File metadata and controls
55 lines (48 loc) · 759 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>LiveStyle log</title>
<style>
html {
background: #fff;
color: #000;
font-family: Consolas, Menlo, monospace;
font-size: 12px;
}
body {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
h1 {
text-align: center;
}
.log {
list-style-type: none;
display: block;
}
.log__item {
margin: 0;
padding: 20px 0;
border-bottom: 1px solid #ccc;
white-space: pre-wrap;
}
.log__item:last-child {
border-bottom: 0;
}
.log__item[data-type="error"] {
color: red;
}
.time {
font-size: 0.8em;
color: #ccc;
}
</style>
</head>
<body>
<h1>LiveStyle log</h1>
<ul class="log"></ul>
<script src="./scripts/error-log.js"></script>
</body>
</html>