blob: ceee97391a334a7d9c1c1d9fd7ae098c42e85ffd (
plain)
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
|
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>IRC Log Viewer</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 1200px;
margin: 20px;
background-color: #f4f4f4;
}
#log-container {
border: 1px solid #ccc;
padding: 15px;
background-color: #fff;
white-space: pre-wrap;
}
pre {
font-family: Consolas, monospace;
margin: 0;
padding: 0;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.error {
color: red;
font-weight: bold;
}
.loading {
color: blue;
}
@media (max-width: 600px) {
pre {
font-size: 0.7em;
}
}
#searchlink {
visibility: hidden;
}
.logline {
color: black;
text-decoration: none;
}
.logline:link {
color: black;
text-decoration: none;
}
.logline:hover {
color: black;
text-decoration: underline;
}
.logline:visited {
color: black;
text-decoration: none;
}
</style>
</head>
<body>
<h1>IRC Log Viewer</h1>
<div id="controls">
<label for="log-date">选择日期:</label>
<input type="date" id="log-date" value="">
<button onclick="setToday()">今天</button>
<br>
<span id="searchlink"><br><button onclick="gotosearch()">搜索</button><br><br></span>
</div>
<button onclick="setPreviousDay()">上一天</button>
<button onclick="setNextDay()">下一天</button>
<div id="log-container"></div>
<button onclick="setPreviousDay()">上一天</button>
<button onclick="setNextDay()">下一天</button>
<script src="./view8.js"></script>
</body>
</html>
|