mgr img
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/home/kevin/Documents/Sites/hehe.net/system/blueprints/pages/default.yaml',
|
||||
'modified' => 1546848870,
|
||||
'modified' => 1547741484,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.DEFAULT',
|
||||
'rules' => [
|
||||
@@ -68,12 +68,6 @@ return [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.DATE_HELP'
|
||||
],
|
||||
'header.publish_date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.PUBLISHED_DATE',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/home/kevin/Documents/Sites/hehe.net/user/config/system.yaml',
|
||||
'modified' => 1546856055,
|
||||
'modified' => 1547737932,
|
||||
'data' => [
|
||||
'absolute_urls' => false,
|
||||
'param_sep' => ':',
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/home/kevin/Documents/Sites/hehe.net/user/themes/hehe/blueprints/partials/blog-bits.yaml',
|
||||
'modified' => 1533014916,
|
||||
'data' => [
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'hero_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'Hero Section'
|
||||
],
|
||||
'header.hero_classes' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Hero Classes',
|
||||
'markdown' => true,
|
||||
'description' => 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.'
|
||||
],
|
||||
'header.hero_image' => [
|
||||
'type' => 'filepicker',
|
||||
'label' => 'Hero Image',
|
||||
'preview_images' => true,
|
||||
'description' => 'If not specified, this defaults to the first image found in the page\'s folder'
|
||||
],
|
||||
'toggles_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'Configuration'
|
||||
],
|
||||
'header.blog_url' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'Blog Route',
|
||||
'help' => 'The route to the main blog page that contains the "Show ..." configuration',
|
||||
'default' => '/blog',
|
||||
'placeholder' => '/blog',
|
||||
'size' => 'medium'
|
||||
],
|
||||
'header.show_sidebar' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'Show Sidebar',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.show_breadcrumbs' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'Show Breadcrumbs',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.show_pagination' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'Show Pagination',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/home/kevin/Documents/Sites/hehe.net/user/themes/hehe/blueprints/item.yaml',
|
||||
'modified' => 1546847439,
|
||||
'data' => [
|
||||
'extends@' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'fields' => [
|
||||
'import@' => [
|
||||
'type' => 'partials/blog-bits'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/home/kevin/Documents/Sites/hehe.net/user/plugins/admin/blueprints/config/media.yaml',
|
||||
'modified' => 1546440944,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.MEDIA',
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'types' => [
|
||||
'name' => 'medias',
|
||||
'type' => 'list',
|
||||
'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
|
||||
'style' => 'vertical',
|
||||
'key' => 'extension',
|
||||
'controls' => 'both',
|
||||
'collapsed' => true,
|
||||
'fields' => [
|
||||
'.extension' => [
|
||||
'type' => 'key',
|
||||
'label' => 'PLUGIN_ADMIN.FILE_EXTENSION'
|
||||
],
|
||||
'.type' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.TYPE'
|
||||
],
|
||||
'.thumb' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.THUMB'
|
||||
],
|
||||
'.mime' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.MIME_TYPE',
|
||||
'validate' => [
|
||||
'type' => 'lower'
|
||||
]
|
||||
],
|
||||
'.image' => [
|
||||
'type' => 'textarea',
|
||||
'yaml' => true,
|
||||
'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
|
||||
'validate' => [
|
||||
'type' => 'yaml'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -2,7 +2,7 @@
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/home/kevin/Documents/Sites/hehe.net/user/themes/hehe/blueprints/modular/text.yaml',
|
||||
'modified' => 1546846903,
|
||||
'modified' => 1547741387,
|
||||
'data' => [
|
||||
'title' => 'Text',
|
||||
'@extends' => 'default',
|
||||
@@ -40,7 +40,7 @@ return [
|
||||
'column1' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'header.date_start' => [
|
||||
'header.date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'Date-start',
|
||||
'help' => 'PLUGIN_ADMIN.DATE_HELP',
|
||||
|
||||
Reference in New Issue
Block a user