2023-08-17 19:47:08 +08:00
|
|
|
{{hide-application-footer}}
|
2023-12-04 19:53:07 +08:00
|
|
|
{{html-class "admin-area"}}
|
|
|
|
{{body-class "admin-interface"}}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="full-width">
|
2023-12-18 09:48:25 +08:00
|
|
|
{{#unless this.showAdminSidebar}}
|
|
|
|
<div class="admin-main-nav">
|
|
|
|
<ul class="nav nav-pills">
|
|
|
|
<NavItem @route="admin.dashboard" @label="admin.dashboard.title" />
|
|
|
|
{{#if this.currentUser.admin}}
|
|
|
|
<NavItem
|
|
|
|
@route="adminSiteSettings"
|
|
|
|
@label="admin.site_settings.title"
|
|
|
|
/>
|
2020-04-13 23:17:20 +08:00
|
|
|
{{/if}}
|
2023-12-18 09:48:25 +08:00
|
|
|
<NavItem @route="adminUsers" @label="admin.users.title" />
|
|
|
|
{{#if this.showGroups}}
|
|
|
|
<NavItem @route="groups" @label="admin.groups.title" />
|
|
|
|
{{/if}}
|
|
|
|
{{#if this.showBadges}}
|
|
|
|
<NavItem @route="adminBadges" @label="admin.badges.title" />
|
|
|
|
{{/if}}
|
|
|
|
{{#if this.currentUser.admin}}
|
|
|
|
<NavItem @route="adminEmail" @label="admin.email.title" />
|
|
|
|
{{/if}}
|
|
|
|
<NavItem @route="adminLogs" @label="admin.logs.title" />
|
|
|
|
<NavItem @route="adminCustomize" @label="admin.customize.title" />
|
|
|
|
{{#if this.currentUser.admin}}
|
|
|
|
<NavItem @route="adminApi" @label="admin.api.title" />
|
|
|
|
{{#if this.siteSettings.enable_backups}}
|
|
|
|
<NavItem @route="admin.backups" @label="admin.backups.title" />
|
|
|
|
{{/if}}
|
|
|
|
<NavItem @route="adminPlugins" @label="admin.plugins.title" />
|
|
|
|
{{/if}}
|
|
|
|
<PluginOutlet @name="admin-menu" />
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{/unless}}
|
2018-07-03 11:14:53 +08:00
|
|
|
|
2023-12-04 19:53:07 +08:00
|
|
|
<div class="boxed white admin-content">
|
|
|
|
<div class="admin-contents {{this.adminContentsClassName}}">
|
|
|
|
{{outlet}}
|
2013-02-06 03:16:51 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-12-04 19:53:07 +08:00
|
|
|
</div>
|