mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2231 Panel Logo Değişecek
This commit is contained in:
parent
b8af419c7f
commit
baef7495ed
@ -6,7 +6,13 @@ return [
|
||||
'type' => 'anomaly.field_type.textarea',
|
||||
'input_view' => 'visiosoft.theme.defaultadmin::admin/navigation/settings',
|
||||
],
|
||||
"icon" => [
|
||||
"login_icon" => [
|
||||
"type" => "anomaly.field_type.file",
|
||||
"config" => [
|
||||
"folders" => ['images'],
|
||||
]
|
||||
],
|
||||
"panel_icon" => [
|
||||
"type" => "anomaly.field_type.file",
|
||||
"config" => [
|
||||
"folders" => ['images'],
|
||||
|
||||
@ -11,8 +11,11 @@ return [
|
||||
'warning' => 'The first accessible navigation item is used as the <strong>home</strong> area.',
|
||||
'reorder' => 'Drag and drop the primary navigation items in the <strong>sidebar</strong> to reorder them.',
|
||||
],
|
||||
"icon" => [
|
||||
'name' => 'Icon',
|
||||
"login_icon" => [
|
||||
'name' => 'Login Icon',
|
||||
],
|
||||
"panel_icon" => [
|
||||
'name' => 'Panel Icon',
|
||||
],
|
||||
"title" => [
|
||||
'name' => 'Title',
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
|
||||
<div class="logo-container">
|
||||
<div class="logo">
|
||||
{% if setting_value('visiosoft.theme.defaultadmin::icon') %}
|
||||
<img src="{{ file(setting_value('visiosoft.theme.defaultadmin::icon')).url }}" alt="site icon">
|
||||
{% if setting_value('visiosoft.theme.defaultadmin::login_icon') %}
|
||||
<img src="{{ file(setting_value('visiosoft.theme.defaultadmin::login_icon')).url }}" alt="site icon">
|
||||
{% else %}
|
||||
{{ img('theme::img/icon.svg').data|raw }}
|
||||
{% endif %}
|
||||
@ -18,8 +18,8 @@
|
||||
<div class="login-wrapper container-fluid">
|
||||
|
||||
<div class="logo">
|
||||
{% if setting_value('visiosoft.theme.defaultadmin::icon') %}
|
||||
<img src="{{ file(setting_value('visiosoft.theme.defaultadmin::icon')).url }}" alt="site icon">
|
||||
{% if setting_value('visiosoft.theme.defaultadmin::login_icon') %}
|
||||
<img src="{{ file(setting_value('visiosoft.theme.defaultadmin::login_icon')).url }}" alt="site icon">
|
||||
{% else %}
|
||||
{{ img('theme::img/icon.svg').data|raw }}
|
||||
{% endif %}
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
<div class="topbar-left">
|
||||
<a href="/admin" class="logo variant-logo">
|
||||
{% if setting_value('visiosoft.theme.defaultadmin::icon') %}
|
||||
<img src="{{ file(setting_value('visiosoft.theme.defaultadmin::icon')).url }}" alt="site icon">
|
||||
{% if setting_value('visiosoft.theme.defaultadmin::panel_icon') %}
|
||||
<img src="{{ file(setting_value('visiosoft.theme.defaultadmin::panel_icon')).url }}" alt="site icon">
|
||||
{% else %}
|
||||
{{ img('theme::img/icon.svg').data|raw }}
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user