-
Notifications
You must be signed in to change notification settings - Fork 3
/
panel.html
79 lines (74 loc) · 2.78 KB
/
panel.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="./css/iconfont.css">
<link rel="stylesheet" href="./css/panel.css">
<style>
ul:empty:after {
content: ' 等待接收请求...\A 在控制台发起请求或按 F5 刷新页面';
color: #777;
font-size: 14px;
display: block;
position: absolute;
left: 50%;
width: 300px;
margin-left: -150px;
top: 50%;
margin-top: -22px;
white-space: pre;
text-align: center;
line-height: 2;
}
</style>
</head>
<body>
<header>
<span id="record">
<i class="fa fa-circle"></i>
</span>
<span id="clear" title="清空日志">
<i class="iconfont icon-clearup"></i>
</span>
<span id="split"> </span>
<div class="search-wrap">
<label id="search-icon" for="search">
<i class="iconfont icon-search1187938easyiconnet"></i>
</label>
<input id="search" type="search" placeholder="日志关键字">
</div>
<label>日志级别</label>
<div class="level-wrap">
<div title="信息" id="info" class="active"></div>
<div title="警告" id="warn"></div>
<div title="错误" id="error"></div>
</div>
<div class="custom-control custom-checkbox" title="页面刷新或重新导航时不清除已有日志">
<input class="custom-control-input" id="check-preserve" type="checkbox">
<label class="custom-control-label" for="check-preserve">保持日志</label>
</div>
<div class="custom-control custom-checkbox" title="有新的日志时自动滚动到底部">
<input class="custom-control-input" id="check-scroll" type="checkbox" checked>
<label class="custom-control-label" for="check-scroll">自动滚屏</label>
</div>
<span id="settings" title="设置">
<i class="iconfont icon-mzicon-setting"></i>
</span>
<span id="filter-info"></span>
<span id="count-info">当前共<i id="total-count">0</i>条日志</span>
</header>
<ul id="logs"></ul>
<div id="no-data">无筛选结果</div>
<footer>
<span class="desc">
<a href="https://github.com/eshengsky/chrome-extension-server-log" target="_blank">code</a> with
<i class="iconfont icon-love" title="love"></i> by
<a href="https://github.com/eshengsky" target="_blank">Sky</a>
</span>
<div id="version-info">
当前版本<span id="curr-version"></span>
</div>
</footer>
<script src="./js/panel.js"></script>
</body>
</html>