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

31 lines
726 B
Handlebars
Raw Normal View History

2018-07-03 11:14:53 +08:00
<div class='admin-controls'>
<div class='controls'>
{{d-button action="toggleMenu" class="menu-toggle" icon="bars"}}
{{#if currentUser.admin}}
{{d-button label="admin.plugins.change_settings"
icon="gear"
class="btn-default settings-button"
2018-07-03 11:14:53 +08:00
action="showSettings"}}
{{/if}}
</div>
</div>
<div class="admin-nav pull-left">
<ul class="nav nav-stacked">
2015-07-11 20:09:12 +08:00
{{nav-item route='adminPlugins.index' label="admin.plugins.title"}}
{{#each adminRoutes as |route|}}
2015-07-11 20:09:12 +08:00
{{nav-item 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>
2018-07-03 11:14:53 +08:00
<div class="clearfix"></div>