Merge pull request #5629 from devansh-webkul/moved-velocity

This commit is contained in:
Devansh 2022-01-17 20:24:08 +05:30 committed by GitHub
commit b347ed929c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 139 deletions

View File

@ -2,19 +2,19 @@
return [
[
'key' => 'velocity',
'key' => 'settings.velocity',
'name' => 'velocity::app.admin.layouts.velocity',
'route' => 'velocity.admin.content.index',
'sort' => 5,
'icon-class' => 'velocity-icon',
'sort' => 9,
'icon-class' => '',
], [
'key' => 'velocity.meta-data',
'key' => 'settings.velocity.meta-data',
'name' => 'velocity::app.admin.layouts.meta-data',
'route' => 'velocity.admin.meta-data',
'sort' => 1,
'icon-class' => '',
], [
'key' => 'velocity.header',
'key' => 'settings.velocity.header',
'name' => 'velocity::app.admin.layouts.header-content',
'route' => 'velocity.admin.content.index',
'sort' => 2,

View File

@ -1,134 +0,0 @@
<?php
return [
[
'key' => 'velocity',
'name' => 'velocity::app.admin.system.velocity.extension_name',
'sort' => 2,
], [
'key' => 'velocity.configuration',
'name' => 'velocity::app.admin.system.velocity.settings',
'sort' => 1,
], [
'key' => 'velocity.configuration.general',
'name' => 'velocity::app.admin.system.velocity.general',
'sort' => 1,
'fields' => [
[
'name' => 'status',
'title' => 'velocity::app.admin.system.general.status',
'type' => 'select',
'options' => [
[
'title' => 'velocity::app.admin.system.general.active',
'value' => true,
], [
'title' => 'velocity::app.admin.system.general.inactive',
'value' => false,
]
]
]
]
], [
'key' => 'velocity.configuration.category',
'name' => 'velocity::app.admin.system.velocity.category',
'sort' => 1,
'fields' => [
[
'name' => 'icon_status',
'title' => 'velocity::app.admin.system.category.icon-status',
'type' => 'select',
'options' => [
[
'title' => 'velocity::app.admin.system.category.active',
'value' => true,
], [
'title' => 'velocity::app.admin.system.category.inactive',
'value' => false,
]
]
], [
'name' => 'image_status',
'title' => 'velocity::app.admin.system.category.image-status',
'type' => 'select',
'options' => [
[
'title' => 'velocity::app.admin.system.category.active',
'value' => true,
], [
'title' => 'velocity::app.admin.system.category.inactive',
'value' => false,
]
]
], [
'name' => 'image_height',
'title' => 'velocity::app.admin.system.category.image-height',
'type' => 'depands',
'depand' => 'image_status:true',
'validation' => 'numeric|max:3',
'channel_based' => false,
'locale_based' => false,
], [
'name' => 'image_width',
'title' => 'velocity::app.admin.system.category.image-width',
'type' => 'depands',
'depand' => 'image_status:true',
'validation' => 'numeric|max:3',
'channel_based' => false,
'locale_based' => false,
], [
'name' => 'image_alignment',
'title' => 'velocity::app.admin.system.category.image-alignment',
'channel_based' => false,
'locale_based' => false,
'type' => 'depands',
'depand' => 'image_status:true',
'options' => [
[
'title' => 'Right',
'value' => 'right',
], [
'title' => 'Left',
'value' => 'left',
]
]
], [
'name' => 'tooltip_status',
'title' => 'velocity::app.admin.system.category.show-tooltip',
'type' => 'select',
'options' => [
[
'title' => 'velocity::app.admin.system.category.active',
'value' => true,
], [
'title' => 'velocity::app.admin.system.category.inactive',
'value' => false,
]
]
], [
'name' => 'sub_category',
'title' => 'velocity::app.admin.system.category.sub-category-show',
'channel_based' => false,
'locale_based' => false,
'type' => 'select',
'options' => [
[
'title' => 'All',
'value' => 'all',
], [
'title' => 'Custom',
'value' => 'custom',
]
]
], [
'name' => 'sub_category_num',
'title' => 'velocity::app.admin.system.category.num-sub-category',
'channel_based' => false,
'locale_based' => false,
'type' => 'depands',
'depand' => 'sub_category:custom',
'validation' => 'numeric|max:2',
]
]
]
];