mirror of https://github.com/jumpserver/jumpserver
[Update] 修改 API Key 页面显示布局
parent
afdf0062eb
commit
0ed08c2f4c
|
@ -14,10 +14,13 @@
|
|||
}
|
||||
|
||||
</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>
|
||||
</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>
|
||||
<tr>
|
||||
<th class="text-center">
|
||||
|
@ -34,9 +37,9 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<div id="uc" hidden>
|
||||
<button class="btn btn-primary btn-sm" id="create-btn" href="#"> {% trans "Create" %} </button>
|
||||
</div>
|
||||
{#<div id="uc" hidden>#}
|
||||
{# <button class="btn btn-primary btn-sm" id="create-btn" href="#"> {% trans "Create" %} </button>#}
|
||||
{#</div>#}
|
||||
|
||||
<script>
|
||||
var table = null;
|
||||
|
@ -85,7 +88,7 @@ function initAccessKeyTable() {
|
|||
{data: "date_created"},
|
||||
{data: "id", orderable: false}
|
||||
],
|
||||
uc_html: $('#uc').html()
|
||||
{#uc_html: $('#uc').html()#}
|
||||
};
|
||||
table = jumpserver.initServerSideDataTable(options);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue