<!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>