2013-02-06 03:16:51 +08:00
|
|
|
<div class="admin-controls">
|
2018-07-03 11:14:53 +08:00
|
|
|
<div class="controls">
|
2021-09-14 01:43:43 +08:00
|
|
|
<div class="inline-form">
|
2023-08-31 17:49:35 +08:00
|
|
|
<DButton @action={{this.toggleMenu}} @icon="bars" class="menu-toggle" />
|
2022-07-06 01:41:31 +08:00
|
|
|
<TextField
|
|
|
|
@id="setting-filter"
|
|
|
|
@value={{this.filter}}
|
|
|
|
@placeholderKey="type_to_filter"
|
2023-12-12 20:09:05 +08:00
|
|
|
class="no-blur"
|
2022-07-06 01:41:31 +08:00
|
|
|
/>
|
2022-06-30 18:30:50 +08:00
|
|
|
<DButton
|
2023-08-31 17:49:35 +08:00
|
|
|
@action={{this.clearFilter}}
|
2022-06-30 18:30:50 +08:00
|
|
|
@label="admin.site_settings.clear_filter"
|
2023-08-31 17:49:35 +08:00
|
|
|
id="clear-filter"
|
|
|
|
class="btn-default"
|
2022-06-30 18:30:50 +08:00
|
|
|
/>
|
2021-09-14 01:43:43 +08:00
|
|
|
</div>
|
2018-07-03 11:14:53 +08:00
|
|
|
</div>
|
2023-07-28 01:41:42 +08:00
|
|
|
|
2013-03-07 01:07:09 +08:00
|
|
|
<div class="search controls">
|
2013-11-15 01:37:41 +08:00
|
|
|
<label>
|
2023-07-28 01:41:42 +08:00
|
|
|
<Input
|
|
|
|
@type="checkbox"
|
|
|
|
@checked={{this.onlyOverridden}}
|
|
|
|
class="toggle-overridden"
|
|
|
|
/>
|
2018-03-05 08:04:23 +08:00
|
|
|
{{i18n "admin.settings.show_overriden"}}
|
2013-11-15 01:37:41 +08:00
|
|
|
</label>
|
2013-02-06 03:16:51 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-11-23 06:40:55 +08:00
|
|
|
<div class="admin-nav admin-site-settings-category-nav pull-left">
|
2013-11-16 04:22:42 +08:00
|
|
|
<ul class="nav nav-stacked">
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#each this.visibleSiteSettings as |category|}}
|
2023-11-23 06:40:55 +08:00
|
|
|
<li
|
|
|
|
class={{concat-class
|
|
|
|
"admin-site-settings-category-nav__item"
|
|
|
|
category.nameKey
|
|
|
|
}}
|
|
|
|
>
|
2022-06-30 18:30:50 +08:00
|
|
|
<LinkTo
|
|
|
|
@route="adminSiteSettingsCategory"
|
|
|
|
@model={{category.nameKey}}
|
|
|
|
class={{category.nameKey}}
|
2023-03-25 00:46:10 +08:00
|
|
|
title={{category.name}}
|
2022-06-30 18:30:50 +08:00
|
|
|
>
|
2013-11-16 04:22:42 +08:00
|
|
|
{{category.name}}
|
2023-03-25 00:46:10 +08:00
|
|
|
{{#if category.count}}
|
|
|
|
<span class="count">({{category.count}})</span>
|
|
|
|
{{/if}}
|
2022-06-30 18:30:50 +08:00
|
|
|
</LinkTo>
|
2017-08-30 23:00:00 +08:00
|
|
|
</li>
|
2013-11-16 04:22:42 +08:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-11-14 03:02:47 +08:00
|
|
|
|
2015-08-17 01:35:23 +08:00
|
|
|
<div class="admin-detail pull-left mobile-closed">
|
2014-10-03 01:58:36 +08:00
|
|
|
{{outlet}}
|
2013-11-16 04:22:42 +08:00
|
|
|
</div>
|
2013-04-05 14:43:48 +08:00
|
|
|
|
2013-11-16 04:22:42 +08:00
|
|
|
<div class="clearfix"></div>
|