mirror of
https://github.com/discourse/discourse.git
synced 2025-01-17 03:32:46 +08:00
d9ddc25808
This PR updates the admin API keys page to follow the Admin UI Guidelines. In addition it modernizes all the JavaScript involved in this admin area.
21 lines
581 B
Handlebars
21 lines
581 B
Handlebars
<div class="admin-api-keys admin-config-page">
|
|
<DPageHeader
|
|
@titleLabel={{i18n "admin.api_keys.title"}}
|
|
@descriptionLabel={{i18n "admin.api_keys.description"}}
|
|
@hideTabs={{true}}
|
|
>
|
|
<:breadcrumbs>
|
|
<DBreadcrumbsItem
|
|
@path="/admin/api/keys"
|
|
@label={{i18n "admin.api_keys.title"}}
|
|
/>
|
|
</:breadcrumbs>
|
|
<:actions as |actions|>
|
|
<actions.Primary @route="adminApiKeys.new" @label="admin.api_keys.add" />
|
|
</:actions>
|
|
</DPageHeader>
|
|
|
|
<div class="admin-container admin-config-page__main-area">
|
|
{{outlet}}
|
|
</div>
|
|
</div> |