<!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">
            <thead>
            <tr>
                <th data-field="name">名字</th>
                <th data-field="arch">架构</th>
                <th data-field="version">版本</th>
                <th data-field="byteOrder">字节序</th>
                <th data-field="bootTime">启动时间</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td th:text="${machine.name}"></td>
                <td th:text="${machine.arch}"></td>
                <td th:text="${machine.version}"></td>
                <td th:text="${machine.byteOrder}"></td>
                <td th:text="${machine.bootTime}"></td>
            </tr>
            </tbody>
        </table>
        <div class="timo-detail-title">网络</div>
        <table class="layui-table timo-detail-table">
            <thead>
            <tr>
                <th data-field="iface">网卡接口</th>
                <th data-field="mac">MAC 地址</th>
                <th data-field="ipv4">IPv4 地址</th>
                <th data-field="pubicIpv4">IPv4 公网地址</th>
                <th data-field="ipv6">IPv6 地址</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="item:${machine.networkInfos}">
                <td th:text="${item.iface}"></td>
                <td th:text="${item.mac}"></td>
                <td th:text="${item.ipv4}"></td>
                <td th:text="${item.publicIpv4}"></td>
                <td th:text="${item.ipv6}"></td>
            </tr>
            </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>