<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* components/modals.html.twig */
class __TwigTemplate_39b0d81da08bb72225220feb5dd4ba21 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "components/modals.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "components/modals.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "components/modals.html.twig"));
// line 1
echo "
";
// line 88
echo "
";
// line 91
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") && ((isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 91, $this->source); })()) == "account"))) {
// line 92
echo "<div class=\"modal modal-crop\" id=\"modal-crop\">
\t<div class=\"modal-background\"></div>
\t<div class=\"progress\" style=\"display: none\">
\t\t<div class=\"progress-bar progress-bar-striped progress-bar-animated\" role=\"progressbar\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\">0%</div>
\t</div>
\t<div class=\"alert\" role=\"alert\"></div>
\t<div class=\"modal-dialog\">
\t\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t\t<header class=\"modal-card-head\">
\t\t\t\t<h5 class=\"border-line\" id=\"modal-label\">Загрузить аватар</h5>
\t\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" id=\"cancel_crop\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"";
// line 103
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t\t</header>
\t\t\t<div class=\"modal-card-body\">
\t\t\t\t<div class=\"img-container\">
\t\t\t\t\t<img id=\"image\" src=\"\">
\t\t\t\t\t<button type=\"button\" class=\"btn cropper-rotate\" aria-label=\"rotate\" id=\"modal-button-rotate\">
\t\t\t\t\t\t<svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 40 40\"><path fill=\"#000\" fill-opacity=\".6\" d=\"M0 0h40v40H0z\"/><path d=\"M19.75 11c-5.1 0-8.75 4.04-8.75 9s3.65 9 8.75 9a9.32 9.32 0 0 0 7.68-3.99l-2.59-1.52A6.03 6.03 0 0 1 20 26c-3.3 0-6-2.79-6-6s2.7-6 6-6c1.97 0 3.72 1 4.82 2.49L23 18l6 2v-7l-1.89 1.58A9.31 9.31 0 0 0 19.75 11Z\" fill=\"#fff\"/></svg>
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"modal-card-footer\">
\t\t\t\t<button type=\"button\" class=\"btn btn-danger\" id=\"crop\">
\t\t\t\t\t<span>Далее</span>
\t\t\t\t</button>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
";
}
// line 123
echo "
";
// line 125
echo "<div class=\"modal modal-error modal-success\" id=\"modal-success-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"";
// line 130
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon check-circle\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"";
// line 136
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-check-circle\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>Действие было упешно выполнено.</div>
\t\t\t<div class=\"desc\" data-to-desc>Какое-то действие было выполнено.</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<button type=\"button\" class=\"btn\">
\t\t\t\t<span>Ок</span>
\t\t\t</button>
\t\t</div>
\t</div>
</div>
";
// line 150
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 151
echo "<div class=\"modal modal-error modal-dev-in-progress\" id=\"dev-in-progress\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"";
// line 156
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"";
// line 162
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-stop\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>Функционал временно не работает</div>
\t\t\t<div class=\"desc\" data-to-desc>Мы работаем над его улучшением.</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<button type=\"button\" class=\"btn\">
\t\t\t\t<span>Ок</span>
\t\t\t</button>
\t\t</div>
\t</div>
</div>
";
// line 210
echo "
<div class=\"modal modal-error modal-alert\" id=\"modal-alert-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"";
// line 216
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon check-circle\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"";
// line 222
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-stop\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>Удалить фотографию?</div>
\t\t\t<div class=\"desc\" data-to-desc>Данная функция доступна только для зарегистрированных пользователей.</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<button type=\"button\" class=\"btn\" data-type=\"reject\">Отмена</button>
\t\t\t<button type=\"button\" class=\"btn\" data-type=\"approved\">ОК</button>
\t\t</div>
\t</div>
</div>
";
// line 235
echo "\t<div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-warning-box\">
\t\t<div class=\"modal-background\"></div>
\t\t<div class=\"modal-dialog modal-dialog-centered\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-body text-center\">
\t\t\t\t\t<div class=\"icon check-circle\">
\t\t\t\t\t\t<svg>
\t\t\t\t\t\t\t<use xlink:href=\"";
// line 242
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-stop\"></use>
\t\t\t\t\t\t</svg>
\t\t\t\t\t</div>
\t\t\t\t\t<p class=\"m-0\">Удалить?</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
\t\t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-secondary mx-1 close\" id=\"modal-warning-box-disagree\" data-type=\"disagree\" data-dismiss=\"modal\" data-close>
\t\t\t\t\t\t<span>Отмена</span>
\t\t\t\t\t</button>
\t\t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-danger mx-1 agree\" id=\"modal-warning-box-agree\" data-type=\"agree\" data-agree=\"profile-delete\">
\t\t\t\t\t\t<span>Да</span>
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
";
}
// line 260
echo "<div class=\"modal modal-list\" id=\"modal-metro-list\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<h5 class=\"modal-card-title\">Выберите станцию метро</h5>
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\">
\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"";
// line 267
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-close\"></use>
\t\t\t\t</svg>
\t\t\t</button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<ul class=\"wrap\">
\t\t\t\t";
// line 273
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("city_stations", ["template" => "_menu/city_stations.html.twig"]);
echo "
\t\t\t</ul>
\t\t</div>
\t</div>
</div>
";
// line 279
echo "<div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-error-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-dialog modal-dialog-centered\">
\t\t<div class=\"modal-content\">
\t\t\t<div class=\"modal-body text-center\">
\t\t\t\t<div class=\"icon check-circle\">
\t\t\t\t\t<svg>
\t\t\t\t\t\t<use xlink:href=\"";
// line 286
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg", "nodomainConfig"), "html", null, true);
echo "#icon-alert\"></use>
\t\t\t\t\t</svg>
\t\t\t\t</div>
\t\t\t\t<div class=\"title\" data-to-title>
\t\t\t\t</div>
\t\t\t\t<div class=\"desc\" data-to-desc>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
\t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-danger mx-1\" id=\"modal-error-box-agree\" data-type=\"close\">
\t\t\t\t\t<span>Ок</span>
\t\t\t\t</button>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
";
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "components/modals.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 258 => 286, 249 => 279, 241 => 273, 232 => 267, 223 => 260, 203 => 242, 194 => 235, 179 => 222, 170 => 216, 162 => 210, 144 => 162, 135 => 156, 128 => 151, 126 => 150, 110 => 136, 101 => 130, 94 => 125, 91 => 123, 68 => 103, 55 => 92, 53 => 91, 49 => 88, 46 => 1,);
}
public function getSourceContext()
{
return new Source("
{#<div class=\"modal schedule-popup\" id=\"schedule_popup_container\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card\">
\t\t<header class=\"modal-card-head is-flex level\">
\t\t\t<p class=\"modal-card-title\">Выбор времени</p>
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" id=\"schedule_close_popup\"></button>
\t\t</header>
\t\t<div class=\"modal-card-body is-flex level\" id=\"top_schedule_popup\">
\t\t\t<div class=\"mobile-head\">
\t\t\t\t<p class=\"information-data-mobile\">
\t\t\t\t\t<span class=\"has-text-weight-bold\">Анкета:</span>
\t\t\t\t\t<span class=\"model\">{Name}</span>
\t\t\t\t</p>
\t\t\t\t<p class=\"timezone-attending-mobile\">
\t\t\t\t\t<span class=\"has-text-weight-bold\">ВНИМАНИЕ:</span>
\t\t\t\t\tВремя указано для города {city}
\t\t\t\t</p>
\t\t\t</div>
\t\t\t<div class=\"table\">
\t\t\t\t<div class=\"row date is-flex level\">
\t\t\t\t\t<div class=\"space\"></div>
\t\t\t\t\t<div class=\"date-element\"></div>
\t\t\t\t\t<div class=\"date-element\"></div>
\t\t\t\t\t<div class=\"date-element\"></div>
\t\t\t\t\t<div class=\"date-element\"></div>
\t\t\t\t\t<div class=\"date-element\"></div>
\t\t\t\t\t<div class=\"date-element\"></div>
\t\t\t\t\t<div class=\"date-element\"></div>
\t\t\t\t</div>
\t\t\t\t{% for i in 0..23 %}
\t\t\t\t\t<div class=\"row data is-flex level\" data-row=\"{{ i }}\">
\t\t\t\t\t\t<div class=\"time\">{{ i }}:00 - {{ i }}:59</div>
\t\t\t\t\t\t{% for j in 0..6 %}
\t\t\t\t\t\t\t<div class=\"data-element\" data-col=\"{{ j }}\" data-row=\"{{ i }}\">{{ j }}</div>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t\t<div class=\"info\">
\t\t\t\t<p class=\"timezone-attending\">
\t\t\t\t\t<span class=\"has-text-weight-bold\">ВНИМАНИЕ:</span>
\t\t\t\t\tВремя указано для города <span class=\"city\">{city}</span>
\t\t\t\t</p>
\t\t\t\t<ul class=\"information-cell is-flex level\">
\t\t\t\t\t<li class=\"is-flex level\">
\t\t\t\t\t\t<div class=\"cell reserved\"></div>
\t\t\t\t\t\t<p>- занято</p>
\t\t\t\t\t</li>
\t\t\t\t\t<li class=\"is-flex level\">
\t\t\t\t\t\t<div class=\"cell free\"></div>
\t\t\t\t\t\t<p>- свободно</p>
\t\t\t\t\t</li>
\t\t\t\t\t<li class=\"is-flex level\">
\t\t\t\t\t\t<div class=\"cell selected\"></div>
\t\t\t\t\t\t<p>- выбрано Вами</p>
\t\t\t\t\t</li>
\t\t\t\t</ul>
\t\t\t\t<div class=\"information-data\">
\t\t\t\t\t<div class=\"heading is-flex level\">
\t\t\t\t\t\t<img src=\"{{ asset('assets/images/icons/girl-in-pose.svg') }}\">
\t\t\t\t\t\t<p>Активация услуги
\t\t\t\t\t\t\t<span class=\"colored\">ТОП-девушка</span>
\t\t\t\t\t\t\tдля анкеты:<span class=\"model\">{Name}</span>
\t\t\t\t\t\t</p>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"empty\">
\t\t\t\t\t\t<p>Выберите свободную ячейку</p>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"data\">
\t\t\t\t\t\t<p>Выбранное время:
\t\t\t\t\t\t\t<span class=\"select-time\">0 часов</span>
\t\t\t\t\t\t</p>
\t\t\t\t\t\t<ul class=\"time-list\">
\t\t\t\t\t\t</ul>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"footer is-flex level\">
\t\t\t\t\t\t<p>Итого к оплате: <span class=\"price\">0</span> <span class=\"currency\">Р</span></p>
\t\t\t\t\t\t<button class=\"purchase btn btn-fill-red-style\">оплатить</button>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
</div>#}
{# Кроп аватара #}
{% if is_granted('ROLE_USER') and view == 'account' %}
<div class=\"modal modal-crop\" id=\"modal-crop\">
\t<div class=\"modal-background\"></div>
\t<div class=\"progress\" style=\"display: none\">
\t\t<div class=\"progress-bar progress-bar-striped progress-bar-animated\" role=\"progressbar\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\">0%</div>
\t</div>
\t<div class=\"alert\" role=\"alert\"></div>
\t<div class=\"modal-dialog\">
\t\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t\t<header class=\"modal-card-head\">
\t\t\t\t<h5 class=\"border-line\" id=\"modal-label\">Загрузить аватар</h5>
\t\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" id=\"cancel_crop\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t\t</header>
\t\t\t<div class=\"modal-card-body\">
\t\t\t\t<div class=\"img-container\">
\t\t\t\t\t<img id=\"image\" src=\"\">
\t\t\t\t\t<button type=\"button\" class=\"btn cropper-rotate\" aria-label=\"rotate\" id=\"modal-button-rotate\">
\t\t\t\t\t\t<svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 40 40\"><path fill=\"#000\" fill-opacity=\".6\" d=\"M0 0h40v40H0z\"/><path d=\"M19.75 11c-5.1 0-8.75 4.04-8.75 9s3.65 9 8.75 9a9.32 9.32 0 0 0 7.68-3.99l-2.59-1.52A6.03 6.03 0 0 1 20 26c-3.3 0-6-2.79-6-6s2.7-6 6-6c1.97 0 3.72 1 4.82 2.49L23 18l6 2v-7l-1.89 1.58A9.31 9.31 0 0 0 19.75 11Z\" fill=\"#fff\"/></svg>
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"modal-card-footer\">
\t\t\t\t<button type=\"button\" class=\"btn btn-danger\" id=\"crop\">
\t\t\t\t\t<span>Далее</span>
\t\t\t\t</button>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
{% endif %}
{# Лайтбокс с текстом об успехе+ #}
<div class=\"modal modal-error modal-success\" id=\"modal-success-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon check-circle\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check-circle\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>Действие было упешно выполнено.</div>
\t\t\t<div class=\"desc\" data-to-desc>Какое-то действие было выполнено.</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<button type=\"button\" class=\"btn\">
\t\t\t\t<span>Ок</span>
\t\t\t</button>
\t\t</div>
\t</div>
</div>
{# Лайтбокс с текстом о том что функционал в разработке+ #}
{% if is_granted('ROLE_USER') %}
<div class=\"modal modal-error modal-dev-in-progress\" id=\"dev-in-progress\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-stop\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>Функционал временно не работает</div>
\t\t\t<div class=\"desc\" data-to-desc>Мы работаем над его улучшением.</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<button type=\"button\" class=\"btn\">
\t\t\t\t<span>Ок</span>
\t\t\t</button>
\t\t</div>
\t</div>
</div>
{# Лайтбокс с требованием залогинится+
<div class=\"modal modal-error modal-authorize\" id=\"modal-authorize-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon check-circle\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-user-red\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>
\t\t\t\tВойдите в личный кабинет.
\t\t\t</div>
\t\t\t<div class=\"desc\" data-to-desc>
\t\t\t\tДанная функция доступна только для зарегистрированных пользователей.
\t\t\t</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<a href=\"/login\" class=\"btn btn-dark\">
\t\t\t\tВойти
\t\t\t</a>
\t\t\t<a href=\"/signup\" class=\"btn btn-danger\">
\t\t\t\tЗарегистрироваться
\t\t\t</a>
\t\t</div>
\t</div>
</div>#}
<div class=\"modal modal-error modal-alert\" id=\"modal-alert-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon check-circle\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-stop\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>Удалить фотографию?</div>
\t\t\t<div class=\"desc\" data-to-desc>Данная функция доступна только для зарегистрированных пользователей.</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<button type=\"button\" class=\"btn\" data-type=\"reject\">Отмена</button>
\t\t\t<button type=\"button\" class=\"btn\" data-type=\"approved\">ОК</button>
\t\t</div>
\t</div>
</div>
{# Лайтбокс с предупреждением #}
\t<div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-warning-box\">
\t\t<div class=\"modal-background\"></div>
\t\t<div class=\"modal-dialog modal-dialog-centered\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-body text-center\">
\t\t\t\t\t<div class=\"icon check-circle\">
\t\t\t\t\t\t<svg>
\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-stop\"></use>
\t\t\t\t\t\t</svg>
\t\t\t\t\t</div>
\t\t\t\t\t<p class=\"m-0\">Удалить?</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
\t\t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-secondary mx-1 close\" id=\"modal-warning-box-disagree\" data-type=\"disagree\" data-dismiss=\"modal\" data-close>
\t\t\t\t\t\t<span>Отмена</span>
\t\t\t\t\t</button>
\t\t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-danger mx-1 agree\" id=\"modal-warning-box-agree\" data-type=\"agree\" data-agree=\"profile-delete\">
\t\t\t\t\t\t<span>Да</span>
\t\t\t\t\t</button>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
{% endif %}
{# Выбор метро+ #}
<div class=\"modal modal-list\" id=\"modal-metro-list\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<h5 class=\"modal-card-title\">Выберите станцию метро</h5>
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\">
\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
\t\t\t\t</svg>
\t\t\t</button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<ul class=\"wrap\">
\t\t\t\t{{ knp_menu_render('city_stations', {'template': '_menu/city_stations.html.twig'}) }}
\t\t\t</ul>
\t\t</div>
\t</div>
</div>
{# Лайтбокс с текстом об ошибке+ #}
<div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-error-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-dialog modal-dialog-centered\">
\t\t<div class=\"modal-content\">
\t\t\t<div class=\"modal-body text-center\">
\t\t\t\t<div class=\"icon check-circle\">
\t\t\t\t\t<svg>
\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-alert\"></use>
\t\t\t\t\t</svg>
\t\t\t\t</div>
\t\t\t\t<div class=\"title\" data-to-title>
\t\t\t\t</div>
\t\t\t\t<div class=\"desc\" data-to-desc>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
\t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-danger mx-1\" id=\"modal-error-box-agree\" data-type=\"close\">
\t\t\t\t\t<span>Ок</span>
\t\t\t\t</button>
\t\t\t</div>
\t\t</div>
\t</div>
</div>
{# <div class=\"modal modal-error modal-error-box\" id=\"modal-error-box\">
\t<div class=\"modal-background\"></div>
\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t<header class=\"modal-card-head\">
\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}icon-close\"></use>
\t\t\t\t</svg></button>
\t\t</header>
\t\t<div class=\"modal-card-body\">
\t\t\t<div class=\"icon alert\">
\t\t\t\t<svg>
\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-alert\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"title\" data-to-title>
\t\t\t</div>
\t\t\t<div class=\"desc\" data-to-desc>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"modal-card-footer\">
\t\t\t<button type=\"button\" class=\"btn\">
\t\t\t\t<span>Ок</span>
\t\t\t</button>
\t\t</div>
\t</div>
</div> #}
{#
{% if not is_granted('ROLE_USER') %}
\t<div class=\"modal modal-login-box\" id=\"modal-login-box\">
\t\t<div class=\"modal-background\"></div>
\t\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
\t\t\t<header class=\"modal-card-head\">
\t\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\">
\t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
\t\t\t\t\t</svg>
\t\t\t\t</button>
\t\t\t</header>
\t\t\t<div class=\"modal-card-body\">
\t\t\t\t<div class=\"wrap\">
\t\t\t\t\t<div class=\"block-authorize\">
\t\t\t\t\t\t<p class=\"title border-line\">Авторизация</p>
\t\t\t\t\t\t<!--noindex-->
\t\t\t\t\t\t<form class=\"login-form\" action=\"{{ path('login') }}\" method=\"POST\" novalidate>
\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
\t\t\t\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"signin\">
\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<label for=\"email\">{% trans with {} from 'forms' %}E-mail{% endtrans %}:</label>
\t\t\t\t\t\t\t\t<input type=\"email\" class=\"form-control\" id=\"email\" aria-describedby=\"email\" placeholder=\"{% trans with {} from 'forms' %}Введите email{% endtrans %}\" name=\"email\">
\t\t\t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter email.</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t\t\t<label for=\"password\">{% trans with {} from 'forms' %}Пароль{% endtrans %}:</label>
\t\t\t\t\t\t\t\t<input type=\"password\" class=\"form-control\" id=\"password\" aria-describedby=\"password\" placeholder=\"{% trans with {} from 'forms' %}Введите пароль{% endtrans %}\" name=\"password\">
\t\t\t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter email.</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<a href=\"{{ path('receive_password') }}\">{% trans with {} from 'basic' %}Восстановить пароль{% endtrans %}</a>
\t\t\t\t\t\t\t<button type=\"submit\" class=\"btn login btn-danger btn-block\">
\t\t\t\t\t\t\t\t<span>Войти в кабинет</span>
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t</form>
\t\t\t\t\t\t<!--/noindex-->
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"block-registration\">
\t\t\t\t\t\t<p class=\"title border-line\">Регистрация</p>
\t\t\t\t\t\t<p class=\"desc\">Быстро и удобно с любого устройства!</p>
\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-union-profile\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t<span>Бесплатная регистрация и размещение анкет</span></li>
\t\t\t\t\t\t\t<li class=\"d-flex\">
\t\t\t\t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-gold\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t<span>Используйте супер тарифы <span class=\"gold\">GOLD</span> и <span class=\"silver\">SILVER</span> и получайте клиентов прямо сейчас</span></li>
\t\t\t\t\t\t\t<li class=\"search d-flex\">
\t\t\t\t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
\t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-search\"></use>
\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t<span>Удобный поиск по множествам параметров и фильтров</span>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t</ul>
\t\t\t\t\t\t<a href=\"{{ path('register', {'city': city.uriIdentity}) }}\" class=\"btn is-flex level registation btn-danger btn-block\">
\t\t\t\t\t\t\t<span>Зарегистрироваться</span>
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
{% endif %}
#}
", "components/modals.html.twig", "/app/templates/components/modals.html.twig");
}
}