pagehome
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/new_folder.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_FOLDER'
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT_PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/modular_new.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_MODULAR_CONTENT'
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_TITLE',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.MODULAR_TEMPLATE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'default' => 'default',
|
||||
'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesModularTypes',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'modular' => [
|
||||
'type' => 'hidden',
|
||||
'default' => 1,
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/system/blueprints/pages/modular.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.MODULAR',
|
||||
'extends@' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'fields' => [
|
||||
'modular_title' => [
|
||||
'type' => 'spacer',
|
||||
'title' => 'PLUGIN_ADMIN.MODULAR_SETUP'
|
||||
],
|
||||
'header.content.items' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ITEMS',
|
||||
'default' => '@self.modular',
|
||||
'size' => 'medium'
|
||||
],
|
||||
'header.content.order.by' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ORDER_BY',
|
||||
'placeholder' => 'date',
|
||||
'help' => NULL,
|
||||
'size' => 'small'
|
||||
],
|
||||
'header.content.order.dir' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.ORDER',
|
||||
'help' => '"desc" or "asc" are valid values',
|
||||
'placeholder' => 'desc',
|
||||
'size' => 'small'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,407 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/system/blueprints/pages/default.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'title' => 'PLUGIN_ADMIN.DEFAULT',
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'type' => 'tabs',
|
||||
'active' => 1,
|
||||
'fields' => [
|
||||
'content' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.CONTENT',
|
||||
'fields' => [
|
||||
'header.title' => [
|
||||
'type' => 'text',
|
||||
'autofocus' => true,
|
||||
'style' => 'vertical',
|
||||
'label' => 'PLUGIN_ADMIN.TITLE'
|
||||
],
|
||||
'content' => [
|
||||
'type' => 'markdown',
|
||||
'validate' => [
|
||||
'type' => 'textarea'
|
||||
]
|
||||
],
|
||||
'header.media_order' => [
|
||||
'type' => 'pagemedia',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_MEDIA'
|
||||
]
|
||||
]
|
||||
],
|
||||
'options' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.OPTIONS',
|
||||
'fields' => [
|
||||
'publishing' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.PUBLISHING',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.published' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.PUBLISHED',
|
||||
'help' => 'PLUGIN_ADMIN.PUBLISHED_HELP',
|
||||
'highlight' => 1,
|
||||
'size' => 'medium',
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'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',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.PUBLISHED_DATE_HELP'
|
||||
],
|
||||
'header.unpublish_date' => [
|
||||
'type' => 'datetime',
|
||||
'label' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE_HELP'
|
||||
],
|
||||
'header.metadata' => [
|
||||
'toggleable' => true,
|
||||
'type' => 'array',
|
||||
'label' => 'PLUGIN_ADMIN.METADATA',
|
||||
'help' => 'PLUGIN_ADMIN.METADATA_HELP',
|
||||
'placeholder_key' => 'PLUGIN_ADMIN.METADATA_KEY',
|
||||
'placeholder_value' => 'PLUGIN_ADMIN.METADATA_VALUE'
|
||||
]
|
||||
]
|
||||
],
|
||||
'taxonomies' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.TAXONOMIES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.taxonomy' => [
|
||||
'type' => 'taxonomy',
|
||||
'label' => 'PLUGIN_ADMIN.TAXONOMY',
|
||||
'multiple' => true,
|
||||
'validate' => [
|
||||
'type' => 'array'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'advanced' => [
|
||||
'type' => 'tab',
|
||||
'title' => 'PLUGIN_ADMIN.ADVANCED',
|
||||
'fields' => [
|
||||
'columns' => [
|
||||
'type' => 'columns',
|
||||
'fields' => [
|
||||
'column1' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'settings' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.SETTINGS',
|
||||
'underline' => true
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'validate' => [
|
||||
'rule' => 'slug'
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT',
|
||||
'classes' => 'fancy'
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_FILE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'default' => 'default',
|
||||
'data-options@' => '\\Grav\\Common\\Page\\Pages::pageTypes'
|
||||
],
|
||||
'header.body_classes' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.BODY_CLASSES'
|
||||
]
|
||||
]
|
||||
],
|
||||
'column2' => [
|
||||
'type' => 'column',
|
||||
'fields' => [
|
||||
'order_title' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ORDERING',
|
||||
'underline' => true
|
||||
],
|
||||
'ordering' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'order' => [
|
||||
'type' => 'order',
|
||||
'label' => 'PLUGIN_ADMIN.SORTABLE_PAGES',
|
||||
'sitemap' => NULL
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
'overrides' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.dateformat' => [
|
||||
'toggleable' => true,
|
||||
'type' => 'select',
|
||||
'size' => 'medium',
|
||||
'selectize' => [
|
||||
'create' => true
|
||||
],
|
||||
'label' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT',
|
||||
'help' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_HELP',
|
||||
'placeholder' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_PLACEHOLDER',
|
||||
'data-options@' => '\\Grav\\Common\\Utils::dateFormats',
|
||||
'validate' => [
|
||||
'type' => 'string'
|
||||
]
|
||||
],
|
||||
'header.menu' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.MENU',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.MENU_HELP'
|
||||
],
|
||||
'header.slug' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.SLUG',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.SLUG_HELP',
|
||||
'validate' => [
|
||||
'message' => 'PLUGIN_ADMIN.SLUG_VALIDATE_MESSAGE',
|
||||
'rule' => 'slug'
|
||||
]
|
||||
],
|
||||
'header.redirect' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.REDIRECT',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.REDIRECT_HELP'
|
||||
],
|
||||
'header.process' => [
|
||||
'type' => 'checkboxes',
|
||||
'label' => 'PLUGIN_ADMIN.PROCESS',
|
||||
'toggleable' => true,
|
||||
'config-default@' => 'system.pages.process',
|
||||
'default' => [
|
||||
'markdown' => true,
|
||||
'twig' => false
|
||||
],
|
||||
'options' => [
|
||||
'markdown' => 'Markdown',
|
||||
'twig' => 'Twig'
|
||||
],
|
||||
'use' => 'keys'
|
||||
],
|
||||
'header.twig_first' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.TWIG_FIRST',
|
||||
'help' => 'PLUGIN_ADMIN.TWIG_FIRST_HELP',
|
||||
'highlight' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.never_cache_twig' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG',
|
||||
'help' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG_HELP',
|
||||
'highlight' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.child_type' => [
|
||||
'type' => 'select',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DEFAULT_CHILD_TYPE',
|
||||
'default' => 'default',
|
||||
'placeholder' => 'PLUGIN_ADMIN.USE_GLOBAL',
|
||||
'data-options@' => '\\Grav\\Common\\Page\\Pages::types'
|
||||
],
|
||||
'header.routable' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTABLE',
|
||||
'help' => 'PLUGIN_ADMIN.ROUTABLE_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.cache_enable' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.CACHING',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.visible' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.VISIBLE',
|
||||
'help' => 'PLUGIN_ADMIN.VISIBLE_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.debugger' => [
|
||||
'type' => 'toggle',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DEBUGGER',
|
||||
'help' => 'PLUGIN_ADMIN.DEBUGGER_HELP',
|
||||
'highlight' => 1,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.ENABLED',
|
||||
0 => 'PLUGIN_ADMIN.DISABLED'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'header.template' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.DISPLAY_TEMPLATE'
|
||||
],
|
||||
'header.append_url_extension' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT',
|
||||
'toggleable' => true,
|
||||
'help' => 'PLUGIN_ADMIN.APPEND_URL_EXT_HELP'
|
||||
]
|
||||
]
|
||||
],
|
||||
'routes_only' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ROUTE_OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.routes.default' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_DEFAULT'
|
||||
],
|
||||
'header.routes.canonical' => [
|
||||
'type' => 'text',
|
||||
'toggleable' => true,
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_CANONICAL'
|
||||
],
|
||||
'header.routes.aliases' => [
|
||||
'type' => 'array',
|
||||
'toggleable' => true,
|
||||
'value_only' => true,
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.ROUTE_ALIASES'
|
||||
]
|
||||
]
|
||||
],
|
||||
'admin_only' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADMIN_SPECIFIC_OVERRIDES',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'header.admin.children_display_order' => [
|
||||
'type' => 'select',
|
||||
'label' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER',
|
||||
'help' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER_HELP',
|
||||
'toggleable' => true,
|
||||
'classes' => 'fancy',
|
||||
'default' => 'collection',
|
||||
'options' => [
|
||||
'default' => 'Ordered by Folder name (default)',
|
||||
'collection' => 'Ordered by Collection definition'
|
||||
]
|
||||
],
|
||||
'header.order_by' => [
|
||||
'type' => 'hidden'
|
||||
],
|
||||
'header.order_manual' => [
|
||||
'type' => 'hidden',
|
||||
'validate' => [
|
||||
'type' => 'commalist'
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/themes/anissabensalah/blueprints/default.yaml',
|
||||
'modified' => 1527502649,
|
||||
'data' => [
|
||||
'extends@' => 'default',
|
||||
'form' => [
|
||||
'fields' => [
|
||||
'tabs' => [
|
||||
'fields' => [
|
||||
'advanced' => [
|
||||
'fields' => [
|
||||
'columns' => [
|
||||
'fields' => [
|
||||
'column1' => [
|
||||
'fields' => [
|
||||
'header.body_classes' => [
|
||||
'markdown' => true,
|
||||
'description' => 'Available classes in Quark Theme (space separated):<br />`header-fixed`, `header-animated`, `header-dark`, `header-transparent`, `sticky-footer`'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/move.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT',
|
||||
'classes' => 'fancy'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/user/plugins/admin/blueprints/admin/pages/new.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'rules' => [
|
||||
'slug' => [
|
||||
'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+',
|
||||
'min' => 1,
|
||||
'max' => 200
|
||||
]
|
||||
],
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'section' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ADD_PAGE'
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_TITLE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_TITLE_HELP',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'folder' => [
|
||||
'type' => 'text',
|
||||
'label' => 'PLUGIN_ADMIN.FOLDER_NAME',
|
||||
'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP',
|
||||
'validate' => [
|
||||
'rule' => 'slug',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'route' => [
|
||||
'type' => 'parents',
|
||||
'label' => 'PLUGIN_ADMIN.PARENT_PAGE',
|
||||
'classes' => 'fancy',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'name' => [
|
||||
'type' => 'select',
|
||||
'classes' => 'fancy',
|
||||
'label' => 'PLUGIN_ADMIN.PAGE_FILE',
|
||||
'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP',
|
||||
'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesTypes',
|
||||
'data-default@' => '\\Grav\\Plugin\\Admin\\Admin::getLastPageName',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'visible' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.VISIBLE',
|
||||
'help' => 'PLUGIN_ADMIN.VISIBLE_HELP',
|
||||
'highlight' => '',
|
||||
'default' => '',
|
||||
'options' => [
|
||||
'' => 'Auto',
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'blueprint' => [
|
||||
'type' => 'blueprint'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -1 +1 @@
|
||||
{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":228}
|
||||
{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":287}
|
||||
@@ -1 +1 @@
|
||||
{"05-2018":791}
|
||||
{"05-2018":850}
|
||||
@@ -1 +1 @@
|
||||
{"\/":781,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}
|
||||
{"\/":840,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}
|
||||
@@ -1 +1 @@
|
||||
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527520543}
|
||||
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527524282}
|
||||
@@ -5,12 +5,10 @@ content:
|
||||
items:
|
||||
- '@self.children'
|
||||
- '@self.modular'
|
||||
|
||||
|
||||
body_classes: 'title-center title-h1h2'
|
||||
---
|
||||
|
||||

|
||||
|
||||
#sovaj
|
||||
|
||||
album sovaj est disponible sur :
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
*{box-sizing:border-box}body,html{font-size:1rem;height:100%;margin:0;padding:0}li,ol,ul{margin:0;padding:0;list-style:none}a{text-decoration:none;color:#000}blockquote,em,h1,h2,h3,li,ol,p,ul{margin:0}@font-face{font-family:Montserrat-Regular;src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.svg#Montserrat-Regular) format('svg')}@font-face{font-family:Montserrat-Light;src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Light.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.svg#Montserrat-Light) format('svg')}@font-face{font-family:Montserrat-Thin;src:url(../fonts/Montserrat/webfonts/Montserrat-Thin.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Thin.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.svg#Montserrat-Thin) format('svg')}body #header a{font-family:Montserrat-Regular;font-size:2.268rem;color:#fff}body #header .language-selector li:nth-child(-n+2)::after{font-size:2.268rem;content:'-';color:#fff}body #start #home h1{font-family:Montserrat-Thin;font-size:33vw}#header{position:fixed;z-index:999}#header .language-selector{position:fixed;left:50%;display:-ms-flexbox;display:flex;width:100px;margin-left:-100px}#header .language-selector li{display:-ms-flexbox;display:flex}#header .language-selector li:nth-child(-n+2)::after{position:relative;display:block;margin:0 10px}#header .navigation li{position:fixed;text-align:center}#header .navigation li:first-child{display:none}#header .navigation li:nth-child(2){bottom:0;width:50%}#header .navigation li:nth-child(3){top:0;width:50%}#header .navigation li:nth-child(4){right:0;bottom:0;width:50%}#header .navigation li:nth-child(5){top:50%;right:-50%;width:100%;margin-right:22px;transform:rotate(90deg)}#header .navigation li:nth-child(6){top:50%;left:-50%;width:100%;margin-left:22px;transform:rotate(-90deg)}#header .navigation li:nth-child(7){top:0;right:0;width:50%}#header .navigation li a{position:relative;margin:auto}
|
||||
*{box-sizing:border-box}body,html{font-size:1rem;height:100%;margin:0;padding:0}li,ol,ul{margin:0;padding:0;list-style:none}a{text-decoration:none;color:#000}blockquote,em,h1,h2,h3,li,ol,p,ul{margin:0}@font-face{font-family:Montserrat-Regular;src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.svg#Montserrat-Regular) format('svg')}@font-face{font-family:Montserrat-Light;src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Light.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.svg#Montserrat-Light) format('svg')}@font-face{font-family:Montserrat-Thin;src:url(../fonts/Montserrat/webfonts/Montserrat-Thin.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Thin.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.svg#Montserrat-Thin) format('svg')}body #header a{font-family:Montserrat-Regular;font-size:2.268rem;font-weight:400;color:#fff}body #header .language-selector li:nth-child(-n+2)::after{font-size:2.268rem;content:'-';color:#fff}body #start #home h1{font-family:Montserrat-Thin;font-size:30vw;font-weight:400}#header{position:fixed;z-index:999}#header .language-selector{position:fixed;left:50%;display:-ms-flexbox;display:flex;width:100px;margin-left:-100px}#header .language-selector li{display:-ms-flexbox;display:flex}#header .language-selector li:nth-child(-n+2)::after{position:relative;display:block;margin:0 10px}#header .navigation li{position:fixed;text-align:center}#header .navigation li:first-child{display:none}#header .navigation li:nth-child(2){bottom:0;width:50%}#header .navigation li:nth-child(3){top:0;width:50%}#header .navigation li:nth-child(4){right:0;bottom:0;width:50%}#header .navigation li:nth-child(5){top:50%;right:-50%;width:100%;margin-right:22px;transform:rotate(90deg)}#header .navigation li:nth-child(6){top:50%;left:-50%;width:100%;margin-left:22px;transform:rotate(-90deg)}#header .navigation li:nth-child(7){top:0;right:0;width:50%}#header .navigation li a{position:relative;margin:auto}#start #home .visu-album{position:absolute}#start #home .title{z-index:999;display:-ms-flexbox;display:flex;height:100vh;-ms-flex-wrap:wrap;flex-wrap:wrap}#start #home .title h1{margin:auto;text-transform:uppercase}
|
||||
@@ -7,6 +7,7 @@ body{
|
||||
a{
|
||||
font-family: $Regular;
|
||||
font-size: $font36;
|
||||
font-weight: normal;
|
||||
color: white;
|
||||
}
|
||||
.language-selector{
|
||||
@@ -25,7 +26,8 @@ body{
|
||||
#home{
|
||||
h1{
|
||||
font-family: $Thin;
|
||||
font-size: 33vw;
|
||||
font-weight: normal;
|
||||
font-size: 30vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,19 @@
|
||||
// width: 100%;
|
||||
// }
|
||||
// }
|
||||
|
||||
#home{
|
||||
.visu-album{
|
||||
position: absolute;
|
||||
}
|
||||
.title{
|
||||
z-index: 999;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
h1{
|
||||
margin: auto;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,13 @@
|
||||
{% block body %}
|
||||
|
||||
<div id="{{ _self.pageLinkName(page.menu) }}">
|
||||
{{page.content}}
|
||||
<div class="visu-album">
|
||||
{% set header_image_media = page.media.images|first %}
|
||||
{{header_image_media}}
|
||||
</div>
|
||||
<div class="title">
|
||||
{{page.content}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% for module in page.collection() %}
|
||||
|
||||
Reference in New Issue
Block a user