|
|
@@ -3,50 +3,91 @@
|
|
|
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})"></head>
|
|
|
|
|
|
<body class="timo-layout-page">
|
|
|
-<div class="layui-card" th:attr="data-url=@{/sys/bak}">
|
|
|
- <div class="layui-card-header timo-card-header">
|
|
|
- <span><i class="fa fa-bars"></i> 备份还原</span>
|
|
|
- <i class="layui-icon layui-icon-refresh refresh-btn"></i>
|
|
|
- </div>
|
|
|
- <div class="layui-card-body">
|
|
|
- <div class="timo-table-wrap">
|
|
|
- <table class="layui-table timo-table">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="timo-table-checkbox">
|
|
|
- <label class="timo-checkbox"><input type="checkbox">
|
|
|
- <i class="layui-icon layui-icon-ok"></i></label>
|
|
|
- </th>
|
|
|
- <th class="sortable" data-field="title">数据源</th>
|
|
|
- <th class="sortable" data-field="name">角色名</th>
|
|
|
- <th class="sortable" data-field="createTime">最近一次备份</th>
|
|
|
- <th class="sortable" data-field="updateTime">最近一次还原</th>
|
|
|
- <th>备份</th>
|
|
|
- <th>还原</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- <tr th:each="item:${list}">
|
|
|
- <td><label class="timo-checkbox"><input type="checkbox" th:value="${item.id}">
|
|
|
- <i class="layui-icon layui-icon-ok"></i></label></td>
|
|
|
- <td th:text="${item.title}">数据源</td>
|
|
|
- <td th:text="${item.name}">角色名</td>
|
|
|
- <td th:text="${item.createTime}">最近一次备份</td>
|
|
|
- <td th:text="${item.updateTime}">最近一次还原</td>
|
|
|
- <td>
|
|
|
- <a th:href="@{/sys/bak/export}"><i class="fa fa-download"></i></a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <button type="button" class="layui-btn upload-image" name="file[]"
|
|
|
- th:attr="up-url=@{/sys/bak/import}" up-field="path">
|
|
|
- <i class="fa fa-upload"></i>
|
|
|
- </button>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+<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="${jvmInfo.osName}"></td>
|
|
|
+ <th>系统架构</th>
|
|
|
+ <td th:text="${jvmInfo.osArch}"></td>
|
|
|
+ <th>系统版本</th>
|
|
|
+ <td th:text="${jvmInfo.osVersion}"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <div class="timo-detail-title">Java 信息</div>
|
|
|
+ <table class="layui-table timo-detail-table">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th>Java Runtime 名字</th>
|
|
|
+ <td th:text="${jvmInfo.javaRuntimeName}"></td>
|
|
|
+ <th>Java Runtime 版本</th>
|
|
|
+ <td th:text="${jvmInfo.javaRuntimeVersion}"></td>
|
|
|
+ <th>Java Class 版本</th>
|
|
|
+ <td th:text="${jvmInfo.javaClassVersion}"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <div class="timo-detail-title">JVM 信息</div>
|
|
|
+ <table class="layui-table timo-detail-table">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th>JVM 名字</th>
|
|
|
+ <td th:text="${jvmInfo.jvmName}"></td>
|
|
|
+ <th>JVM 版本</th>
|
|
|
+ <td th:text="${jvmInfo.jvmVersion}"></td>
|
|
|
+ <th>JVM Vendor</th>
|
|
|
+ <td th:text="${jvmInfo.jvmVendor}"></td>
|
|
|
+ <th>JVM 进程 ID</th>
|
|
|
+ <td th:text="${jvmInfo.jvmPid}"></td>
|
|
|
+ <th>JVM 启动时间</th>
|
|
|
+ <td th:text="${jvmInfo.jvmStartTime}"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <div class="timo-detail-title">类加载详情</div>
|
|
|
+ <table class="layui-table timo-detail-table">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th>已加载类数量</th>
|
|
|
+ <td th:text="${jvmStat.jvmClassesLoaded}"></td>
|
|
|
+ <th>未加载类数量</th>
|
|
|
+ <td th:text="${jvmStat.jvmClassesUnloaded}"></td>
|
|
|
+ <th>JVM 总的类总量</th>
|
|
|
+ <td th:text="${jvmStat.jvmClassesTotal}"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <div class="timo-detail-title">堆区和非堆区内存详情</div>
|
|
|
+ <table class="layui-table timo-detail-table">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th>初始化堆大小</th>
|
|
|
+ <td th:text="${jvmStat.jvmMemoryHeapInit}"></td>
|
|
|
+ <th>堆最大值</th>
|
|
|
+ <td th:text="${jvmStat.jvmMemoryHeapMax}"></td>
|
|
|
+ <th>已使用堆大小</th>
|
|
|
+ <td th:text="${jvmStat.jvmMemoryHeapUsed}"></td>
|
|
|
+ <th>已提交堆大小</th>
|
|
|
+ <td th:text="${jvmStat.jvmMemoryHeapCommitted}"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <div class="timo-detail-title">线程详情</div>
|
|
|
+ <table class="layui-table timo-detail-table">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <th>活动线程数</th>
|
|
|
+ <td th:text="${jvmStat.jvmThreadsLive}"></td>
|
|
|
+ <th>守护线程数</th>
|
|
|
+ <td th:text="${jvmStat.jvmThreadsDaemon}"></td>
|
|
|
+ <th>线程最大数</th>
|
|
|
+ <td th:text="${jvmStat.jvmThreadsPeak}"></td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
|
|
|
<script th:replace="/common/template :: script"></script>
|