<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>

<body class="timo-layout-page">
<div class="layui-card">
    <div class="layui-card-header">
        <span><i class="fa fa-table"></i> 系统运行日志</span>
        <span id="ws-status" style="background: red">离线</span>
    </div>
    <div class="layui-card-body" style="background: black">
        <ul id="applog" class="flow-default layui-timeline" style="height: 500px;overflow: auto">
        </ul>
    </div>
</div>
</body>
<script th:replace="/common/template :: script"></script>
<script type="text/javascript" th:src="@{/js/plugins/jquery-3.4.1.min.js}"></script>
<script type="text/javascript" th:src="@{/js/wsclient.js}"></script>
<script type="text/javascript" th:inline="javascript">
    initWebSocket()
</script>
</html>