| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!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" 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="env">环境</th>
- <th class="sortable" data-field="envName">环境名</th>
- <th class="sortable" data-field="isDefault">是否默认</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.env}">环境</td>
- <td th:text="${item.envName}">环境名</td>
- <td th:text="${item.isDefault}">是否默认</td>
- <td>
- <a class="open-popup" data-title="WebTerminal" th:attr="data-url=@{'/api/machine/host/webssh/'+${item.id}}"
- href="#">设为默认</a>
- <a class="open-popup" data-title="WebTerminal" th:attr="data-url=@{'/api/machine/host/webssh/'+${item.id}}"
- href="#">编辑</a>
- <a class="ajax-delete" th:attr="data-msg='确定要删除 '+ ${item.envName} + '?'"
- th:href="@{'/api/machine/host/' + ${item.id}}">删除</a>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <script th:replace="/common/template :: script"></script>
- <script type="text/javascript">
- </script>
- </body>
- </html>
|