1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 15:44:49 +02:00

Admin Panel: Settings Manager - ability to change admin panel theme - added.

This commit is contained in:
Awilum
2019-01-15 01:54:24 +03:00
parent 0db781aae0
commit 23735e54fb

View File

@@ -196,6 +196,19 @@ Themes::view('admin/views/partials/content-start')->display();
<?= Form::input('cache[lifetime]', $settings['cache']['lifetime'], ['class' => 'form-control', 'id' => 'systemSettingsSystemCacheLifetime', 'required']) ?>
</div>
</div>
<div class="col-md-12">
<br>
<h3 class="h3"><?= __('admin_system_settings_admin_panel'); ?></h3>
<hr>
</div>
<div class="col-md-6">
<div class="form-group">
<?= Form::label('admin_panel[theme]', __('admin_system_settings_admin_panel_theme'), ['for' => 'systemSettingsSystemAdminPanelTheme']) ?>
<?= Form::select('admin_panel[theme]', ['light' => __('admin_system_settings_admin_panel_theme_light'), 'dark' => __('admin_system_settings_admin_panel_theme_dark')], $settings['admin_panel']['theme'], ['class' => 'form-control', 'id' => 'systemSettingsSystemAdminPanelTheme', 'required']) ?>
</div>
</div>
</div>
<?php echo Form::close(); ?>