mirror of
https://github.com/discourse/discourse.git
synced 2025-01-17 03:52:45 +08:00
407fa69778
Conversion of /admin/customize/embedding page to follow admin UX guidelines.
49 lines
1.5 KiB
Handlebars
49 lines
1.5 KiB
Handlebars
<div class="admin-embedding admin-config-page">
|
|
<DPageHeader
|
|
@titleLabel={{i18n "admin.embedding.title"}}
|
|
@descriptionLabel={{i18n "admin.embedding.description"}}
|
|
@learnMoreUrl="https://meta.discourse.org/t/embed-discourse-comments-on-another-website-via-javascript/31963"
|
|
>
|
|
<:breadcrumbs>
|
|
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin_title"}} />
|
|
<DBreadcrumbsItem
|
|
@path="/admin/customize/embedding"
|
|
@label={{i18n "admin.embedding.title"}}
|
|
/>
|
|
</:breadcrumbs>
|
|
<:actions as |actions|>
|
|
<actions.Primary
|
|
@route="adminEmbedding.new"
|
|
@title="admin.embedding.add_host"
|
|
@label="admin.embedding.add_host"
|
|
class="admin-embedding__header-add-host"
|
|
/>
|
|
</:actions>
|
|
<:tabs>
|
|
<NavItem
|
|
@route="adminEmbedding.settings"
|
|
@label="admin.embedding.nav.settings"
|
|
class="admin-embedding-tabs__settings"
|
|
/>
|
|
<NavItem
|
|
@route="adminEmbedding.index"
|
|
@label="admin.embedding.nav.hosts"
|
|
class="admin-embedding-tabs__hosts"
|
|
/>
|
|
<NavItem
|
|
@route="adminEmbedding.postsAndTopics"
|
|
@label="admin.embedding.nav.posts_and_topics"
|
|
class="admin-embedding-tabs__posts-and-topics"
|
|
/>
|
|
<NavItem
|
|
@route="adminEmbedding.crawlers"
|
|
@label="admin.embedding.nav.crawlers"
|
|
class="admin-embedding-tabs__crawlers"
|
|
/>
|
|
</:tabs>
|
|
</DPageHeader>
|
|
|
|
<div class="admin-container admin-config-page__main-area">
|
|
{{outlet}}
|
|
</div>
|
|
</div> |