PyBot/web/templates/log.html
2025-01-14 18:16:59 +08:00

30 lines
941 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>日志查询</title>
<!-- 引入 Layui 的 CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-src/dist/css/layui.css">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
}
h1 {
color: #333;
}
#markdown-content {
white-space: pre-wrap; /* Preserve whitespace and wrap lines */
}
</style>
</head>
<body>
<div class="layui-container">
<h1 class="layui-title">程序运行日志</h1>
<h4>为保证网页运作性能默认仅读取后100条记录若您有需求可自行更改app.py</h4><br>
<pre>{{ log_content }}</pre>
<div id="markdown-content" class="layui-card-body"></div>
</div>
</body>
</html>