2022-06-30 06:30:50 -04:00
|
|
|
<AdminWrapper @class="container">
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class="row">
|
2019-04-01 06:39:49 -04:00
|
|
|
<div class="full-width">
|
2018-07-02 23:14:53 -04:00
|
|
|
<div class="admin-main-nav">
|
2013-02-05 14:16:51 -05:00
|
|
|
<ul class="nav nav-pills">
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="admin.dashboard" @label="admin.dashboard.title" />
|
2013-05-28 11:52:31 -04:00
|
|
|
{{#if currentUser.admin}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminSiteSettings" @label="admin.site_settings.title" />
|
2013-05-02 01:15:17 -04:00
|
|
|
{{/if}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminUsers" @label="admin.users.title" />
|
2018-10-11 19:34:47 -04:00
|
|
|
{{#if showGroups}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="groups" @label="admin.groups.title" />
|
2018-10-11 19:34:47 -04:00
|
|
|
{{/if}}
|
2014-03-19 00:18:04 -04:00
|
|
|
{{#if showBadges}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminBadges" @label="admin.badges.title" />
|
2017-12-21 15:21:28 -05:00
|
|
|
{{/if}}
|
2013-07-26 18:58:40 -04:00
|
|
|
{{#if currentUser.admin}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminEmail" @label="admin.email.title" />
|
2013-05-02 01:15:17 -04:00
|
|
|
{{/if}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminLogs" @label="admin.logs.title" />
|
|
|
|
<NavItem @route="adminCustomize" @label="admin.customize.title" />
|
2013-05-28 11:52:31 -04:00
|
|
|
{{#if currentUser.admin}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminApi" @label="admin.api.title" />
|
2017-12-21 15:21:28 -05:00
|
|
|
{{#if siteSettings.enable_backups}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="admin.backups" @label="admin.backups.title" />
|
2020-04-13 11:17:20 -04:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<NavItem @route="adminPlugins" @label="admin.plugins.title" />
|
|
|
|
<PluginOutlet @name="admin-menu" />
|
2013-02-05 14:16:51 -05:00
|
|
|
</ul>
|
2018-07-02 23:14:53 -04:00
|
|
|
</div>
|
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
<div class="boxed white admin-content">
|
2017-10-30 14:13:49 -04:00
|
|
|
<div class="admin-contents {{adminContentsClassName}}">
|
2013-02-05 14:16:51 -05:00
|
|
|
{{outlet}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-30 06:30:50 -04:00
|
|
|
</AdminWrapper>
|