768
config/common/default-settings.php
Executable file
768
config/common/default-settings.php
Executable file
@@ -0,0 +1,768 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// branding
|
||||
[
|
||||
'name' => 'branding.site_description',
|
||||
'value' =>
|
||||
"MTDb, the world's most popular and authoritative source for movie, TV and celebrity content.",
|
||||
],
|
||||
|
||||
// billing
|
||||
['name' => 'billing.enable', 'value' => true],
|
||||
|
||||
// menus
|
||||
[
|
||||
'name' => 'menus',
|
||||
'value' => json_encode([
|
||||
[
|
||||
'name' => 'Primary',
|
||||
'positions' => ['primary'],
|
||||
'id' => 'nVKgxI',
|
||||
'items' => [
|
||||
[
|
||||
'id' => 'cVKg0I',
|
||||
'type' => 'channel',
|
||||
'label' => 'Movies',
|
||||
'action' => '/movies',
|
||||
],
|
||||
[
|
||||
'id' => 'nVKg0v',
|
||||
'type' => 'channel',
|
||||
'label' => 'Series',
|
||||
'action' => '/series',
|
||||
],
|
||||
[
|
||||
'id' => 'nVKg0Ix',
|
||||
'type' => 'channel',
|
||||
'label' => 'People',
|
||||
'action' => '/people',
|
||||
],
|
||||
[
|
||||
'id' => 'nVKgdI',
|
||||
'type' => 'channel',
|
||||
'label' => 'News',
|
||||
'action' => '/latest-news',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
[
|
||||
'name' => 'Admin Sidebar',
|
||||
'id' => '2d43u1',
|
||||
'items' => [
|
||||
[
|
||||
'label' => 'Analytics',
|
||||
'id' => '886nz4',
|
||||
'action' => '/admin',
|
||||
'type' => 'route',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z',
|
||||
],
|
||||
],
|
||||
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M7 12h2v5H7zm8-5h2v10h-2zm-4 7h2v3h-2zm0-4h2v2h-2z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'role' => 1,
|
||||
'permissions' => ['admin.access'],
|
||||
'roles' => [],
|
||||
],
|
||||
[
|
||||
'label' => 'Appearance',
|
||||
'id' => 'slcqm0',
|
||||
'action' => '/admin/appearance',
|
||||
'type' => 'route',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'm2.53 19.65 1.34.56v-9.03l-2.43 5.86c-.41 1.02.08 2.19 1.09 2.61zm19.5-3.7L17.07 3.98c-.31-.75-1.04-1.21-1.81-1.23-.26 0-.53.04-.79.15L7.1 5.95c-.75.31-1.21 1.03-1.23 1.8-.01.27.04.54.15.8l4.96 11.97c.31.76 1.05 1.22 1.83 1.23.26 0 .52-.05.77-.15l7.36-3.05c1.02-.42 1.51-1.59 1.09-2.6zm-9.2 3.8L7.87 7.79l7.35-3.04h.01l4.95 11.95-7.35 3.05z',
|
||||
],
|
||||
],
|
||||
[
|
||||
'tag' => 'circle',
|
||||
'attr' => [
|
||||
'cx' => '11',
|
||||
'cy' => '9',
|
||||
'r' => '1',
|
||||
],
|
||||
],
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M5.88 19.75c0 1.1.9 2 2 2h1.45l-3.45-8.34v6.34z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['appearance.update'],
|
||||
],
|
||||
[
|
||||
'label' => 'Settings',
|
||||
'id' => 'x5k484',
|
||||
'action' => '/admin/settings',
|
||||
'type' => 'route',
|
||||
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['settings.update'],
|
||||
],
|
||||
[
|
||||
'label' => 'Plans',
|
||||
'id' => '7o42rt',
|
||||
'action' => '/admin/plans',
|
||||
'type' => 'route',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M7 15h7v2H7zm0-4h10v2H7zm0-4h10v2H7zm12-4h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-.14 0-.27.01-.4.04-.39.08-.74.28-1.01.55-.18.18-.33.4-.43.64-.1.23-.16.49-.16.77v14c0 .27.06.54.16.78s.25.45.43.64c.27.27.62.47 1.01.55.13.02.26.03.4.03h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7-.25c.41 0 .75.34.75.75s-.34.75-.75.75-.75-.34-.75-.75.34-.75.75-.75zM19 19H5V5h14v14z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['plans.update'],
|
||||
],
|
||||
[
|
||||
'label' => 'Subscriptions',
|
||||
'action' => '/admin/subscriptions',
|
||||
'type' => 'route',
|
||||
'id' => 'sdcb5a',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M4 6h16v2H4zm2-4h12v2H6zm14 8H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm0 10H4v-8h16v8zm-10-7.27v6.53L16 16z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['subscriptions.update'],
|
||||
'settings' => ['billing.enable' => true],
|
||||
],
|
||||
[
|
||||
'label' => 'Users',
|
||||
'action' => '/admin/users',
|
||||
'type' => 'route',
|
||||
'id' => 'fzfb45',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['users.update'],
|
||||
],
|
||||
[
|
||||
'label' => 'Roles',
|
||||
'action' => '/admin/roles',
|
||||
'type' => 'route',
|
||||
'id' => 'mwdkf0',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M9 13.75c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5zM4.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25H4.34zM9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12zm0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7zm7.04 6.81c1.16.84 1.96 1.96 1.96 3.44V19h4v-1.75c0-2.02-3.5-3.17-5.96-3.44zM15 12c1.93 0 3.5-1.57 3.5-3.5S16.93 5 15 5c-.54 0-1.04.13-1.5.35.63.89 1 1.98 1 3.15s-.37 2.26-1 3.15c.46.22.96.35 1.5.35z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['roles.update'],
|
||||
],
|
||||
[
|
||||
'id' => '303113a',
|
||||
'type' => 'route',
|
||||
'label' => 'Channels',
|
||||
'action' => '/admin/channels',
|
||||
'permissions' => ['channels.update'],
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => 'nVKg0I',
|
||||
'label' => 'Titles',
|
||||
'action' => '/admin/titles',
|
||||
'permissions' => ['titles.update'],
|
||||
'type' => 'route',
|
||||
'target' => '_self',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M4 6.47 5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => 'Qq7wh9',
|
||||
'label' => 'People',
|
||||
'action' => '/admin/people',
|
||||
'permissions' => ['people.update'],
|
||||
'type' => 'route',
|
||||
'target' => '_self',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M21 5h2v14h-2zm-4 0h2v14h-2zm-3 0H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-1 12H3V7h10v10z',
|
||||
],
|
||||
],
|
||||
[
|
||||
'tag' => 'circle',
|
||||
'attr' => [
|
||||
'cx' => '8',
|
||||
'cy' => '9.94',
|
||||
'r' => '1.95',
|
||||
],
|
||||
],
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M11.89 15.35c0-1.3-2.59-1.95-3.89-1.95s-3.89.65-3.89 1.95V16h7.78v-.65z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => '9_7Uip',
|
||||
'label' => 'News',
|
||||
'permissions' => ['news.update'],
|
||||
'action' => '/admin/news',
|
||||
'type' => 'route',
|
||||
'target' => '_self',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'm22 3-1.67 1.67L18.67 3 17 4.67 15.33 3l-1.66 1.67L12 3l-1.67 1.67L8.67 3 7 4.67 5.33 3 3.67 4.67 2 3v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V3zM11 19H4v-6h7v6zm9 0h-7v-2h7v2zm0-4h-7v-2h7v2zm0-4H4V8h16v3z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => '57IFvN',
|
||||
'label' => 'Videos',
|
||||
'permissions' => ['videos.update'],
|
||||
'action' => '/admin/videos',
|
||||
'type' => 'route',
|
||||
'target' => '_self',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M13.05 9.79 10 7.5v9l3.05-2.29L16 12l-2.95-2.21zm0 0L10 7.5v9l3.05-2.29L16 12l-2.95-2.21zm0 0L10 7.5v9l3.05-2.29L16 12l-2.95-2.21zM11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1.11-.86 2.44-1.44 3.9-1.62zM5.69 7.1 4.26 5.68C3.05 7.16 2.25 8.99 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM4.07 13H2.05c.2 2.01 1 3.84 2.21 5.32l1.43-1.43c-.86-1.1-1.44-2.43-1.62-3.89zm1.61 6.74C7.16 20.95 9 21.75 11 21.95v-2.02c-1.46-.18-2.79-.76-3.9-1.62l-1.42 1.43zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => '5eGJwT',
|
||||
'label' => 'Lists',
|
||||
'permissions' => ['lists.update'],
|
||||
'action' => '/admin/lists',
|
||||
'type' => 'route',
|
||||
'target' => '_self',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => 'zl5XVb',
|
||||
'label' => 'Reviews',
|
||||
'permissions' => ['reviews.update'],
|
||||
'action' => '/admin/reviews',
|
||||
'type' => 'route',
|
||||
'target' => '_self',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12z',
|
||||
],
|
||||
],
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'm12 15 1.57-3.43L17 10l-3.43-1.57L12 5l-1.57 3.43L7 10l3.43 1.57z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => '31pLaw',
|
||||
'label' => 'Comments',
|
||||
'action' => '/admin/comments',
|
||||
'permissions' => ['comments.update'],
|
||||
'type' => 'route',
|
||||
'target' => '_self',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'label' => 'Pages',
|
||||
'action' => '/admin/custom-pages',
|
||||
'type' => 'route',
|
||||
'id' => '63bwv9',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z',
|
||||
],
|
||||
],
|
||||
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M14 17H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['custom_pages.update'],
|
||||
],
|
||||
[
|
||||
'label' => 'Keywords',
|
||||
'action' => '/admin/keywords',
|
||||
'type' => 'route',
|
||||
'id' => '2x0pzqx',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['tags.update'],
|
||||
],
|
||||
[
|
||||
'label' => 'Genres',
|
||||
'action' => '/admin/genres',
|
||||
'type' => 'route',
|
||||
'id' => '2x0pzqt',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'm10 11-.94 2.06L7 14l2.06.94L10 17l.94-2.06L13 14l-2.06-.94zm8.01-7 2 4h-3l-2-4h-2l2 4h-3l-2-4h-2l2 4h-3l-2-4h-1c-1.1 0-1.99.9-1.99 2l-.01 12c0 1.1.9 2 2 2h16c1.1 0 1.99-.9 1.99-2V4h-3.99zm2 14h-16V6.47L5.77 10H16l-.63 1.37L14 12l1.37.63L16 14l.63-1.37L18 12l-1.37-.63L16 10h4.01v8z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['tags.update'],
|
||||
],
|
||||
[
|
||||
'label' => 'Files',
|
||||
'action' => '/admin/files',
|
||||
'type' => 'route',
|
||||
'id' => 'vguvti',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['files.update'],
|
||||
],
|
||||
|
||||
[
|
||||
'label' => 'Translations',
|
||||
'action' => '/admin/localizations',
|
||||
'type' => 'route',
|
||||
'id' => 'w91yql',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'm12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7 1.62-4.33L19.12 17h-3.24z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['localizations.update'],
|
||||
],
|
||||
|
||||
[
|
||||
'label' => 'Ads',
|
||||
'action' => '/admin/ads',
|
||||
'type' => 'route',
|
||||
'id' => 'ohj4qk',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zM7 4V3h10v1H7zm0 14V6h10v12H7zm0 3v-1h10v1H7z',
|
||||
],
|
||||
],
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' => 'M16 7H8v2h8V7z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['settings.update'],
|
||||
],
|
||||
],
|
||||
'positions' => ['admin-sidebar'],
|
||||
],
|
||||
|
||||
[
|
||||
'name' => 'Footer',
|
||||
'id' => '4tbwog',
|
||||
'positions' => ['footer'],
|
||||
'items' => [
|
||||
[
|
||||
'type' => 'route',
|
||||
'id' => 'c1sf2g',
|
||||
'position' => 1,
|
||||
'label' => 'Developers',
|
||||
'action' => '/api-docs',
|
||||
'permissions' => ['api.access'],
|
||||
],
|
||||
[
|
||||
'type' => 'route',
|
||||
'id' => 'rlz27v',
|
||||
'position' => 2,
|
||||
'label' => 'Privacy Policy',
|
||||
'action' => '/pages/privacy-policy',
|
||||
],
|
||||
[
|
||||
'type' => 'route',
|
||||
'id' => 'p80pvk',
|
||||
'position' => 3,
|
||||
'label' => 'Terms of Service',
|
||||
'action' => '/pages/terms-of-service',
|
||||
],
|
||||
[
|
||||
'type' => 'route',
|
||||
'id' => 'q8dtht',
|
||||
'position' => 4,
|
||||
'label' => 'Contact Us',
|
||||
'action' => '/contact',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'Footer Social',
|
||||
'id' => 'odw4ah',
|
||||
'positions' => ['footer-secondary'],
|
||||
'items' => [
|
||||
[
|
||||
'type' => 'link',
|
||||
'id' => '6j747e',
|
||||
'position' => 1,
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h7.621v-6.961h-2.343v-2.725h2.343V9.309c0-2.324 1.421-3.591 3.495-3.591.699-.002 1.397.034 2.092.105v2.43H16.78c-1.13 0-1.35.534-1.35 1.322v1.735h2.7l-.351 2.725h-2.365V21H19a2 2 0 002-2V5a2 2 0 00-2-2z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'action' => 'https://facebook.com',
|
||||
],
|
||||
[
|
||||
'type' => 'link',
|
||||
'id' => 'jo96zw',
|
||||
'position' => 2,
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M24 4.3c-.898.4-1.8.7-2.8.802 1-.602 1.8-1.602 2.198-2.704-1 .602-2 1-3.097 1.204C19.3 2.602 18 2 16.6 2a4.907 4.907 0 00-4.9 4.898c0 .403 0 .801.102 1.102C7.7 7.8 4.102 5.898 1.7 2.898c-.5.704-.7 1.602-.7 2.5 0 1.704.898 3.204 2.2 4.102-.802-.102-1.598-.3-2.2-.602V9c0 2.398 1.7 4.398 3.898 4.8-.398.098-.796.2-1.296.2-.301 0-.602 0-.903-.102.602 2 2.403 3.403 4.602 3.403-1.7 1.3-3.801 2.097-6.102 2.097-.398 0-.8 0-1.199-.097C2.2 20.699 4.8 21.5 7.5 21.5c9.102 0 14-7.5 14-14v-.602c1-.699 1.8-1.597 2.5-2.597',
|
||||
],
|
||||
],
|
||||
],
|
||||
'action' => 'https://twitter.com',
|
||||
],
|
||||
[
|
||||
'type' => 'link',
|
||||
'id' => '57dsea',
|
||||
'position' => 3,
|
||||
'action' => 'https://instagram.com',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913a5.885 5.885 0 001.384 2.126A5.868 5.868 0 004.14 23.37c.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558a5.898 5.898 0 002.126-1.384 5.86 5.86 0 001.384-2.126c.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913a5.89 5.89 0 00-1.384-2.126A5.847 5.847 0 0019.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227a3.81 3.81 0 01-.899 1.382 3.744 3.744 0 01-1.38.896c-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421a3.716 3.716 0 01-1.379-.899 3.644 3.644 0 01-.9-1.38c-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 100 12.324 6.162 6.162 0 100-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 01-2.88 0 1.44 1.44 0 012.88 0z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type' => 'link',
|
||||
'id' => 'lzntr2',
|
||||
'position' => 4,
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M5.68 2l1.478 5.344v2.562H8.44V7.344L9.937 2h-1.29l-.538 2.432a27.21 27.21 0 00-.29 1.515h-.04c-.063-.42-.159-.93-.29-1.525L6.97 2H5.68zm5.752 2.018c-.434 0-.784.084-1.051.257-.267.172-.464.448-.59.825-.125.377-.187.876-.187 1.498v.84c0 .615.054 1.107.164 1.478.11.371.295.644.556.82.261.176.62.264 1.078.264.446 0 .8-.087 1.06-.26.26-.173.45-.444.565-.818.116-.374.174-.869.174-1.485v-.84c0-.62-.059-1.118-.178-1.492-.119-.373-.308-.648-.566-.824-.258-.176-.598-.263-1.025-.263zm2.447.113v4.314c0 .534.09.927.271 1.178.182.251.465.377.848.377.552 0 .968-.267 1.244-.8h.028l.113.706H17.4V4.131h-1.298v4.588a.635.635 0 01-.23.263.569.569 0 01-.325.104c-.132 0-.226-.054-.283-.164-.057-.11-.086-.295-.086-.553V4.131h-1.3zm-2.477.781c.182 0 .311.095.383.287.072.191.108.495.108.91v1.8c0 .426-.036.735-.108.923-.072.188-.2.282-.38.283-.183 0-.309-.095-.378-.283-.07-.188-.103-.497-.103-.924V6.11c0-.414.035-.718.107-.91.072-.19.195-.287.371-.287zM5 11c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2H5zm7.049 2h1.056v2.568h.008c.095-.186.232-.335.407-.449.175-.114.364-.17.566-.17.26 0 .463.07.611.207.148.138.257.361.323.668.066.308.097.735.097 1.281v.772h.002c0 .727-.089 1.26-.264 1.602-.175.342-.447.513-.818.513-.207 0-.394-.047-.564-.142a.93.93 0 01-.383-.391h-.024l-.11.46h-.907V13zm-6.563.246h3.252v.885h-1.09v5.789H6.576v-5.79h-1.09v-.884zm11.612 1.705c.376 0 .665.07.867.207.2.138.343.354.426.645.082.292.123.695.123 1.209v.836h-1.836v.248c0 .313.008.547.027.703.02.156.057.27.115.342.058.072.148.107.27.107.164 0 .277-.064.338-.191.06-.127.094-.338.1-.635l.947.055a1.6 1.6 0 01.007.175c0 .451-.124.788-.37 1.01-.248.223-.595.334-1.046.334-.54 0-.92-.17-1.138-.51-.218-.339-.326-.863-.326-1.574v-.851c0-.732.112-1.267.337-1.604.225-.337.613-.506 1.159-.506zm-8.688.094h1.1v3.58c0 .217.024.373.072.465.048.093.126.139.238.139a.486.486 0 00.276-.088.538.538 0 00.193-.223v-3.873h1.1v4.875h-.862l-.093-.598h-.026c-.234.452-.584.678-1.05.678-.325 0-.561-.106-.715-.318-.154-.212-.233-.544-.233-.994v-3.643zm8.664.648c-.117 0-.204.036-.26.104-.056.069-.093.182-.11.338a6.504 6.504 0 00-.028.71v.35h.803v-.35c0-.312-.01-.548-.032-.71-.02-.162-.059-.276-.115-.342-.056-.066-.14-.1-.258-.1zm-3.482.036a.418.418 0 00-.293.126.699.699 0 00-.192.327v2.767a.487.487 0 00.438.256.337.337 0 00.277-.127c.07-.085.12-.228.149-.43.029-.2.043-.48.043-.835v-.627c0-.382-.011-.676-.035-.883-.024-.207-.067-.357-.127-.444a.299.299 0 00-.26-.13z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'action' => 'https://youtube.com',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
[
|
||||
'name' => 'Auth Dropdown',
|
||||
'id' => 'h8r6vg',
|
||||
'items' => [
|
||||
[
|
||||
'label' => 'Admin area',
|
||||
'id' => 'upm1rv',
|
||||
'action' => '/admin',
|
||||
'type' => 'route',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z',
|
||||
],
|
||||
],
|
||||
],
|
||||
'permissions' => ['admin.access'],
|
||||
],
|
||||
[
|
||||
'label' => 'Watchlist',
|
||||
'id' => 'ehj0ukx',
|
||||
'action' => '/watchlist',
|
||||
'type' => 'route',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8zm0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2 8H7v2h7v-2zm0-3H7v2h7V7zm-7 8h3v-2H7v2zm12-1.59L17.59 12l-3.54 3.54-1.41-1.41-1.41 1.41 2.83 2.83L19 13.41z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'label' => 'Lists',
|
||||
'id' => 'ehj0uk',
|
||||
'action' => '/',
|
||||
'type' => 'route',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7zm-4 6h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'label' => 'Account settings',
|
||||
'id' => '6a89z5',
|
||||
'action' => '/account-settings',
|
||||
'type' => 'route',
|
||||
'icon' => [
|
||||
[
|
||||
'tag' => 'path',
|
||||
'attr' => [
|
||||
'd' =>
|
||||
'M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
'positions' => ['auth-dropdown'],
|
||||
],
|
||||
|
||||
[
|
||||
'name' => 'Landing page navbar',
|
||||
'id' => '5vgq1a',
|
||||
'positions' => ['landing-page-navbar'],
|
||||
'items' => [
|
||||
[
|
||||
'type' => 'link',
|
||||
'label' => 'Features',
|
||||
'action' => '#features',
|
||||
'id' => 19041,
|
||||
],
|
||||
[
|
||||
'type' => 'link',
|
||||
'label' => 'Pricing',
|
||||
'action' => '#pricing',
|
||||
'id' => 190456,
|
||||
],
|
||||
],
|
||||
],
|
||||
]),
|
||||
],
|
||||
|
||||
// uploads
|
||||
['name' => 'uploads.max_size', 'value' => 52428800],
|
||||
['name' => 'uploads.available_space', 'value' => 104857600],
|
||||
[
|
||||
'name' => 'uploads.blocked_extensions',
|
||||
'value' => json_encode([
|
||||
'exe',
|
||||
'application/x-msdownload',
|
||||
'x-dosexec',
|
||||
]),
|
||||
],
|
||||
|
||||
// content
|
||||
[
|
||||
'name' => 'title_page.sections',
|
||||
'value' => json_encode([
|
||||
'seasons',
|
||||
'videos',
|
||||
'images',
|
||||
'reviews',
|
||||
'cast',
|
||||
'news',
|
||||
'related',
|
||||
]),
|
||||
],
|
||||
['name' => 'news.auto_update', 'value' => false],
|
||||
['name' => 'tmdb.language', 'value' => 'en'],
|
||||
['name' => 'tmdb.includeAdult', 'value' => false],
|
||||
['name' => 'streaming.video_panel_content', 'value' => 'all'],
|
||||
['name' => 'streaming.related_videos_type', 'value' => 'other_titles'],
|
||||
['name' => 'player.show_next_episodes', 'value' => false],
|
||||
['name' => 'titles.enable_reviews', 'value' => true],
|
||||
['name' => 'titles.enable_comments', 'value' => true],
|
||||
['name' => 'streaming.default_sort', 'value' => 'order:asc'],
|
||||
['name' => 'streaming.show_captions_panel', 'value' => false],
|
||||
['name' => 'streaming.show_category_select', 'value' => false],
|
||||
['name' => 'streaming.auto_approve', 'value' => true],
|
||||
['name' => 'streaming.streaming.show_header_play', 'value' => false],
|
||||
['name' => 'content.people_index_min_popularity', 'value' => 1],
|
||||
['name' => 'content.search_provider', 'value' => 'local'],
|
||||
[
|
||||
'name' => 'streaming.qualities',
|
||||
'value' => json_encode(['regular', 'SD', 'HD', '720p', '1080p', '4k']),
|
||||
],
|
||||
|
||||
// HOMEPAGE APPEARANCE
|
||||
[
|
||||
'name' => 'homepage.trending',
|
||||
'value' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'homepage.pricing',
|
||||
'value' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'homepage.appearance',
|
||||
'value' => json_encode([
|
||||
'headerTitle' => 'Endless Entertainment Awaits',
|
||||
'headerSubtitle' =>
|
||||
'Unleash the Power of Streaming with Our Vast Collection of Movies and TV Shows',
|
||||
'headerImage' => 'images/landing/landing.jpg',
|
||||
'headerImageOpacity' => '0.4',
|
||||
'headerOverlayColor1' => '#000',
|
||||
'blurHeaderImage' => true,
|
||||
'pricingTitle' => 'Simple pricing, for everyone.',
|
||||
'pricingSubtitle' => 'No hidden fees. Cancel anytime.',
|
||||
'actions' => [
|
||||
'cta1' => [
|
||||
'label' => 'Join Now',
|
||||
'type' => 'route',
|
||||
'action' => '/register',
|
||||
],
|
||||
'cta3' => [
|
||||
'label' => 'Get Instant Access',
|
||||
'type' => 'route',
|
||||
'action' => '/register',
|
||||
],
|
||||
],
|
||||
'secondaryFeatures' => [
|
||||
[
|
||||
'title' => 'Watch What You Want, When You Want',
|
||||
'subtitle' => 'On-Demand Streaming',
|
||||
'description' =>
|
||||
'Enjoy the freedom of on-demand streaming with our vast library of movies, TV shows, and more. Dive into entertainment at your convenience.',
|
||||
'image' => 'images/landing/browse.jpg',
|
||||
],
|
||||
[
|
||||
'title' => 'Seamless Streaming Across Devices',
|
||||
'subtitle' => 'Multi-Device Access',
|
||||
'description' =>
|
||||
'Stream on your terms! Enjoy uninterrupted viewing on your smartphone, tablet, smart TV, or computer - switch devices hassle-free.',
|
||||
'image' => 'images/landing/transformers.jpg',
|
||||
],
|
||||
[
|
||||
'title' => 'Uninterrupted Entertainment, No Distractions',
|
||||
'subtitle' => 'Ad-Free Experience',
|
||||
'description' =>
|
||||
'Dive into a seamless streaming experience without pesky ads. Stay fully immersed in your favorite movies and shows, no interruptions.',
|
||||
'image' => 'images/landing/last-of-us.jpg',
|
||||
],
|
||||
],
|
||||
'footerTitle' => 'Start Your Streaming Journey Today!',
|
||||
'footerSubtitle' =>
|
||||
'Unlock a World of Entertainment with MTDb Premium Streaming Service',
|
||||
'footerImage' => 'images/landing/landing.jpg',
|
||||
]),
|
||||
],
|
||||
];
|
||||
88
config/common/demo-blocked-routes.php
Executable file
88
config/common/demo-blocked-routes.php
Executable file
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// sitemap
|
||||
['method' => 'POST', 'name' => 'admin/sitemap/generate'],
|
||||
|
||||
// titles
|
||||
['method' => 'POST', 'name' => 'titles'],
|
||||
['method' => 'POST', 'name' => 'titles/{title}/credits'],
|
||||
['method' => 'POST', 'name' => 'titles/credits/reorder'],
|
||||
['method' => 'PUT', 'name' => 'titles/credits/{id}'],
|
||||
['method' => 'DELETE', 'name' => 'titles/credits/{id}'],
|
||||
['method' => 'DELETE', 'name' => 'titles/{title}/credits/{id}'],
|
||||
['method' => 'PUT', 'name' => 'titles/{title}/credits/{pivotId}'],
|
||||
['method' => 'PUT', 'name' => 'titles/{id}'],
|
||||
['method' => 'DELETE', 'name' => 'titles/{ids}'],
|
||||
['method' => 'DELETE', 'name' => 'images/{id}'],
|
||||
['method' => 'DELETE', 'name' => 'videos/{id}'],
|
||||
|
||||
// titles tags
|
||||
['method' => 'POST', 'name' => 'titles/{title}/tags/{type}'],
|
||||
['method' => 'POST', 'name' => 'title-tags/{type}'],
|
||||
['method' => 'PUT', 'name' => 'title-tags/{type}/{tagId}'],
|
||||
['method' => 'DELETE', 'name' => 'title-tags/{type}/{ids}'],
|
||||
['method' => 'DELETE', 'name' => 'titles/{title}/tags/{type}/{tagId}'],
|
||||
|
||||
// seasons
|
||||
['method' => 'POST', 'name' => ' titles/{titleId}/seasons'],
|
||||
['method' => 'DELETE', 'name' => 'seasons/{seasonId}'],
|
||||
|
||||
// episodes
|
||||
['method' => 'POST', 'name' => 'seasons/{seasonId}/episodes'],
|
||||
[
|
||||
'method' => 'PUT',
|
||||
'name' =>
|
||||
'titles/{title}/seasons/{seasonNumber}/episodes/{episodeNumber}',
|
||||
],
|
||||
['method' => 'DELETE', 'name' => 'episodes/{id}'],
|
||||
|
||||
// people
|
||||
['method' => 'POST', 'name' => 'people'],
|
||||
['method' => 'PUT', 'name' => 'people/{id}'],
|
||||
['method' => 'DELETE', 'name' => 'people/{ids}'],
|
||||
|
||||
// images
|
||||
['method' => 'DELETE', 'name' => 'images'],
|
||||
['method' => 'POST', 'name' => 'images'],
|
||||
|
||||
// reviews
|
||||
['method' => 'DELETE', 'name' => 'reviews/{id}', 'origin' => 'admin'],
|
||||
['method' => 'PUT', 'name' => 'reviews/{id}', 'origin' => 'admin'],
|
||||
|
||||
// news
|
||||
['method' => 'POST', 'name' => 'news'],
|
||||
['method' => 'PUT', 'name' => 'news/{id}'],
|
||||
['method' => 'DELETE', 'name' => 'news/{news}'],
|
||||
|
||||
// videos
|
||||
['method' => 'POST', 'name' => 'videos'],
|
||||
['method' => 'PUT', 'name' => 'videos/{id}'],
|
||||
['method' => 'DELETE', 'name' => 'videos/{ids}'],
|
||||
['method' => 'POST', 'name' => 'titles/{video}/videos/change-order'],
|
||||
['method' => 'POST', 'name' => 'videos/{video}/approve'],
|
||||
['method' => 'POST', 'name' => 'videos/{video}/disapprove'],
|
||||
|
||||
// images
|
||||
['method' => 'POST', 'name' => 'uploads/images', 'origin' => 'admin'],
|
||||
|
||||
// custom pages
|
||||
[
|
||||
'method' => 'POST',
|
||||
'name' => 'custom-pages',
|
||||
],
|
||||
|
||||
// import
|
||||
['method' => 'POST', 'name' => 'media/import'],
|
||||
['method' => 'GET', 'name' => 'tmdb/import'],
|
||||
['method' => 'POST', 'name' => 'news/import-from-remote-provider'],
|
||||
|
||||
// Channels
|
||||
['method' => 'POST', 'name' => 'channel/{channel}/detach-item'],
|
||||
['method' => 'POST', 'name' => 'channel/{channel}/attach-item'],
|
||||
['method' => 'POST', 'name' => 'channel/{channel}/change-order'],
|
||||
['method' => 'POST', 'name' => 'channel'],
|
||||
['method' => 'PUT', 'name' => 'channel/{channel}'],
|
||||
['method' => 'DELETE', 'name' => 'channel/{ids}'],
|
||||
['method' => 'POST', 'name' => 'channel/reset-to-default'],
|
||||
];
|
||||
11
config/common/menus.php
Executable file
11
config/common/menus.php
Executable file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Common\Channels\LoadChannelMenuItems;
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'Channel',
|
||||
'type' => 'channels',
|
||||
'itemsLoader' => LoadChannelMenuItems::class,
|
||||
]
|
||||
];
|
||||
5
config/common/setting-validators.php
Executable file
5
config/common/setting-validators.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
\App\Services\Settings\Validators\TmdbApiKeyValidator::class,
|
||||
];
|
||||
8
config/common/site.php
Executable file
8
config/common/site.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'local_search_mode' => env('LOCAL_SEARCH_MODE', 'fulltext'),
|
||||
'rating_column' => env('RATING_COLUMN', 'tmdb_vote_average'),
|
||||
'tmdb_delete_when_sync' => env('TMDB_DELETE_WHEN_SYNC', false),
|
||||
'fake_plays_data' => env('FAKE_PLAYS_DATA', false),
|
||||
];
|
||||
42
config/common/themes.php
Executable file
42
config/common/themes.php
Executable file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'light' => [
|
||||
'--be-foreground-base' => '0 0 0',
|
||||
'--be-primary-light' => '251 146 60', //#fb923c
|
||||
'--be-primary' => '249 115 22', //#f97316
|
||||
'--be-primary-dark' => '234 88 12', //#ea580c
|
||||
'--be-on-primary' => '255 255 255',
|
||||
'--be-background' => '255 255 255',
|
||||
'--be-background-alt' => '246 248 250',
|
||||
'--be-background-chip' => '233 236 239',
|
||||
'--be-paper' => '255 255 255',
|
||||
'--be-disabled-bg-opacity' => '12%',
|
||||
'--be-disabled-fg-opacity' => '26%',
|
||||
'--be-hover-opacity' => '4%',
|
||||
'--be-focus-opacity' => '12%',
|
||||
'--be-selected-opacity' => '8%',
|
||||
'--be-text-main-opacity' => '87%',
|
||||
'--be-text-muted-opacity' => '60%',
|
||||
'--be-divider-opacity' => '12%',
|
||||
],
|
||||
'dark' => [
|
||||
'--be-foreground-base' => '255 255 255',
|
||||
'--be-primary-light' => '251 146 60', //#b4cf9c
|
||||
'--be-primary' => '249 115 22', //#689f38
|
||||
'--be-primary-dark' => '234 88 12', //#527e2c
|
||||
'--be-on-primary' => '255 255 255',
|
||||
'--be-background' => '28 28 32',
|
||||
'--be-background-alt' => '41 41 46',
|
||||
'--be-background-chip' => '66 68 74',
|
||||
'--be-paper' => '36 36 41',
|
||||
'--be-disabled-bg-opacity' => '12%',
|
||||
'--be-disabled-fg-opacity' => '30%',
|
||||
'--be-hover-opacity' => '8%',
|
||||
'--be-focus-opacity' => '12%',
|
||||
'--be-selected-opacity' => '16%',
|
||||
'--be-text-main-opacity' => '100%',
|
||||
'--be-text-muted-opacity' => '70%',
|
||||
'--be-divider-opacity' => '12%',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user