2023-01-31 19:33:26 +08:00
|
|
|
<span>
|
|
|
|
<PluginOutlet @name="admin-dashboard-top" @connectorTagName="div" />
|
|
|
|
</span>
|
2013-04-17 04:56:18 +08:00
|
|
|
|
2024-08-20 07:59:43 +08:00
|
|
|
<AdminPageHeader @hideTabs={{true}}>
|
|
|
|
<:breadcrumbs>
|
|
|
|
<DBreadcrumbsItem @path="/admin" @label={{i18n "admin.dashboard.title"}} />
|
|
|
|
</:breadcrumbs>
|
|
|
|
</AdminPageHeader>
|
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.showVersionChecks}}
|
2019-04-01 18:39:49 +08:00
|
|
|
<div class="section-top">
|
|
|
|
<div class="version-checks">
|
2022-07-06 01:41:31 +08:00
|
|
|
<VersionChecks @versionCheck={{this.versionCheck}} @tagName="" />
|
2016-08-04 03:36:41 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-01 18:39:49 +08:00
|
|
|
{{/if}}
|
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
<DashboardProblems
|
|
|
|
@loadingProblems={{this.loadingProblems}}
|
2024-09-17 14:43:34 +08:00
|
|
|
@problems={{this.problems}}
|
2022-07-06 01:41:31 +08:00
|
|
|
@problemsTimestamp={{this.problemsTimestamp}}
|
|
|
|
@refreshProblems={{action "refreshProblems"}}
|
|
|
|
/>
|
2024-07-18 23:39:59 +08:00
|
|
|
<nav>
|
|
|
|
<ul class="nav nav-pills">
|
|
|
|
<li class="navigation-item general">
|
|
|
|
<LinkTo @route="admin.dashboard.general" class="navigation-link">
|
|
|
|
{{i18n "admin.dashboard.general_tab"}}
|
2022-06-30 18:30:50 +08:00
|
|
|
</LinkTo>
|
2020-04-30 23:31:04 +08:00
|
|
|
</li>
|
|
|
|
|
2024-07-18 23:39:59 +08:00
|
|
|
{{#if this.isModerationTabVisible}}
|
|
|
|
<li class="navigation-item moderation">
|
|
|
|
<LinkTo @route="admin.dashboardModeration" class="navigation-link">
|
|
|
|
{{i18n "admin.dashboard.moderation_tab"}}
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2020-04-30 23:31:04 +08:00
|
|
|
|
2024-07-18 23:39:59 +08:00
|
|
|
{{#if this.isSecurityTabVisible}}
|
|
|
|
<li class="navigation-item security">
|
|
|
|
<LinkTo @route="admin.dashboardSecurity" class="navigation-link">
|
|
|
|
{{i18n "admin.dashboard.security_tab"}}
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-09-05 13:47:18 +08:00
|
|
|
|
2024-07-18 23:39:59 +08:00
|
|
|
{{#if this.isReportsTabVisible}}
|
|
|
|
<li class="navigation-item reports">
|
|
|
|
<LinkTo @route="admin.dashboardReports" class="navigation-link">
|
|
|
|
{{i18n "admin.dashboard.reports_tab"}}
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<PluginOutlet @name="admin-dashboard-tabs-after" />
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2019-04-01 18:39:49 +08:00
|
|
|
|
|
|
|
{{outlet}}
|
|
|
|
|
2023-01-31 19:33:26 +08:00
|
|
|
<span>
|
|
|
|
<PluginOutlet @name="admin-dashboard-bottom" @connectorTagName="div" />
|
|
|
|
</span>
|