Commit 0ed08c2f authored by BaiJiangJie's avatar BaiJiangJie

[Update] 修改 API Key 页面显示布局

parent afdf0062
...@@ -14,10 +14,13 @@ ...@@ -14,10 +14,13 @@
} }
</style> </style>
<div class="alert alert-info help-message"> <div class="alert alert-info help-message" style="margin-left: 0px; margin-right: 0px;">
{% trans 'Using api key sign api header, every requests header difference'%}, <a href="https://tools.ietf.org/html/draft-cavage-http-signatures-08">{% trans 'docs' %} </a> {% trans 'Using api key sign api header, every requests header difference'%}, <a href="https://tools.ietf.org/html/draft-cavage-http-signatures-08">{% trans 'docs' %} </a>
</div> </div>
<table class="table table-striped table-bordered table-hover " id="access_key_list_table" style="padding-top: 10px"> <div class="uc pull-left m-r-0 m-t-10">
<button class="btn btn-primary btn-sm" id="create-btn" href="#"> {% trans "Create" %} </button>
</div>
<table class="table table-striped table-bordered table-hover " id="access_key_list_table">
<thead> <thead>
<tr> <tr>
<th class="text-center"> <th class="text-center">
...@@ -34,9 +37,9 @@ ...@@ -34,9 +37,9 @@
</tbody> </tbody>
</table> </table>
<div id="uc" hidden> {#<div id="uc" hidden>#}
<button class="btn btn-primary btn-sm" id="create-btn" href="#"> {% trans "Create" %} </button> {# <button class="btn btn-primary btn-sm" id="create-btn" href="#"> {% trans "Create" %} </button>#}
</div> {#</div>#}
<script> <script>
var table = null; var table = null;
...@@ -85,7 +88,7 @@ function initAccessKeyTable() { ...@@ -85,7 +88,7 @@ function initAccessKeyTable() {
{data: "date_created"}, {data: "date_created"},
{data: "id", orderable: false} {data: "id", orderable: false}
], ],
uc_html: $('#uc').html() {#uc_html: $('#uc').html()#}
}; };
table = jumpserver.initServerSideDataTable(options); table = jumpserver.initServerSideDataTable(options);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment