| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:mo="https://gitee.com/aun/Timo">
- <head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
- <link rel="stylesheet" th:href="@{/lib/zTree_v3/css/zTreeStyle/zTreeStyle.css}" type="text/css">
- </head>
- <body class="timo-layout-page">
- <div class="layui-card">
- <div class="layui-card-header timo-card-header">
- <span><i class="fa fa-bars"></i> 我的 Key 列表</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="sortable" data-field="appName">AccessKeyId</th>
- <th class="sortable" data-field="appName">AccessKeySecret</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr th:each="item:${list}">
- <td th:text="${item.accessKeyId}">应用名</td>
- <td th:text="${item.accessKeySecret}">应用 ID</td>
- <td>
- <a class="ajax-post" th:attr="data-msg='确定要重新生成?'" th:href="@{'/api/store/my/key/regenerate'}">重新生成</a>
- <a class="ajax-delete" th:attr="data-msg='确定要删除 '+ ${item.accessKeyId}"
- th:href="@{'/api/store/my/key/delete/' + ${item.accessKeyId}}">删除</a>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <script th:replace="/common/template :: script"></script>
- <script type="text/javascript" th:src="@{/js/plugins/jquery-2.2.4.min.js}"></script>
- <script type="text/javascript">
- function getPageByCriteria() {
- console.log('select 事件')
- var envSelectedOption = $("#getPageByEnv option:selected")
- var envParam = envSelectedOption.text()
- var typeSelectedOption = $("#getPageByType option:selected")
- var typeParam = typeSelectedOption.text()
- url = '?env=' + envParam + '&type=' + typeParam
- window.location.href = window.location.pathname + url;
- }
- </script>
- </body>
- </html>
|