add table + resizablejq
This commit is contained in:
+99
-187
@@ -1,9 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
return [
|
return [
|
||||||
'@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
|
'@class' => 'Grav\\Common\\Config\\CompiledBlueprints',
|
||||||
'timestamp' => 1530525683,
|
'timestamp' => 1530607689,
|
||||||
'checksum' => 'b0eb8b14d56bcb4e56a44521f956677f',
|
'checksum' => 'b387ad70705342f55515e679d19bf460',
|
||||||
'files' => [
|
'files' => [
|
||||||
|
'user/plugins/admin/blueprints/config' => [
|
||||||
|
'media' => [
|
||||||
|
'file' => 'user/plugins/admin/blueprints/config/media.yaml',
|
||||||
|
'modified' => 1529476888
|
||||||
|
]
|
||||||
|
],
|
||||||
'system/blueprints/config' => [
|
'system/blueprints/config' => [
|
||||||
'media' => [
|
'media' => [
|
||||||
'file' => 'system/blueprints/config/media.yaml',
|
'file' => 'system/blueprints/config/media.yaml',
|
||||||
@@ -62,6 +68,53 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
'media.types' => [
|
||||||
|
'name' => 'media.types',
|
||||||
|
'type' => 'list',
|
||||||
|
'label' => 'PLUGIN_ADMIN.MEDIA_TYPES',
|
||||||
|
'style' => 'vertical',
|
||||||
|
'key' => 'extension',
|
||||||
|
'controls' => 'both',
|
||||||
|
'collapsed' => true,
|
||||||
|
'validation' => 'loose',
|
||||||
|
'array' => true
|
||||||
|
],
|
||||||
|
'media.types.*' => [
|
||||||
|
'type' => '_parent',
|
||||||
|
'name' => 'media.types.*',
|
||||||
|
'form_field' => false
|
||||||
|
],
|
||||||
|
'media.types.*.type' => [
|
||||||
|
'type' => 'text',
|
||||||
|
'label' => 'PLUGIN_ADMIN.TYPE',
|
||||||
|
'name' => 'media.types.*.type',
|
||||||
|
'validation' => 'loose'
|
||||||
|
],
|
||||||
|
'media.types.*.thumb' => [
|
||||||
|
'type' => 'text',
|
||||||
|
'label' => 'PLUGIN_ADMIN.THUMB',
|
||||||
|
'name' => 'media.types.*.thumb',
|
||||||
|
'validation' => 'loose'
|
||||||
|
],
|
||||||
|
'media.types.*.mime' => [
|
||||||
|
'type' => 'text',
|
||||||
|
'label' => 'PLUGIN_ADMIN.MIME_TYPE',
|
||||||
|
'validate' => [
|
||||||
|
'type' => 'lower'
|
||||||
|
],
|
||||||
|
'name' => 'media.types.*.mime',
|
||||||
|
'validation' => 'loose'
|
||||||
|
],
|
||||||
|
'media.types.*.image' => [
|
||||||
|
'type' => 'textarea',
|
||||||
|
'yaml' => true,
|
||||||
|
'label' => 'PLUGIN_ADMIN.IMAGE_OPTIONS',
|
||||||
|
'validate' => [
|
||||||
|
'type' => 'yaml'
|
||||||
|
],
|
||||||
|
'name' => 'media.types.*.image',
|
||||||
|
'validation' => 'loose'
|
||||||
|
],
|
||||||
'site' => [
|
'site' => [
|
||||||
'type' => '_root',
|
'type' => '_root',
|
||||||
'form_field' => false,
|
'form_field' => false,
|
||||||
@@ -116,17 +169,10 @@ return [
|
|||||||
'name' => 'site.taxonomies',
|
'name' => 'site.taxonomies',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'site.content' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'site.content',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'site.summary' => [
|
'site.summary' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'site.summary',
|
'name' => 'site.summary',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'site.summary.enabled' => [
|
'site.summary.enabled' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
@@ -175,8 +221,8 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'site.metadata' => [
|
'site.metadata' => [
|
||||||
'type' => 'section',
|
'type' => 'array',
|
||||||
'underline' => true,
|
'label' => 'PLUGIN_ADMIN.METADATA',
|
||||||
'name' => 'site.metadata',
|
'name' => 'site.metadata',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
@@ -187,8 +233,8 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'site.routes' => [
|
'site.routes' => [
|
||||||
'type' => 'section',
|
'type' => 'array',
|
||||||
'underline' => true,
|
'label' => 'PLUGIN_ADMIN.CUSTOM_ROUTES',
|
||||||
'name' => 'site.routes',
|
'name' => 'site.routes',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
@@ -582,17 +628,10 @@ return [
|
|||||||
'name' => 'system.pages.frontmatter.ignore_fields',
|
'name' => 'system.pages.frontmatter.ignore_fields',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.content' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.content',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'system.languages' => [
|
'system.languages' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.languages',
|
'name' => 'system.languages',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'system.languages.supported' => [
|
'system.languages.supported' => [
|
||||||
'type' => 'selectize',
|
'type' => 'selectize',
|
||||||
@@ -750,12 +789,6 @@ return [
|
|||||||
'name' => 'system.pages.vary_accept_encoding',
|
'name' => 'system.pages.vary_accept_encoding',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.http_headers' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.http_headers',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'system.pages.markdown' => [
|
'system.pages.markdown' => [
|
||||||
'type' => '_parent',
|
'type' => '_parent',
|
||||||
'name' => 'system.pages.markdown',
|
'name' => 'system.pages.markdown',
|
||||||
@@ -817,12 +850,6 @@ return [
|
|||||||
'name' => 'system.pages.markdown.escape_markup',
|
'name' => 'system.pages.markdown.escape_markup',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.markdown' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.markdown',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'system.cache' => [
|
'system.cache' => [
|
||||||
'type' => '_parent',
|
'type' => '_parent',
|
||||||
'name' => 'system.cache',
|
'name' => 'system.cache',
|
||||||
@@ -1025,17 +1052,10 @@ return [
|
|||||||
'name' => 'system.cache.redis.password',
|
'name' => 'system.cache.redis.password',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.caching' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.caching',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'system.twig' => [
|
'system.twig' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.twig',
|
'name' => 'system.twig',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'system.twig.cache' => [
|
'system.twig.cache' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
@@ -1108,10 +1128,9 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.assets' => [
|
'system.assets' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.assets',
|
'name' => 'system.assets',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'system.assets.css_pipeline' => [
|
'system.assets.css_pipeline' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
@@ -1277,10 +1296,9 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.errors' => [
|
'system.errors' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.errors',
|
'name' => 'system.errors',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'system.errors.display' => [
|
'system.errors.display' => [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
@@ -1313,10 +1331,9 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.debugger' => [
|
'system.debugger' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.debugger',
|
'name' => 'system.debugger',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'system.debugger.enabled' => [
|
'system.debugger.enabled' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
@@ -1422,10 +1439,9 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.media' => [
|
'system.media' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.media',
|
'name' => 'system.media',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'system.media.enable_media_timestamp' => [
|
'system.media.enable_media_timestamp' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
@@ -1478,10 +1494,9 @@ return [
|
|||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.session' => [
|
'system.session' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.session',
|
'name' => 'system.session',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'system.session.enabled' => [
|
'system.session.enabled' => [
|
||||||
'type' => 'hidden',
|
'type' => 'hidden',
|
||||||
@@ -1752,12 +1767,6 @@ return [
|
|||||||
'name' => 'system.custom_base_url',
|
'name' => 'system.custom_base_url',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'system.advanced' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'system.advanced',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.admin' => [
|
'plugins.admin' => [
|
||||||
'type' => '_root',
|
'type' => '_root',
|
||||||
'form_field' => false,
|
'form_field' => false,
|
||||||
@@ -1770,12 +1779,6 @@ return [
|
|||||||
'name' => 'plugins',
|
'name' => 'plugins',
|
||||||
'form_field' => false
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'plugins.admin.Basics' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => false,
|
|
||||||
'name' => 'plugins.admin.Basics',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.admin.enabled' => [
|
'plugins.admin.enabled' => [
|
||||||
'type' => 'hidden',
|
'type' => 'hidden',
|
||||||
'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
|
'label' => 'PLUGIN_ADMIN.PLUGIN_STATUS',
|
||||||
@@ -2074,19 +2077,6 @@ return [
|
|||||||
'name' => 'plugins.admin.hide_modular_page_types',
|
'name' => 'plugins.admin.hide_modular_page_types',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.admin.MediaResize' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'plugins.admin.MediaResize',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.admin.MediaResizeNote' => [
|
|
||||||
'type' => 'spacer',
|
|
||||||
'text' => 'PLUGIN_ADMIN.PAGEMEDIA_RESIZER',
|
|
||||||
'markdown' => true,
|
|
||||||
'name' => 'plugins.admin.MediaResizeNote',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.admin.pagemedia' => [
|
'plugins.admin.pagemedia' => [
|
||||||
'type' => '_parent',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.admin.pagemedia',
|
'name' => 'plugins.admin.pagemedia',
|
||||||
@@ -2177,12 +2167,6 @@ return [
|
|||||||
'name' => 'plugins.admin.pagemedia.resize_quality',
|
'name' => 'plugins.admin.pagemedia.resize_quality',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.admin.Dashboard' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'plugins.admin.Dashboard',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.admin.widgets' => [
|
'plugins.admin.widgets' => [
|
||||||
'type' => '_parent',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.admin.widgets',
|
'name' => 'plugins.admin.widgets',
|
||||||
@@ -2263,12 +2247,6 @@ return [
|
|||||||
'name' => 'plugins.admin.widgets.dashboard-pages',
|
'name' => 'plugins.admin.widgets.dashboard-pages',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.admin.Notifications' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'plugins.admin.Notifications',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.admin.notifications' => [
|
'plugins.admin.notifications' => [
|
||||||
'type' => '_parent',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.admin.notifications',
|
'name' => 'plugins.admin.notifications',
|
||||||
@@ -2334,12 +2312,6 @@ return [
|
|||||||
'name' => 'plugins.admin.notifications.themes',
|
'name' => 'plugins.admin.notifications.themes',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.admin.Popularity' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'underline' => true,
|
|
||||||
'name' => 'plugins.admin.Popularity',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.admin.popularity' => [
|
'plugins.admin.popularity' => [
|
||||||
'type' => '_parent',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.admin.popularity',
|
'name' => 'plugins.admin.popularity',
|
||||||
@@ -2560,15 +2532,10 @@ return [
|
|||||||
'name' => 'plugins.form.inline_errors',
|
'name' => 'plugins.form.inline_errors',
|
||||||
'validation' => 'strict'
|
'validation' => 'strict'
|
||||||
],
|
],
|
||||||
'plugins.form.general' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'name' => 'plugins.form.general',
|
|
||||||
'validation' => 'strict'
|
|
||||||
],
|
|
||||||
'plugins.form.files' => [
|
'plugins.form.files' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.form.files',
|
'name' => 'plugins.form.files',
|
||||||
'validation' => 'strict'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'plugins.form.files.multiple' => [
|
'plugins.form.files.multiple' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
@@ -2662,9 +2629,9 @@ return [
|
|||||||
'validation' => 'strict'
|
'validation' => 'strict'
|
||||||
],
|
],
|
||||||
'plugins.form.recaptcha' => [
|
'plugins.form.recaptcha' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.form.recaptcha',
|
'name' => 'plugins.form.recaptcha',
|
||||||
'validation' => 'strict'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'plugins.form.recaptcha.site_key' => [
|
'plugins.form.recaptcha.site_key' => [
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
@@ -2833,15 +2800,10 @@ return [
|
|||||||
'name' => 'plugins.login.user_registration.redirect_after_activation',
|
'name' => 'plugins.login.user_registration.redirect_after_activation',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.login.routes' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'name' => 'plugins.login.routes',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.login.rememberme' => [
|
'plugins.login.rememberme' => [
|
||||||
'type' => 'section',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.login.rememberme',
|
'name' => 'plugins.login.rememberme',
|
||||||
'validation' => 'loose'
|
'form_field' => false
|
||||||
],
|
],
|
||||||
'plugins.login.rememberme.enabled' => [
|
'plugins.login.rememberme.enabled' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
@@ -2876,11 +2838,6 @@ return [
|
|||||||
'name' => 'plugins.login.rememberme.name',
|
'name' => 'plugins.login.rememberme.name',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.login.login' => [
|
|
||||||
'type' => 'tab',
|
|
||||||
'name' => 'plugins.login.login',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.login.user_registration.enabled' => [
|
'plugins.login.user_registration.enabled' => [
|
||||||
'type' => 'toggle',
|
'type' => 'toggle',
|
||||||
'label' => 'PLUGIN_ADMIN.ENABLED',
|
'label' => 'PLUGIN_ADMIN.ENABLED',
|
||||||
@@ -2908,11 +2865,6 @@ return [
|
|||||||
'name' => 'plugins.login.user_registration.default_values',
|
'name' => 'plugins.login.user_registration.default_values',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.login.registration_fields' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'name' => 'plugins.login.registration_fields',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.login.user_registration.groups' => [
|
'plugins.login.user_registration.groups' => [
|
||||||
'type' => 'selectize',
|
'type' => 'selectize',
|
||||||
'size' => 'large',
|
'size' => 'large',
|
||||||
@@ -2940,12 +2892,6 @@ return [
|
|||||||
'name' => 'plugins.login.user_registration.access.site',
|
'name' => 'plugins.login.user_registration.access.site',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.login.access_levels' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'security' => 'admin.super',
|
|
||||||
'name' => 'plugins.login.access_levels',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.login.user_registration.options' => [
|
'plugins.login.user_registration.options' => [
|
||||||
'type' => '_parent',
|
'type' => '_parent',
|
||||||
'name' => 'plugins.login.user_registration.options',
|
'name' => 'plugins.login.user_registration.options',
|
||||||
@@ -3032,16 +2978,6 @@ return [
|
|||||||
'name' => 'plugins.login.user_registration.options.send_welcome_email',
|
'name' => 'plugins.login.user_registration.options.send_welcome_email',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.login.options' => [
|
|
||||||
'type' => 'section',
|
|
||||||
'name' => 'plugins.login.options',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.login.registration' => [
|
|
||||||
'type' => 'tab',
|
|
||||||
'name' => 'plugins.login.registration',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.login.max_pw_resets_count' => [
|
'plugins.login.max_pw_resets_count' => [
|
||||||
'type' => 'number',
|
'type' => 'number',
|
||||||
'size' => 'x-small',
|
'size' => 'x-small',
|
||||||
@@ -3090,18 +3026,6 @@ return [
|
|||||||
'name' => 'plugins.login.max_login_interval',
|
'name' => 'plugins.login.max_login_interval',
|
||||||
'validation' => 'loose'
|
'validation' => 'loose'
|
||||||
],
|
],
|
||||||
'plugins.login.Security' => [
|
|
||||||
'type' => 'tab',
|
|
||||||
'name' => 'plugins.login.Security',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.login.tabs' => [
|
|
||||||
'type' => 'tabs',
|
|
||||||
'active' => 1,
|
|
||||||
'class' => 'subtle',
|
|
||||||
'name' => 'plugins.login.tabs',
|
|
||||||
'validation' => 'loose'
|
|
||||||
],
|
|
||||||
'plugins.error' => [
|
'plugins.error' => [
|
||||||
'type' => '_root',
|
'type' => '_root',
|
||||||
'form_field' => false,
|
'form_field' => false,
|
||||||
@@ -3405,9 +3329,17 @@ return [
|
|||||||
|
|
||||||
],
|
],
|
||||||
'nested' => [
|
'nested' => [
|
||||||
'media' => 'media',
|
'media' => [
|
||||||
|
'types' => [
|
||||||
|
'*' => [
|
||||||
|
'type' => 'media.types.*.type',
|
||||||
|
'thumb' => 'media.types.*.thumb',
|
||||||
|
'mime' => 'media.types.*.mime',
|
||||||
|
'image' => 'media.types.*.image'
|
||||||
|
]
|
||||||
|
]
|
||||||
|
],
|
||||||
'site' => [
|
'site' => [
|
||||||
'content' => 'site.content',
|
|
||||||
'title' => 'site.title',
|
'title' => 'site.title',
|
||||||
'default_lang' => 'site.default_lang',
|
'default_lang' => 'site.default_lang',
|
||||||
'author' => [
|
'author' => [
|
||||||
@@ -3422,8 +3354,8 @@ return [
|
|||||||
'delimiter' => 'site.summary.delimiter'
|
'delimiter' => 'site.summary.delimiter'
|
||||||
],
|
],
|
||||||
'metadata' => 'site.metadata',
|
'metadata' => 'site.metadata',
|
||||||
'routes' => 'site.routes',
|
'redirects' => 'site.redirects',
|
||||||
'redirects' => 'site.redirects'
|
'routes' => 'site.routes'
|
||||||
],
|
],
|
||||||
'streams' => [
|
'streams' => [
|
||||||
'schemes' => [
|
'schemes' => [
|
||||||
@@ -3431,7 +3363,6 @@ return [
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'system' => [
|
'system' => [
|
||||||
'content' => 'system.content',
|
|
||||||
'home' => [
|
'home' => [
|
||||||
'alias' => 'system.home.alias',
|
'alias' => 'system.home.alias',
|
||||||
'hide_in_urls' => 'system.home.hide_in_urls'
|
'hide_in_urls' => 'system.home.hide_in_urls'
|
||||||
@@ -3489,9 +3420,6 @@ return [
|
|||||||
'http_accept_language' => 'system.languages.http_accept_language',
|
'http_accept_language' => 'system.languages.http_accept_language',
|
||||||
'override_locale' => 'system.languages.override_locale'
|
'override_locale' => 'system.languages.override_locale'
|
||||||
],
|
],
|
||||||
'http_headers' => 'system.http_headers',
|
|
||||||
'markdown' => 'system.markdown',
|
|
||||||
'caching' => 'system.caching',
|
|
||||||
'cache' => [
|
'cache' => [
|
||||||
'enabled' => 'system.cache.enabled',
|
'enabled' => 'system.cache.enabled',
|
||||||
'check' => [
|
'check' => [
|
||||||
@@ -3550,12 +3478,6 @@ return [
|
|||||||
'close_connection' => 'system.debugger.shutdown.close_connection'
|
'close_connection' => 'system.debugger.shutdown.close_connection'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'media' => [
|
|
||||||
'enable_media_timestamp' => 'system.media.enable_media_timestamp',
|
|
||||||
'auto_metadata_exif' => 'system.media.auto_metadata_exif',
|
|
||||||
'allowed_fallback_types' => 'system.media.allowed_fallback_types',
|
|
||||||
'unsupported_inline_types' => 'system.media.unsupported_inline_types'
|
|
||||||
],
|
|
||||||
'images' => [
|
'images' => [
|
||||||
'default_image_quality' => 'system.images.default_image_quality',
|
'default_image_quality' => 'system.images.default_image_quality',
|
||||||
'cache_all' => 'system.images.cache_all',
|
'cache_all' => 'system.images.cache_all',
|
||||||
@@ -3563,6 +3485,12 @@ return [
|
|||||||
'debug' => 'system.images.debug',
|
'debug' => 'system.images.debug',
|
||||||
'auto_fix_orientation' => 'system.images.auto_fix_orientation'
|
'auto_fix_orientation' => 'system.images.auto_fix_orientation'
|
||||||
],
|
],
|
||||||
|
'media' => [
|
||||||
|
'enable_media_timestamp' => 'system.media.enable_media_timestamp',
|
||||||
|
'auto_metadata_exif' => 'system.media.auto_metadata_exif',
|
||||||
|
'allowed_fallback_types' => 'system.media.allowed_fallback_types',
|
||||||
|
'unsupported_inline_types' => 'system.media.unsupported_inline_types'
|
||||||
|
],
|
||||||
'session' => [
|
'session' => [
|
||||||
'enabled' => 'system.session.enabled',
|
'enabled' => 'system.session.enabled',
|
||||||
'timeout' => 'system.session.timeout',
|
'timeout' => 'system.session.timeout',
|
||||||
@@ -3572,7 +3500,6 @@ return [
|
|||||||
'path' => 'system.session.path',
|
'path' => 'system.session.path',
|
||||||
'split' => 'system.session.split'
|
'split' => 'system.session.split'
|
||||||
],
|
],
|
||||||
'advanced' => 'system.advanced',
|
|
||||||
'gpm' => [
|
'gpm' => [
|
||||||
'releases' => 'system.gpm.releases',
|
'releases' => 'system.gpm.releases',
|
||||||
'proxy_url' => 'system.gpm.proxy_url',
|
'proxy_url' => 'system.gpm.proxy_url',
|
||||||
@@ -3593,7 +3520,6 @@ return [
|
|||||||
],
|
],
|
||||||
'plugins' => [
|
'plugins' => [
|
||||||
'admin' => [
|
'admin' => [
|
||||||
'Basics' => 'plugins.admin.Basics',
|
|
||||||
'enabled' => 'plugins.admin.enabled',
|
'enabled' => 'plugins.admin.enabled',
|
||||||
'cache_enabled' => 'plugins.admin.cache_enabled',
|
'cache_enabled' => 'plugins.admin.cache_enabled',
|
||||||
'twofa_enabled' => 'plugins.admin.twofa_enabled',
|
'twofa_enabled' => 'plugins.admin.twofa_enabled',
|
||||||
@@ -3627,8 +3553,6 @@ return [
|
|||||||
],
|
],
|
||||||
'hide_page_types' => 'plugins.admin.hide_page_types',
|
'hide_page_types' => 'plugins.admin.hide_page_types',
|
||||||
'hide_modular_page_types' => 'plugins.admin.hide_modular_page_types',
|
'hide_modular_page_types' => 'plugins.admin.hide_modular_page_types',
|
||||||
'MediaResize' => 'plugins.admin.MediaResize',
|
|
||||||
'MediaResizeNote' => 'plugins.admin.MediaResizeNote',
|
|
||||||
'pagemedia' => [
|
'pagemedia' => [
|
||||||
'resize_width' => 'plugins.admin.pagemedia.resize_width',
|
'resize_width' => 'plugins.admin.pagemedia.resize_width',
|
||||||
'resize_height' => 'plugins.admin.pagemedia.resize_height',
|
'resize_height' => 'plugins.admin.pagemedia.resize_height',
|
||||||
@@ -3638,7 +3562,6 @@ return [
|
|||||||
'res_max_height' => 'plugins.admin.pagemedia.res_max_height',
|
'res_max_height' => 'plugins.admin.pagemedia.res_max_height',
|
||||||
'resize_quality' => 'plugins.admin.pagemedia.resize_quality'
|
'resize_quality' => 'plugins.admin.pagemedia.resize_quality'
|
||||||
],
|
],
|
||||||
'Dashboard' => 'plugins.admin.Dashboard',
|
|
||||||
'widgets' => [
|
'widgets' => [
|
||||||
'dashboard-maintenance' => 'plugins.admin.widgets.dashboard-maintenance',
|
'dashboard-maintenance' => 'plugins.admin.widgets.dashboard-maintenance',
|
||||||
'dashboard-statistics' => 'plugins.admin.widgets.dashboard-statistics',
|
'dashboard-statistics' => 'plugins.admin.widgets.dashboard-statistics',
|
||||||
@@ -3646,14 +3569,12 @@ return [
|
|||||||
'dashboard-feed' => 'plugins.admin.widgets.dashboard-feed',
|
'dashboard-feed' => 'plugins.admin.widgets.dashboard-feed',
|
||||||
'dashboard-pages' => 'plugins.admin.widgets.dashboard-pages'
|
'dashboard-pages' => 'plugins.admin.widgets.dashboard-pages'
|
||||||
],
|
],
|
||||||
'Notifications' => 'plugins.admin.Notifications',
|
|
||||||
'notifications' => [
|
'notifications' => [
|
||||||
'feed' => 'plugins.admin.notifications.feed',
|
'feed' => 'plugins.admin.notifications.feed',
|
||||||
'dashboard' => 'plugins.admin.notifications.dashboard',
|
'dashboard' => 'plugins.admin.notifications.dashboard',
|
||||||
'plugins' => 'plugins.admin.notifications.plugins',
|
'plugins' => 'plugins.admin.notifications.plugins',
|
||||||
'themes' => 'plugins.admin.notifications.themes'
|
'themes' => 'plugins.admin.notifications.themes'
|
||||||
],
|
],
|
||||||
'Popularity' => 'plugins.admin.Popularity',
|
|
||||||
'popularity' => [
|
'popularity' => [
|
||||||
'enabled' => 'plugins.admin.popularity.enabled',
|
'enabled' => 'plugins.admin.popularity.enabled',
|
||||||
'ignore' => 'plugins.admin.popularity.ignore',
|
'ignore' => 'plugins.admin.popularity.ignore',
|
||||||
@@ -3674,7 +3595,6 @@ return [
|
|||||||
],
|
],
|
||||||
'form' => [
|
'form' => [
|
||||||
'enabled' => 'plugins.form.enabled',
|
'enabled' => 'plugins.form.enabled',
|
||||||
'general' => 'plugins.form.general',
|
|
||||||
'built_in_css' => 'plugins.form.built_in_css',
|
'built_in_css' => 'plugins.form.built_in_css',
|
||||||
'inline_css' => 'plugins.form.inline_css',
|
'inline_css' => 'plugins.form.inline_css',
|
||||||
'refresh_prevention' => 'plugins.form.refresh_prevention',
|
'refresh_prevention' => 'plugins.form.refresh_prevention',
|
||||||
@@ -3695,8 +3615,6 @@ return [
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'login' => [
|
'login' => [
|
||||||
'tabs' => 'plugins.login.tabs',
|
|
||||||
'login' => 'plugins.login.login',
|
|
||||||
'enabled' => 'plugins.login.enabled',
|
'enabled' => 'plugins.login.enabled',
|
||||||
'built_in_css' => 'plugins.login.built_in_css',
|
'built_in_css' => 'plugins.login.built_in_css',
|
||||||
'route' => 'plugins.login.route',
|
'route' => 'plugins.login.route',
|
||||||
@@ -3708,7 +3626,6 @@ return [
|
|||||||
'parent_acl' => 'plugins.login.parent_acl',
|
'parent_acl' => 'plugins.login.parent_acl',
|
||||||
'dynamic_page_visibility' => 'plugins.login.dynamic_page_visibility',
|
'dynamic_page_visibility' => 'plugins.login.dynamic_page_visibility',
|
||||||
'protect_protected_page_media' => 'plugins.login.protect_protected_page_media',
|
'protect_protected_page_media' => 'plugins.login.protect_protected_page_media',
|
||||||
'routes' => 'plugins.login.routes',
|
|
||||||
'route_activate' => 'plugins.login.route_activate',
|
'route_activate' => 'plugins.login.route_activate',
|
||||||
'route_register' => 'plugins.login.route_register',
|
'route_register' => 'plugins.login.route_register',
|
||||||
'user_registration' => [
|
'user_registration' => [
|
||||||
@@ -3735,11 +3652,6 @@ return [
|
|||||||
'timeout' => 'plugins.login.rememberme.timeout',
|
'timeout' => 'plugins.login.rememberme.timeout',
|
||||||
'name' => 'plugins.login.rememberme.name'
|
'name' => 'plugins.login.rememberme.name'
|
||||||
],
|
],
|
||||||
'registration' => 'plugins.login.registration',
|
|
||||||
'registration_fields' => 'plugins.login.registration_fields',
|
|
||||||
'access_levels' => 'plugins.login.access_levels',
|
|
||||||
'options' => 'plugins.login.options',
|
|
||||||
'Security' => 'plugins.login.Security',
|
|
||||||
'max_pw_resets_count' => 'plugins.login.max_pw_resets_count',
|
'max_pw_resets_count' => 'plugins.login.max_pw_resets_count',
|
||||||
'max_pw_resets_interval' => 'plugins.login.max_pw_resets_interval',
|
'max_pw_resets_interval' => 'plugins.login.max_pw_resets_interval',
|
||||||
'max_login_count' => 'plugins.login.max_login_count',
|
'max_login_count' => 'plugins.login.max_login_count',
|
||||||
|
|||||||
+7
-7
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
return [
|
return [
|
||||||
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
|
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
|
||||||
'timestamp' => 1530525683,
|
'timestamp' => 1530607689,
|
||||||
'checksum' => '081c4d2482f9c21109c135564922b00c',
|
'checksum' => '549a992c6de56f113adb76ff05144552',
|
||||||
'files' => [
|
'files' => [
|
||||||
'user/config' => [
|
'user/config' => [
|
||||||
'media' => [
|
'media' => [
|
||||||
@@ -15,7 +15,7 @@ return [
|
|||||||
],
|
],
|
||||||
'site' => [
|
'site' => [
|
||||||
'file' => 'user/config/site.yaml',
|
'file' => 'user/config/site.yaml',
|
||||||
'modified' => 1529476888
|
'modified' => 1530607689
|
||||||
],
|
],
|
||||||
'streams' => [
|
'streams' => [
|
||||||
'file' => 'user/config/streams.yaml',
|
'file' => 'user/config/streams.yaml',
|
||||||
@@ -519,18 +519,18 @@ return [
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
'site' => [
|
'site' => [
|
||||||
'title' => 'Grav',
|
'title' => 'r2c',
|
||||||
'default_lang' => 'en',
|
'default_lang' => 'en',
|
||||||
'author' => [
|
'author' => [
|
||||||
'name' => 'Joe Bloggs',
|
'name' => 'Kevin Tessier',
|
||||||
'email' => 'joe@example.com'
|
'email' => 'kevin@figureslibres.io'
|
||||||
],
|
],
|
||||||
'taxonomies' => [
|
'taxonomies' => [
|
||||||
0 => 'category',
|
0 => 'category',
|
||||||
1 => 'tag'
|
1 => 'tag'
|
||||||
],
|
],
|
||||||
'metadata' => [
|
'metadata' => [
|
||||||
'description' => 'Grav is an easy to use, yet powerful, open source flat-file CMS'
|
'description' => 'R2C'
|
||||||
],
|
],
|
||||||
'summary' => [
|
'summary' => [
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
return [
|
||||||
|
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||||
|
'filename' => '/mnt/data/Sites/r2c.net/user/accounts/admin.yaml',
|
||||||
|
'modified' => 1530517073,
|
||||||
|
'data' => [
|
||||||
|
'email' => 'kevin@figureslibres.io',
|
||||||
|
'fullname' => 'Kévin Tessier',
|
||||||
|
'title' => 'Administrator',
|
||||||
|
'state' => 'enabled',
|
||||||
|
'access' => [
|
||||||
|
'admin' => [
|
||||||
|
'login' => true,
|
||||||
|
'super' => true
|
||||||
|
],
|
||||||
|
'site' => [
|
||||||
|
'login' => true
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'hashed_password' => '$2y$10$Y3Nmqv.R9JKjvYicyX.pjep.UYP6p4Y05tp1lGJyYpwxIRmr9BIT6'
|
||||||
|
]
|
||||||
|
];
|
||||||
@@ -1 +1 @@
|
|||||||
{"02-07-2018":140}
|
{"02-07-2018":140,"03-07-2018":176}
|
||||||
@@ -1 +1 @@
|
|||||||
{"07-2018":140}
|
{"07-2018":316}
|
||||||
@@ -1 +1 @@
|
|||||||
{"\/":140}
|
{"\/":316}
|
||||||
@@ -1 +1 @@
|
|||||||
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1530538441}
|
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1530632643}
|
||||||
+15
-5
@@ -1,7 +1,17 @@
|
|||||||
title: Grav
|
title: r2c
|
||||||
|
default_lang: en
|
||||||
author:
|
author:
|
||||||
name: Joe Bloggs
|
name: 'Kevin Tessier'
|
||||||
email: 'joe@example.com'
|
email: kevin@figureslibres.io
|
||||||
|
taxonomies:
|
||||||
|
- category
|
||||||
|
- tag
|
||||||
metadata:
|
metadata:
|
||||||
description: 'Grav is an easy to use, yet powerful, open source flat-file CMS'
|
description: R2C
|
||||||
|
summary:
|
||||||
|
enabled: true
|
||||||
|
format: short
|
||||||
|
size: 300
|
||||||
|
delimiter: '==='
|
||||||
|
blog:
|
||||||
|
route: /blog
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
|||||||
#page-wrapper #start{position:relative;display:-ms-inline-flexbox;display:inline-flex;width:100%;height:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}#page-wrapper #start>div{width:500px;height:50%;text-align:center;outline:1px solid #ccc}#page-wrapper #start>div>div{width:10px;height:10px;background:red}
|
*{box-sizing:border-box}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{font:inherit;font-size:16px;margin:0;padding:0;vertical-align:baseline;border:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body,html{height:100%}body{line-height:1}ol,ul{list-style:none}a{text-decoration:none;color:#000}blockquote,q{quotes:none}img{width:100%;height:100%;vertical-align:bottom}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-spacing:0;border-collapse:collapse}p{font-style:normal}em{font-style:italic}strong{font-weight:bolder}#page{height:100%}#page #start{display:table;width:100%;height:90%}#page #start>div{display:table-row}#page #start>div>div{display:table-cell;text-align:center;outline:1px solid #000}#page #start .ui-icon,#page #start .ui-widget-content .ui-icon{background:red}
|
||||||
Vendored
+1311
File diff suppressed because it is too large
Load Diff
+31
-10
@@ -1,14 +1,35 @@
|
|||||||
// function resizable() {
|
function wrap(){
|
||||||
// $( "#start > div" ).resizable();
|
$('#start > div:nth-child(-n+3)').wrapAll('<div class="top"></div> ')
|
||||||
//
|
$('#start > div:nth-child(n+2)').wrapAll('<div class="bottom"></div> ')
|
||||||
// };
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$( function() {
|
wrap();
|
||||||
$( "#start > div " ).resizable({
|
|
||||||
resetAxes: true,
|
$(window).on("load resize", function() {
|
||||||
maxWidth: 1000,
|
|
||||||
minWidth: 300
|
var windowWidth = $(window).width();
|
||||||
|
var windowHeight = $(window).height();
|
||||||
|
var v1Width = $("#récit").width()
|
||||||
|
|
||||||
|
|
||||||
|
$("#récit").resizable({
|
||||||
|
minWidth: 50,
|
||||||
|
maxWidth: windowWidth - 80,
|
||||||
|
maxHeight: windowHeight * (.83)
|
||||||
|
}).on("#resize", function() {
|
||||||
|
|
||||||
|
if (v1Width == $("#récit").width()) {
|
||||||
|
$("#interview").height(0)
|
||||||
|
}
|
||||||
|
v1Width = $("#interview").width()
|
||||||
});
|
});
|
||||||
} );
|
|
||||||
|
$("#interview").resizable({
|
||||||
|
maxHeight: windowHeight * (.83)
|
||||||
|
}).on("#resize", function() {
|
||||||
|
$("#récit").height(0)
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
@import "configuration/config";
|
@import "configuration/config";
|
||||||
|
|
||||||
//reset$
|
//reset$
|
||||||
// @import "template/reset";
|
@import "template/reset";
|
||||||
|
|
||||||
// Typography
|
// Typography
|
||||||
// @import "template/typography";
|
// @import "template/typography";
|
||||||
|
|||||||
@@ -30,9 +30,12 @@ footer, header, hgroup, menu, nav, section {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html, body{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: 0 10%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ol, ul {
|
ol, ul {
|
||||||
|
|||||||
@@ -1,20 +1,31 @@
|
|||||||
#page-wrapper{
|
#page{
|
||||||
#start{
|
height: 100%;
|
||||||
display: inline-flex;
|
#start{
|
||||||
flex-wrap: wrap;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
position: relative;
|
display: table;
|
||||||
& > div{
|
height: 90%;
|
||||||
width: 500px;
|
|
||||||
height: 50%;
|
// display: inline-grid;
|
||||||
text-align: center;
|
// grid-template-columns: 33% 33% 33%;
|
||||||
outline: 1px solid #ccc;
|
// grid-template-rows: auto auto;
|
||||||
|
// justify-items: stretch;
|
||||||
|
// align-items: stretch;
|
||||||
|
// justify-content: stretch;
|
||||||
|
// display: flex;
|
||||||
|
// align-content: stretch;
|
||||||
|
& > div {
|
||||||
|
display: table-row;
|
||||||
& > div {
|
& > div {
|
||||||
background: red;
|
display: table-cell;
|
||||||
width: 10px;
|
text-align: center;
|
||||||
height: 10px;
|
outline: 1px solid black;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
// width: calc(100% / 3);
|
||||||
|
// // height: 50%;
|
||||||
|
}
|
||||||
|
.ui-icon, .ui-widget-content .ui-icon{
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,9 +47,9 @@
|
|||||||
{% endblock %} #}
|
{% endblock %} #}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% for module in page.collection() if module.template != 'modular/hero' %}
|
{% for module in page.collection if module.template != 'modular/hero' %}
|
||||||
<div id="{{ _self.pageLinkName(module.menu) }}">
|
<div id="{{ _self.pageLinkName(module.menu) }}">
|
||||||
{{ module.content }}
|
{{ module.content }}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{% set grid_size = theme_var('grid-size') %}
|
{% set grid_size = theme_var('grid-size') %}
|
||||||
{% set image = page.media.images|first %}
|
{% set image = page.media.images|first %}
|
||||||
|
|
||||||
<section id="modular-text" class="section {{ page.header.class}} bg-gray">
|
<section id="modular-text" class="{{ page.header.class}}">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -7,19 +7,19 @@
|
|||||||
{% block head %}
|
{% block head %}
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
||||||
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
{% include 'partials/metadata.html.twig' %}
|
{% include 'partials/metadata.html.twig' %}
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
|
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
|
||||||
<link rel="canonical" href="{{ page.url(true, true) }}" />
|
<link rel="canonical" href="{{ page.url(true, true) }}" />
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
|
{% do assets.addCss('theme://css/jquery-ui.css') %}
|
||||||
{% do assets.addCss('theme://css-compiled/template.css') %}
|
{% do assets.addCss('theme://css-compiled/template.css') %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{{ assets.css() }}
|
{{ assets.css() }}
|
||||||
|
|
||||||
{% block javascripts %}
|
{% block javascripts %}
|
||||||
@@ -27,32 +27,26 @@
|
|||||||
{% do assets.addJs('theme://js/jquery-ui.js', {group:'bottom'}) %}
|
{% do assets.addJs('theme://js/jquery-ui.js', {group:'bottom'}) %}
|
||||||
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
|
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{{ assets.js() }}
|
{{ assets.js() }}
|
||||||
|
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
</head>
|
</head>
|
||||||
<body id="top" class="{% block body_classes %}{{ body_classes }}{% endblock %}">
|
<body id="top">
|
||||||
<div id="page-wrapper">
|
<div id="page">
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<section id="header" class="section">
|
<section id="header" class="section">
|
||||||
<section class="container {{ grid_size }}">
|
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<section class="navbar-section logo">
|
<a href="{{ home_url }}" class="navbar-brand mr-10">{{site.title}}</a>
|
||||||
<a href="{{ home_url }}" class="navbar-brand mr-10">{% include('@images/grav-logo.svg') %}</a>
|
|
||||||
</section>
|
|
||||||
<section class="navbar-section">
|
<section class="navbar-section">
|
||||||
|
<nav>
|
||||||
<nav class="dropmenu animated">
|
{% block header_navigation %}
|
||||||
{% block header_navigation %}
|
{% include 'partials/navigation.html.twig' %}
|
||||||
{% include 'partials/navigation.html.twig' %}
|
{% endblock %}
|
||||||
{% endblock %}
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{% if config.plugins.login.enabled and grav.user.username %}
|
{% if config.plugins.login.enabled and grav.user.username %}
|
||||||
<span class="login-status-wrapper"><i class="fa fa-user"></i> {% include 'partials/login-status.html.twig' %}</span>
|
<span class="login-status-wrapper"><i class="fa fa-user"></i> {% include 'partials/login-status.html.twig' %}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</section>
|
|
||||||
</nav>
|
</nav>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user