Commit f26e6eb6 authored by Al-Demon's avatar Al-Demon

solved error css menu in small screen

parent 055bc112
This diff is collapsed.
This diff is collapsed.
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'plugins://admin/admin.yaml',
'modified' => 1522159736,
'data' => [
'enabled' => true,
'route' => '/admin',
'cache_enabled' => false,
'theme' => 'grav',
'logo_text' => '',
'body_classes' => '',
'content_padding' => true,
'twofa_enabled' => true,
'sidebar' => [
'activate' => 'tab',
'hover_delay' => 100,
'size' => 'auto'
],
'dashboard' => [
'days_of_stats' => 7
],
'widgets' => [
'dashboard-maintenance' => true,
'dashboard-statistics' => true,
'dashboard-notifications' => true,
'dashboard-feed' => true,
'dashboard-pages' => true
],
'pages' => [
'show_parents' => 'both'
],
'session' => [
'timeout' => 1800
],
'warnings' => [
'delete_page' => true
],
'edit_mode' => 'normal',
'frontend_preview_target' => 'inline',
'show_github_msg' => true,
'pages_list_display_field' => 'title',
'google_fonts' => false,
'admin_icons' => 'line-awesome',
'enable_auto_updates_check' => true,
'notifications' => [
'feed' => true,
'dashboard' => true,
'plugins' => true,
'themes' => true
],
'popularity' => [
'enabled' => true,
'ignore' => [
0 => '/test*',
1 => '/modular'
],
'history' => [
'daily' => 30,
'monthly' => 12,
'visitors' => 20
]
]
]
];
This diff is collapsed.
This diff is collapsed.
<?php
/* partials/base.html.twig */
class __TwigTemplate_257f5018ac562c08ba153aed5104163d17456788dd749a00934ad9c0265913fa extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("partials/base-root.html.twig", "partials/base.html.twig", 1);
$this->blocks = array(
);
}
protected function doGetParent(array $context)
{
return "partials/base-root.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
public function getTemplateName()
{
return "partials/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 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 'partials/base-root.html.twig' %}
", "partials/base.html.twig", "/var/www/clients/client8/web19/web/user/plugins/admin/themes/grav/templates/partials/base.html.twig");
}
}
<?php
/* error.json.twig */
class __TwigTemplate_17b3b559b7d4b3c5d1a5aa9c132940b836a915f0ed7bfd2154a19535c977671f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo twig_jsonencode_filter($this->getAttribute(($context["page"] ?? null), "content", array()));
}
public function getTemplateName()
{
return "error.json.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 19 => 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("{{ page.content|json_encode()|raw }}", "error.json.twig", "/var/www/clients/client8/web19/web/user/plugins/error/templates/error.json.twig");
}
}
<?php
/* partials/edit-button.html.twig */
class __TwigTemplate_310a4e542d9b511a6a2c48f1f5ce1c110edd372ad47c639df0a115a03fbb13a1 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$context["_showIcon"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->definedDefaultFilter($this->getAttribute(($context["config"] ?? null), "showIcon", array()), true);
// line 2
$context["_showLabel"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->definedDefaultFilter($this->getAttribute(($context["config"] ?? null), "showLabel", array()), true);
// line 3
echo "
";
// line 4
if (((($context["_showLabel"] ?? null) == false) && (($context["_showIcon"] ?? null) == false))) {
// line 5
echo " ";
$context["_showLabel"] = true;
}
// line 7
echo "
<div id='frontend-edit-button' class='";
// line 8
echo ($context["vertical"] ?? null);
echo " ";
echo ($context["horizontal"] ?? null);
echo "'>
<div class='page-item' data-nav-id='/grav-cms";
// line 9
echo ($context["pageUrl"] ?? null);
echo "'>
<a class='page-edit frontend-edit-button' target='_blank' href='";
// line 10
echo ($context["editUrl"] ?? null);
echo "'>
";
// line 11
if ((($context["_showIcon"] ?? null) == true)) {
// line 12
echo " <i class='icon-feb-editor'></i>
";
}
// line 14
echo " ";
if ((($context["_showLabel"] ?? null) == true)) {
// line 15
echo " <span class=\"label\">
";
// line 16
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate("PLUGIN_FRONTEND_EDIT_BUTTON.BUTTON_TEXT");
echo "
</span>
";
}
// line 19
echo " </a>
</div>
</div>";
}
public function getTemplateName()
{
return "partials/edit-button.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 67 => 19, 61 => 16, 58 => 15, 55 => 14, 51 => 12, 49 => 11, 45 => 10, 41 => 9, 35 => 8, 32 => 7, 28 => 5, 26 => 4, 23 => 3, 21 => 2, 19 => 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("{% set _showIcon = config.showIcon|defined(true) %}
{% set _showLabel = config.showLabel|defined(true) %}
{% if _showLabel == false and _showIcon == false %}
{% set _showLabel = true %}
{% endif %}
<div id='frontend-edit-button' class='{{ vertical }} {{ horizontal }}'>
<div class='page-item' data-nav-id='/grav-cms{{ pageUrl }}'>
<a class='page-edit frontend-edit-button' target='_blank' href='{{ editUrl }}'>
{% if _showIcon == true %}
<i class='icon-feb-editor'></i>
{% endif %}
{% if _showLabel == true %}
<span class=\"label\">
{{ 'PLUGIN_FRONTEND_EDIT_BUTTON.BUTTON_TEXT'|t }}
</span>
{% endif %}
</a>
</div>
</div>", "partials/edit-button.html.twig", "/var/www/clients/client8/web19/web/user/plugins/frontend-edit-button/templates/partials/edit-button.html.twig");
}
}
<?php
/* forms/fields/password/password.html.twig */
class __TwigTemplate_4f88d6b9632fd9a0637b1e4d56a46eb61c7007e64de046ee228c357b1cebba52 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/password/password.html.twig", 1);
$this->blocks = array(
'input_attributes' => array($this, 'block_input_attributes'),
);
}
protected function doGetParent(array $context)
{
return "forms/field.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_input_attributes($context, array $blocks = array())
{
// line 4
echo " type=\"password\"
class=\"input\"
";
// line 6
$this->displayParentBlock("input_attributes", $context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/password/password.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 35 => 6, 31 => 4, 28 => 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 input_attributes %}
type=\"password\"
class=\"input\"
{{ parent() }}
{% endblock %}
", "forms/fields/password/password.html.twig", "/var/www/clients/client8/web19/web/user/plugins/form/templates/forms/fields/password/password.html.twig");
}
}
<?php
/* forms/fields/text/text.html.twig */
class __TwigTemplate_a22b0d46d648e072eecaaccb0671d160eb6767cf47b7df2be99bbb4d40164fdc extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/text/text.html.twig", 1);
$this->blocks = array(
'prepend' => array($this, 'block_prepend'),
'input_attributes' => array($this, 'block_input_attributes'),
'append' => array($this, 'block_append'),
'input' => array($this, 'block_input'),
);
}
protected function doGetParent(array $context)
{
return "forms/field.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_prepend($context, array $blocks = array())
{
// line 4
if ($this->getAttribute(($context["field"] ?? null), "prepend", array())) {
// line 5
echo " <div class=\"form-input-addon form-input-prepend\">
";
// line 6
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
// line 7
echo $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "prepend", array()));
} else {
// line 9
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "prepend", array()));
}
// line 11
echo " </div>
";
}
}
// line 15
public function block_input_attributes($context, array $blocks = array())
{
// line 16
echo " type=\"text\"
";
// line 17
$this->displayParentBlock("input_attributes", $context, $blocks);
echo "
";
}
// line 20
public function block_append($context, array $blocks = array())
{
// line 21
echo " ";
if ($this->getAttribute(($context["field"] ?? null), "append", array())) {
// line 22
echo " <div class=\"form-input-addon form-input-append\">
";
// line 23
if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "twig", array(), "any", false, true), "twig", array(), "any", false, true), "filters", array(), "any", false, true), "tu", array(), "array", true, true)) {
// line 24
echo $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "append", array()));
} else {
// line 26
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->getAttribute(($context["field"] ?? null), "append", array()));
}
// line 28
echo " </div>
";
}
}
// line 32
public function block_input($context, array $blocks = array())
{
// line 33
if (($this->getAttribute(($context["field"] ?? null), "prepend", array()) || $this->getAttribute(($context["field"] ?? null), "append", array()))) {
// line 34
echo " ";
$context["field"] = twig_array_merge(($context["field"] ?? null), array("wrapper_classes" => "form-input-addon-wrapper"));
}
// line 36
$this->displayParentBlock("input", $context, $blocks);
echo "
";
}
public function getTemplateName()
{
return "forms/fields/text/text.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 97 => 36, 93 => 34, 91 => 33, 88 => 32, 82 => 28, 79 => 26, 76 => 24, 74 => 23, 71 => 22, 68 => 21, 65 => 20, 59 => 17, 56 => 16, 53 => 15, 47 => 11, 44 => 9, 41 => 7, 39 => 6, 36 => 5, 34 => 4, 31 => 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 prepend %}
{% if field.prepend %}
<div class=\"form-input-addon form-input-prepend\">
{% if grav.twig.twig.filters['tu'] is defined %}
{{- field.prepend|tu|raw -}}
{% else %}
{{- field.prepend|t|raw -}}
{% endif %}
</div>
{% endif %}
{% endblock %}
{% block input_attributes %}
type=\"text\"
{{ parent() }}
{% endblock %}
{% block append %}
{% if field.append %}
<div class=\"form-input-addon form-input-append\">
{% if grav.twig.twig.filters['tu'] is defined %}
{{- field.append|tu|raw -}}
{% else %}
{{- field.append|t|raw -}}
{% endif %}
</div>
{% endif %}
{% endblock %}
{% block input %}
{% if field.prepend or field.append %}
{% set field = field|merge({'wrapper_classes': 'form-input-addon-wrapper'}) %}
{% endif %}
{{ parent() }}
{% endblock %}", "forms/fields/text/text.html.twig", "/var/www/clients/client8/web19/web/user/plugins/form/templates/forms/fields/text/text.html.twig");
}
}
<?php
/* partials/javascripts.html.twig */
class __TwigTemplate_daaac5e784d6eee36cf801f8f5e696959f076d7f714ae24e63ec147a3e5e4a46 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$this->getAttribute(($context["assets"] ?? null), "add", array(0 => "jquery", 1 => 101), "method");
// line 2
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->authorize(array(0 => "admin.login", 1 => "admin.super"))) {
// line 3
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => (($context["theme_url"] ?? null) . "/js/vendor.min.js"), 1 => array("loading" => "defer")), "method");
// line 4
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => (($context["theme_url"] ?? null) . "/js/admin.min.js"), 1 => array("loading" => "defer")), "method");
// line 5
echo "
";
// line 6
if ((($this->getAttribute(($context["browser"] ?? null), "getBrowser", array()) == "msie") || ($this->getAttribute(($context["browser"] ?? null), "getBrowser", array()) == "edge"))) {
// line 7
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => (($context["theme_url"] ?? null) . "/js/form-attr.polyfill.js")), "method");
}
// line 9
echo "
";
// line 10
try {
$this->loadTemplate("partials/javascripts-extra.html.twig", "partials/javascripts.html.twig", 10)->display($context);
} catch (Twig_Error_Loader $e) {
// ignore missing template
}
}
}
public function getTemplateName()
{
return "partials/javascripts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 39 => 10, 36 => 9, 32 => 7, 30 => 6, 27 => 5, 25 => 4, 23 => 3, 21 => 2, 19 => 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("{% do assets.add('jquery',101) %}
{% if authorize(['admin.login', 'admin.super']) %}
{% do assets.addJs(theme_url~'/js/vendor.min.js', { 'loading':'defer' }) %}
{% do assets.addJs(theme_url~'/js/admin.min.js' , { 'loading':'defer' }) %}
{% if browser.getBrowser == 'msie' or browser.getBrowser == 'edge' %}
{% do assets.addJs(theme_url~'/js/form-attr.polyfill.js') %}
{% endif %}
{% include 'partials/javascripts-extra.html.twig' ignore missing %}
{% endif %}
", "partials/javascripts.html.twig", "/var/www/clients/client8/web19/web/user/plugins/admin/themes/grav/templates/partials/javascripts.html.twig");
}
}
<?php
/* partials/messages.html.twig */
class __TwigTemplate_8c148f957ab74865de19502d69b2f3ea6031d018bd920c0228462173b3675257 extends Twig_Template
{
public function __construct(Twig_Environment $env)