discourse/app/assets/javascripts/admin/templates/admin.hbs

46 lines
1.5 KiB
Handlebars
Raw Normal View History

{{#admin-wrapper 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">
2018-07-02 23:14:53 -04:00
2019-04-01 06:39:49 -04:00
{{nav-item route='admin.dashboard' label='admin.dashboard.title'}}
{{#if currentUser.admin}}
2015-07-11 08:09:12 -04:00
{{nav-item route='adminSiteSettings' label='admin.site_settings.title'}}
{{/if}}
{{nav-item route='adminUsersList' label='admin.users.title'}}
{{#if showGroups}}
{{nav-item route='groups' label='admin.groups.title'}}
{{/if}}
{{#if showBadges}}
{{nav-item route='adminBadges' label='admin.badges.title'}}
{{/if}}
2013-07-26 18:58:40 -04:00
{{#if currentUser.admin}}
{{nav-item route='adminEmail' label='admin.email.title'}}
2013-07-26 18:58:40 -04:00
{{/if}}
2015-07-11 08:09:12 -04:00
{{nav-item route='adminLogs' label='admin.logs.title'}}
{{#if currentUser.admin}}
{{nav-item route='adminCustomize' label='admin.customize.title'}}
{{nav-item route='adminApi' label='admin.api.title'}}
{{#if siteSettings.enable_backups}}
{{nav-item route='admin.backups' label='admin.backups.title'}}
{{/if}}
{{/if}}
2015-07-11 08:09:12 -04:00
{{nav-item route='adminPlugins' label='admin.plugins.title'}}
{{plugin-outlet name="admin-menu" connectorTagName="" tagName=""}}
2018-07-02 23:14:53 -04:00
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'>
<div class='admin-contents {{adminContentsClassName}}'>
2013-02-05 14:16:51 -05:00
{{outlet}}
</div>
</div>
</div>
</div>
{{/admin-wrapper}}