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

39 lines
1.4 KiB
Handlebars
Raw Normal View History

2013-02-05 14:16:51 -05:00
<div class="container">
{{global-notice}}
2013-02-05 14:16:51 -05:00
<div class="row">
<div class="full-width">
2013-02-05 14:16:51 -05:00
<ul class="nav nav-pills">
{{admin-nav-item route='admin.dashboard' label='admin.dashboard.title'}}
{{#if currentUser.admin}}
{{admin-nav-item route='adminSiteSettings' label='admin.site_settings.title'}}
{{/if}}
{{admin-nav-item route='adminUsersList' label='admin.users.title'}}
{{#if showBadges}}
{{admin-nav-item route='adminBadges.index' label='admin.badges.title'}}
{{/if}}
2013-07-26 18:58:40 -04:00
{{#if currentUser.admin}}
{{admin-nav-item route='adminGroups' label='admin.groups.title'}}
2013-07-26 18:58:40 -04:00
{{/if}}
{{admin-nav-item route='adminEmail' label='admin.email.title'}}
{{admin-nav-item route='adminFlags' label='admin.flags.title'}}
{{admin-nav-item route='adminLogs' label='admin.logs.title'}}
{{#if currentUser.admin}}
{{admin-nav-item route='adminCustomize.colors' label='admin.customize.title'}}
{{admin-nav-item route='admin.api' label='admin.api.title'}}
{{admin-nav-item route='admin.backups' label='admin.backups.title'}}
{{/if}}
{{admin-nav-item route='adminPlugins' label='admin.plugins.title'}}
{{plugin-outlet "admin-menu" tagName="li"}}
2013-02-05 14:16:51 -05:00
</ul>
<div class='boxed white admin-content'>
<div class='admin-contents'>
{{outlet}}
</div>
</div>
</div>
</div>
</div>