summaryrefslogtreecommitdiff
path: root/irclog/search/index.html
blob: a31414b6960268f4a8c6724ce1797a876b376853 (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;
        }
        a:link,
        a:visited {
            color: blue;
            text-decoration: underline; 
        }
        .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日志检索</h1>
    <div id="controls">
        <input type="text" id="query" value="">
        <button onclick="search()">搜索</button> 
        <br>
        <br>
    </div>
    <div id="log-container"></div>
    <script src="./search1.js"></script>
</body>
</html>