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

<body>
    <div class="timo-detail-page">
        <div class="timo-detail-title">操作系统信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th>系统名字</th>
                <td th:text="${machine.osInfo.name}"></td>
                <th>系统架构</th>
                <td th:text="${machine.osInfo.arch}"></td>
                <th>系统版本</th>
                <td th:text="${machine.osInfo.version}"></td>
            </tr>
            <tr>
                <th>系统字节序</th>
                <td th:text="${machine.osInfo.byteOrder}"></td>
                <th>系统启动时间</th>
                <td th:text="${machine.osInfo.bootTime}"></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">网络信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr th:each="item:${machine.networkInfos}">
                <th>网卡接口</th>
                <td th:text="${item.iface}"></td>
                <th>MAC 地址</th>
                <td th:text="${item.mac}"></td>
                <th>IPv4 地址</th>
                <td th:text="${item.ipv4}"></td>
                <th>IPv6 地址</th>
                <td th:text="${item.ipv6}"></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">处理器信息</div>
        <table class="layui-table timo-detail-table">
            <tbody>
            <tr>
                <th>物理处理器数量</th>
                <td th:text="${machine.cpuInfo.physicalCore}"></td>
                <th>逻辑处理器数量</th>
                <td th:text="${machine.cpuInfo.logicalCore}"></td>
            </tr>
            <tr>
                <th>处理器品牌</th>
                <td th:text="${machine.cpuInfo.vendorId}"></td>
                <th>处理器型号</th>
                <td th:text="${machine.cpuInfo.modelName}"></td>
                <th>bogoMips</th>
                <td th:text="${machine.cpuInfo.bogoMips}"></td>
            </tr>
            </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>