diff options
Diffstat (limited to 'irclog/search/index.html')
| -rw-r--r-- | irclog/search/index.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/irclog/search/index.html b/irclog/search/index.html new file mode 100644 index 0000000..066b30d --- /dev/null +++ b/irclog/search/index.html @@ -0,0 +1,62 @@ +<!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; + } + </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="./search.js"></script> +</body> +</html> |
