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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
691 B
Handlebars
Raw Normal View History

2018-07-03 11:14:53 +08:00
<div class="admin-controls">
<div class="controls">
<DButton @action={{action "toggleMenu"}} @class="menu-toggle" @icon="bars" />
2018-07-03 11:14:53 +08:00
{{#if currentUser.admin}}
<DButton @label="admin.plugins.change_settings" @icon="cog" @class="btn-default settings-button" @action={{route-action "showSettings"}} />
2018-07-03 11:14:53 +08:00
{{/if}}
</div>
</div>
2018-07-03 11:14:53 +08:00
<div class="admin-nav pull-left">
<ul class="nav nav-stacked">
<NavItem @route="adminPlugins.index" @label="admin.plugins.title" />
{{#each adminRoutes as |route|}}
<NavItem @route={{route.full_location}} @label={{route.label}} />
{{/each}}
</ul>
</div>
2018-07-03 11:14:53 +08:00
<div class="admin-detail pull-left mobile-closed">
{{outlet}}
</div>