Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
0ed08c2f
Commit
0ed08c2f
authored
Sep 23, 2019
by
BaiJiangJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改 API Key 页面显示布局
parent
afdf0062
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
_access_key_modal.html
...ntication/templates/authentication/_access_key_modal.html
+9
-6
No files found.
apps/authentication/templates/authentication/_access_key_modal.html
View file @
0ed08c2f
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment