Commit 77df3cb8 authored by Marianne's avatar Marianne

de la bombe bb

parent 4e09be98
<?php
return [
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
'timestamp' => 1550141166,
'checksum' => 'f4b83bee787ca49787cdb10b873b106a',
'timestamp' => 1550144833,
'checksum' => 'b117d030feeba52da9c176e27199dcc3',
'files' => [
'user/config' => [
'media' => [
......@@ -11,7 +11,7 @@ return [
],
'plugins/padtocss' => [
'file' => 'user/config/plugins/padtocss.yaml',
'modified' => 1550141166
'modified' => 1550144814
],
'security' => [
'file' => 'user/config/security.yaml',
......@@ -27,7 +27,7 @@ return [
],
'system' => [
'file' => 'user/config/system.yaml',
'modified' => 1550085003
'modified' => 1550144833
]
],
'system/config' => [
......@@ -108,7 +108,7 @@ return [
'padUrl' => 'http://127.0.0.1:9001/p/live-css',
'route' => '/ressources',
'pathToStylesheets' => '',
'posterRoute' => '/ressources',
'posterRoute' => '/poster',
'historyRoute' => '/historique',
'historyMode' => '1'
],
......@@ -660,7 +660,7 @@ return [
'override_locale' => false
],
'home' => [
'alias' => '/ressources',
'alias' => '/poster',
'hide_in_urls' => false
],
'pages' => [
......
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/themes/luuse-tool/blueprints/tool.yaml',
'modified' => 1550051506,
'data' => [
'title' => 'Outil',
'[email protected]' => [
'type' => 'base',
'context' => 'blueprints://pages'
],
'form' => [
'fields' => [
'tabs' => [
'type' => 'tabs',
'active' => 3,
'fields' => [
'resource' => [
'fields' => [
'columnsA' => [
'fields' => [
'columnB' => [
'type' => 'column',
'fields' => [
'header.contributor' => [
'type' => 'text',
'label' => 'Contributeur',
'style' => 'vertical'
]
]
]
]
],
'general' => [
'fields' => [
'columns' => [
'type' => 'columns',
'fields' => [
'column1' => [
'type' => 'column',
'fields' => [
'header.type' => [
'type' => 'text',
'label' => 'Type',
'style' => 'vertical'
],
'header.url' => [
'type' => 'url',
'label' => 'Url',
'style' => 'vertical'
],
'header.gitUrl' => [
'type' => 'url',
'label' => 'Git Url',
'style' => 'vertical'
],
'header.year' => [
'type' => 'text',
'label' => 'Année',
'style' => 'vertical'
],
'header.images' => [
'type' => 'file',
'label' => 'Images',
'style' => 'vertical',
'destination' => '[email protected]',
'multiple' => true,
'limit' => 4,
'filesize' => 1.5,
'accept' => [
0 => 'image/*'
]
]
]
],
'column2' => [
'type' => 'column',
'fields' => [
'header.authors' => [
'btnLabel' => 'Ajouter un auteur',
'name' => 'authors',
'type' => 'list',
'label' => 'Auteur(s)',
'style' => 'vertical',
'collapsed' => false,
'collapsible' => true,
'multiple' => true,
'fields' => [
'.name' => [
'type' => 'text',
'label' => 'Auteur',
'size' => 'medium'
],
'.url' => [
'type' => 'url',
'label' => 'URL'
]
]
],
'header.description' => [
'type' => 'textarea',
'label' => 'Description',
'style' => 'vertical'
]
]
]
]
]
]
],
'details' => [
'type' => 'section',
'title' => 'Détails',
'fields' => [
'columns2' => [
'type' => 'columns',
'fields' => [
'column3' => [
'type' => 'column',
'fields' => [
'header.languages' => [
'label' => 'Langages de programmation (séparés par une virgule)',
'type' => 'text',
'style' => 'vertical',
'size' => 'large'
]
]
]
]
]
]
]
]
],
'advanced' => [
'fields' => [
'overrides' => [
'fields' => [
'header.routable' => [
'default' => 0
],
'header.visible' => [
'default' => 0
]
]
]
]
]
]
]
]
]
]
];
......@@ -2,8 +2,14 @@
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/config/plugins/padtocss.yaml',
'modified' => 1550132410,
'modified' => 1550144814,
'data' => [
'enabled' => true,
'padUrl' => 'http://127.0.0.1:9001/p/live-css',
'route' => '/ressources',
'pathToStylesheets' => '',
'posterRoute' => '/poster',
'historyRoute' => '/historique',
'historyMode' => '1'
]
];
1550748237
a:2:{s:7:"content";s:49:"<p>Woops. Looks like this page doesn't exist.</p>";s:12:"content_meta";N;}
\ No newline at end of file
1550749617
a:2:{s:7:"content";s:49:"<p>Woops. Looks like this page doesn't exist.</p>";s:12:"content_meta";N;}
\ No newline at end of file
<?php
/* forms/fields/selectize/selectize.html.twig */
class __TwigTemplate_149b63fe1be32bf42de4533c95c59c5631a33f994e1be5e5ccae79124bc977e6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/selectize/selectize.html.twig", 1);
$this->blocks = [
'global_attributes' => [$this, 'block_global_attributes'],
'input_attributes' => [$this, 'block_input_attributes'],
];
}
protected function doGetParent(array $context)
{
return "forms/field.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_global_attributes($context, array $blocks = [])
{
// line 4
echo " data-grav-selectize=\"";
echo twig_escape_filter($this->env, twig_jsonencode_filter((($this->getAttribute(($context["field"] ?? null), "selectize", [], "any", true, true)) ? (twig_array_merge($this->getAttribute(($context["field"] ?? null), "selectize", []), ["create" => true])) : (["create" => true]))), "html_attr");
echo "\"
";
// line 5
$this->displayParentBlock("global_attributes", $context, $blocks);
echo "
";
}
// line 8
public function block_input_attributes($context, array $blocks = [])
{
// line 9
echo " type=\"text\"
";
// line 10
$this->displayParentBlock("input_attributes", $context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/selectize/selectize.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 10, 46 => 9, 43 => 8, 37 => 5, 32 => 4, 29 => 3, 11 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% extends \"forms/field.html.twig\" %}
{% block global_attributes %}
data-grav-selectize=\"{{ (field.selectize is defined ? field.selectize|merge({'create': true}) : {'create': true})|json_encode()|e('html_attr') }}\"
{{ parent() }}
{% endblock %}
{% block input_attributes %}
type=\"text\"
{{ parent() }}
{% endblock %}
", "forms/fields/selectize/selectize.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/forms/fields/selectize/selectize.html.twig");
}
}
......@@ -32,24 +32,24 @@ class __TwigTemplate_e2605bc4f884de1c2debcc97ac51a5dc521c94e7d8e947ad67852e4d274
";
// line 5
$this->displayBlock('head', $context, $blocks);
// line 19
// line 21
echo "</head>
<body>
";
// line 22
$this->displayBlock('header', $context, $blocks);
// line 24
$this->displayBlock('header', $context, $blocks);
// line 26
echo "
";
// line 25
$this->displayBlock('body', $context, $blocks);
// line 27
$this->displayBlock('body', $context, $blocks);
// line 29
echo "
";
// line 28
// line 30
$this->displayBlock('javascripts', $context, $blocks);
// line 31
// line 33
echo $this->getAttribute(($context["assets"] ?? null), "js", [], "method");
echo "
......@@ -79,13 +79,13 @@ class __TwigTemplate_e2605bc4f884de1c2debcc97ac51a5dc521c94e7d8e947ad67852e4d274
// line 11
echo " ";
$this->displayBlock('stylesheets', $context, $blocks);
// line 14
// line 16
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "css", [], "method");
echo "
<style type=\"text/css\" id=\"style\">
";
// line 16
// line 18
echo $this->env->getExtension('Grav\Plugin\PadTwigExtension')->padToCss();
echo "
</style>
......@@ -99,23 +99,29 @@ class __TwigTemplate_e2605bc4f884de1c2debcc97ac51a5dc521c94e7d8e947ad67852e4d274
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => "theme://assets/css/main.css", 1 => 100], "method");
// line 13
echo " ";
if (($this->getAttribute(($context["page"] ?? null), "template", []) == "poster")) {
// line 14
echo " ";
}
// line 15
echo " ";
}
// line 22
// line 24
public function block_header($context, array $blocks = [])
{
}
// line 25
// line 27
public function block_body($context, array $blocks = [])
{
}
// line 28
// line 30
public function block_javascripts($context, array $blocks = [])
{
// line 29
// line 31
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => "theme://assets/js/main.js", 1 => 100], "method");
}
......@@ -132,7 +138,7 @@ class __TwigTemplate_e2605bc4f884de1c2debcc97ac51a5dc521c94e7d8e947ad67852e4d274
public function getDebugInfo()
{
return array ( 119 => 29, 116 => 28, 111 => 25, 106 => 22, 102 => 13, 99 => 12, 96 => 11, 89 => 16, 83 => 14, 80 => 11, 78 => 10, 68 => 7, 65 => 6, 62 => 5, 53 => 31, 51 => 28, 48 => 27, 46 => 25, 43 => 24, 41 => 22, 36 => 19, 34 => 5, 29 => 3, 26 => 2, 24 => 1,);
return array ( 125 => 31, 122 => 30, 117 => 27, 112 => 24, 108 => 15, 105 => 14, 102 => 13, 99 => 12, 96 => 11, 89 => 18, 83 => 16, 80 => 11, 78 => 10, 68 => 7, 65 => 6, 62 => 5, 53 => 33, 51 => 30, 48 => 29, 46 => 27, 43 => 26, 41 => 24, 36 => 21, 34 => 5, 29 => 3, 26 => 2, 24 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
......@@ -157,6 +163,8 @@ class __TwigTemplate_e2605bc4f884de1c2debcc97ac51a5dc521c94e7d8e947ad67852e4d274
{% include 'partials/metadata.html.twig' %}
{% block stylesheets %}
{% do assets.addCss('theme://assets/css/main.css', 100) %}
{% if page.template == \"poster\" %}
{% endif %}
{% endblock %}
{{ assets.css() }}
<style type=\"text/css\" id=\"style\">
......
<?php
/* forms/fields/markdown/markdown.html.twig */
class __TwigTemplate_ca35f082e299683e04cbd8df2233a7f09296b80b357b6b71add2eb4cfbf73b9f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 3
$this->parent = $this->loadTemplate("forms/fields/editor/editor.html.twig", "forms/fields/markdown/markdown.html.twig", 3);
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
return "forms/fields/editor/editor.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 4
$context["codemirrorOptions"] = twig_array_merge(["mode" => "gfm", "ignore" => []], (($this->getAttribute(($context["field"] ?? null), "codemirror", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "codemirror", []), [])) : ([])));
// line 7
if ($this->getAttribute(($context["field"] ?? null), "showPreview", [])) {
// line 8
$context["codemirrorOptions"] = twig_array_merge(($context["codemirrorOptions"] ?? null), ["ignore" => []]);
}
// line 3
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
public function getTemplateName()
{
return "forms/fields/markdown/markdown.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 31 => 3, 28 => 8, 26 => 7, 24 => 4, 11 => 3,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{# Deprecated field. Alias to editor/editor.html.twig #}
{% extends \"forms/fields/editor/editor.html.twig\" %}
{% set codemirrorOptions = {'mode': 'gfm', 'ignore': []}|merge(field.codemirror|default({})) %}
{# backward compatibility #}
{% if field.showPreview %}
{% set codemirrorOptions = codemirrorOptions|merge({'ignore': []}) %}
{% endif %}
{# end backward compatibility #}
", "forms/fields/markdown/markdown.html.twig", "/Users/planomarianne/Documents/Bureau/taff/2019/01-fig/tools-for-fig/site/user/plugins/admin/themes/grav/templates/forms/fields/markdown/markdown.html.twig");
}
}
<?php
/* forms/fields/pagemedia/pagemedia.html.twig */
class __TwigTemplate_7d9ab5891485e06a3860facd7a1d16ff51bf85137aeab729a67e95e7d0b8abd3 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["value"] = (((null === ($context["value"] ?? null))) ? ($this->getAttribute(($context["field"] ?? null), "default", [])) : (($context["value"] ?? null)));
// line 2
$context["pagemedia"] = $this->getAttribute(($context["config"] ?? null), "get", [0 => "plugins.admin.pagemedia"], "method");
// line 3
$context["pagemedia_settings"] = ["resolution" => ["min" => ["width" => (($this->getAttribute( // line 6
($context["pagemedia"] ?? null), "res_min_width", [])) ? ($this->getAttribute(($context["pagemedia"] ?? null), "res_min_width", [])) : (null)), "height" => (($this->getAttribute( // line 7
($context["pagemedia"] ?? null), "res_min_height", [])) ? ($this->getAttribute(($context["pagemedia"] ?? null), "res_min_height", [])) : (null))], "max" => ["width" => (($this->getAttribute( // line 10
($context["pagemedia"] ?? null), "res_max_width", [])) ? ($this->getAttribute(($context["pagemedia"] ?? null), "res_max_width", [])) : (null)), "height" => (($this->getAttribute( // line 11
($context["pagemedia"] ?? null), "res_max_height", [])) ? ($this->getAttribute(($context["pagemedia"] ?? null), "res_max_height", [])) : (null))]], "resizeWidth" => (($this->getAttribute( // line 14
($context["pagemedia"] ?? null), "resize_width", [])) ? ($this->getAttribute(($context["pagemedia"] ?? null), "resize_width", [])) : (null)), "resizeHeight" => (($this->getAttribute( // line 15
($context["pagemedia"] ?? null), "resize_height", [])) ? ($this->getAttribute(($context["pagemedia"] ?? null), "resize_height", [])) : (null)), "resizeQuality" => (($this->getAttribute( // line 16
($context["pagemedia"] ?? null), "resize_quality", [])) ? ($this->getAttribute(($context["pagemedia"] ?? null), "resize_quality", [])) : (0.8))];
// line 18
echo "
";
// line 19
if ($this->getAttribute(($context["context"] ?? null), "folderExists", [])) {
// line 20
echo "<div class=\"form-field grid vertical ";
if ($this->getAttribute(($context["field"] ?? null), "classes", [], "any", true, true)) {
echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "classes", []), "html", null, true);
}
echo "\">
<div class=\"form-label\">
<label>";
// line 22
echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "label", [])), "html", null, true);
echo "</label>
</div>
<div class=\"form-data form-uploads-wrapper\">
";
// line 25
$context["uploadLimit"] = (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "config", []), "system", []), "media", []), "upload_limit", []) / 1024) / 1024);
// line 26
echo " ";