2018-07-03 11:14:53 +08:00
|
|
|
<div class='admin-controls'>
|
|
|
|
|
|
|
|
<div class='controls'>
|
2019-01-10 18:06:01 +08:00
|
|
|
{{d-button action=(action "toggleMenu") class="menu-toggle" icon="bars"}}
|
2018-07-03 11:14:53 +08:00
|
|
|
|
|
|
|
{{#if currentUser.admin}}
|
|
|
|
{{d-button label="admin.plugins.change_settings"
|
2019-01-22 19:02:02 +08:00
|
|
|
icon="cog"
|
2018-10-25 04:09:36 +08:00
|
|
|
class="btn-default settings-button"
|
2019-01-10 18:06:01 +08:00
|
|
|
action=(route-action "showSettings")}}
|
2018-07-03 11:14:53 +08:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2019-01-10 18:06:01 +08:00
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
</div>
|
|
|
|
|
2015-02-07 06:32:59 +08:00
|
|
|
<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"}}
|
2015-02-07 06:32:59 +08:00
|
|
|
|
2016-04-30 05:29:41 +08:00
|
|
|
{{#each adminRoutes as |route|}}
|
2015-07-11 20:09:12 +08:00
|
|
|
{{nav-item route=route.full_location label=route.label}}
|
2015-02-07 06:32:59 +08:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
<div class="admin-detail pull-left mobile-closed">
|
2015-02-07 06:32:59 +08:00
|
|
|
{{outlet}}
|
|
|
|
</div>
|
2018-07-03 11:14:53 +08:00
|
|
|
|
|
|
|
<div class="clearfix"></div>
|