<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>HTTP服务详情</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="./layui/css/layui.css" th:href="@{/layui/css/layui.css}" media="all">
    <link rel="stylesheet" href="./style/admin.css" th:href="@{/style/admin.css}" media="all">
    <link rel="stylesheet" href="./style/myself.css" th:href="@{/style/myself.css}" media="all">
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="./js/html5.min.js" th:src="@{/js/html5.min.js}"></script>
    <script src="./js/respond.min.js" th:src="@{/js/respond.min.js}"></script>
    <![endif]-->
    <script type="text/javascript" charset="utf-8" th:inline="javascript">
        var ctxPath = /*[[@{/}]]*/'';
    </script>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-collapse">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">HTTP</h2>
                <div class="layui-colla-content layui-show">
                    <div class="layui-row layui-col-space10" style="word-break: break-all;">
                        <div class="layui-col-md12">
                            <label class="label-font-weight">ID：</label>[[${monitorHttpVo.id}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">主机名（来源）：</label>[[${monitorHttpVo.hostnameSource}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">URL地址（目的地）：</label>
                            <a target="_blank" style="cursor: pointer;text-decoration:underline;"
                               th:href="${monitorHttpVo.urlTarget}">[[${monitorHttpVo.urlTarget}]]</a>
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">请求方法：</label>[[${monitorHttpVo.method}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">请求参数：</label>[[${monitorHttpVo.parameter}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">平均响应时间（毫秒）：</label>[[${monitorHttpVo.avgTime}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">状态：</label>[[${monitorHttpVo.status}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">异常信息：</label>[[${monitorHttpVo.excMessage}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">离线次数：</label>[[${monitorHttpVo.offlineCount}]]
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">管理信息</h2>
                <div class="layui-colla-content layui-show">
                    <div class="layui-row layui-col-space10" style="word-wrap:break-word;">
                        <div class="layui-col-md12">
                            <label class="label-font-weight">新增时间：</label>
                            [[${#dates.format(monitorHttpVo.insertTime,'yyyy-MM-dd HH:mm:ss')}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">更新时间：</label>
                            [[${#dates.format(monitorHttpVo.updateTime,'yyyy-MM-dd HH:mm:ss')}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">监控环境：</label>[[${monitorHttpVo.monitorEnv}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">监控分组：</label>[[${monitorHttpVo.monitorGroup}]]
                        </div>
                        <div class="layui-col-md12">
                            <label class="label-font-weight">摘要：</label>[[${monitorHttpVo.descr}]]
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="./js/common.js" th:src="@{/js/common.js}" charset="utf-8"></script>
<script src="./layui/layui.js" th:src="@{/layui/layui.js}"></script>
<script charset="utf-8" th:inline="javascript">
    layui.config({
        base: ctxPath //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index']);
</script>
</body>
</html>