var/cache/review/twig/b0/b01597521139ad655efe8faf2bf43da1.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* components/modals.html.twig */
  14. class __TwigTemplate_39b0d81da08bb72225220feb5dd4ba21 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""components/modals.html.twig"));
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""components/modals.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""components/modals.html.twig"));
  35.         // line 1
  36.         echo "
  37. ";
  38.         // line 88
  39.         echo "
  40. ";
  41.         // line 91
  42.         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"))) {
  43.             // line 92
  44.             echo "<div class=\"modal modal-crop\" id=\"modal-crop\">
  45. \t<div class=\"modal-background\"></div>
  46. \t<div class=\"progress\" style=\"display: none\">
  47. \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>
  48. \t</div>
  49. \t<div class=\"alert\" role=\"alert\"></div>
  50. \t<div class=\"modal-dialog\">
  51. \t\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  52. \t\t\t<header class=\"modal-card-head\">
  53. \t\t\t\t<h5 class=\"border-line\" id=\"modal-label\">Загрузить аватар</h5>
  54. \t\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" id=\"cancel_crop\"><svg class=\"icon\" width=\"30\" height=\"30\">
  55. \t\t\t\t\t<use xlink:href=\"";
  56.             // line 103
  57.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  58.             echo "#icon-close\"></use>
  59. \t\t\t\t</svg></button>
  60. \t\t\t</header>
  61. \t\t\t<div class=\"modal-card-body\">
  62. \t\t\t\t<div class=\"img-container\">
  63. \t\t\t\t\t<img id=\"image\" src=\"\">
  64. \t\t\t\t\t<button type=\"button\" class=\"btn cropper-rotate\" aria-label=\"rotate\" id=\"modal-button-rotate\">
  65. \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>
  66. \t\t\t\t\t</button>
  67. \t\t\t\t</div>
  68. \t\t\t</div>
  69. \t\t\t<div class=\"modal-card-footer\">
  70. \t\t\t\t<button type=\"button\" class=\"btn btn-danger\" id=\"crop\">
  71. \t\t\t\t\t<span>Далее</span>
  72. \t\t\t\t</button>
  73. \t\t\t</div>
  74. \t\t</div>
  75. \t</div>
  76. </div>
  77. ";
  78.         }
  79.         // line 123
  80.         echo "
  81. ";
  82.         // line 125
  83.         echo "<div class=\"modal modal-error modal-success\" id=\"modal-success-box\">
  84. \t<div class=\"modal-background\"></div>
  85. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  86. \t\t<header class=\"modal-card-head\">
  87. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  88. \t\t\t\t\t<use xlink:href=\"";
  89.         // line 130
  90.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  91.         echo "#icon-close\"></use>
  92. \t\t\t\t</svg></button>
  93. \t\t</header>
  94. \t\t<div class=\"modal-card-body\">
  95. \t\t\t<div class=\"icon check-circle\">
  96. \t\t\t\t<svg>
  97. \t\t\t\t\t<use xlink:href=\"";
  98.         // line 136
  99.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  100.         echo "#icon-check-circle\"></use>
  101. \t\t\t\t</svg>
  102. \t\t\t</div>
  103. \t\t\t<div class=\"title\" data-to-title>Действие было упешно выполнено.</div>
  104. \t\t\t<div class=\"desc\" data-to-desc>Какое-то действие было выполнено.</div>
  105. \t\t</div>
  106. \t\t<div class=\"modal-card-footer\">
  107. \t\t\t<button type=\"button\" class=\"btn\">
  108. \t\t\t\t<span>Ок</span>
  109. \t\t\t</button>
  110. \t\t</div>
  111. \t</div>
  112. </div>
  113. ";
  114.         // line 150
  115.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  116.             // line 151
  117.             echo "<div class=\"modal modal-error modal-dev-in-progress\" id=\"dev-in-progress\">
  118. \t<div class=\"modal-background\"></div>
  119. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  120. \t\t<header class=\"modal-card-head\">
  121. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  122. \t\t\t\t\t<use xlink:href=\"";
  123.             // line 156
  124.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  125.             echo "#icon-close\"></use>
  126. \t\t\t\t</svg></button>
  127. \t\t</header>
  128. \t\t<div class=\"modal-card-body\">
  129. \t\t\t<div class=\"icon\">
  130. \t\t\t\t<svg>
  131. \t\t\t\t\t<use xlink:href=\"";
  132.             // line 162
  133.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  134.             echo "#icon-stop\"></use>
  135. \t\t\t\t</svg>
  136. \t\t\t</div>
  137. \t\t\t<div class=\"title\" data-to-title>Функционал временно не работает</div>
  138. \t\t\t<div class=\"desc\" data-to-desc>Мы работаем над его улучшением.</div>
  139. \t\t</div>
  140. \t\t<div class=\"modal-card-footer\">
  141. \t\t\t<button type=\"button\" class=\"btn\">
  142. \t\t\t\t<span>Ок</span>
  143. \t\t\t</button>
  144. \t\t</div>
  145. \t</div>
  146. </div>
  147. ";
  148.             // line 210
  149.             echo "
  150. <div class=\"modal modal-error modal-alert\" id=\"modal-alert-box\">
  151. \t<div class=\"modal-background\"></div>
  152. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  153. \t\t<header class=\"modal-card-head\">
  154. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  155. \t\t\t\t\t<use xlink:href=\"";
  156.             // line 216
  157.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  158.             echo "#icon-close\"></use>
  159. \t\t\t\t</svg></button>
  160. \t\t</header>
  161. \t\t<div class=\"modal-card-body\">
  162. \t\t\t<div class=\"icon check-circle\">
  163. \t\t\t\t<svg>
  164. \t\t\t\t\t<use xlink:href=\"";
  165.             // line 222
  166.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  167.             echo "#icon-stop\"></use>
  168. \t\t\t\t</svg>
  169. \t\t\t</div>
  170. \t\t\t<div class=\"title\" data-to-title>Удалить фотографию?</div>
  171. \t\t\t<div class=\"desc\" data-to-desc>Данная функция доступна только для зарегистрированных пользователей.</div>
  172. \t\t</div>
  173. \t\t<div class=\"modal-card-footer\">
  174. \t\t\t<button type=\"button\" class=\"btn\" data-type=\"reject\">Отмена</button>
  175. \t\t\t<button type=\"button\" class=\"btn\" data-type=\"approved\">ОК</button>
  176. \t\t</div>
  177. \t</div>
  178. </div>
  179. ";
  180.             // line 235
  181.             echo "\t<div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-warning-box\">
  182. \t\t<div class=\"modal-background\"></div>
  183. \t\t<div class=\"modal-dialog modal-dialog-centered\">
  184. \t\t\t<div class=\"modal-content\">
  185. \t\t\t\t<div class=\"modal-body text-center\">
  186. \t\t\t\t\t<div class=\"icon check-circle\">
  187. \t\t\t\t\t\t<svg>
  188. \t\t\t\t\t\t\t<use xlink:href=\"";
  189.             // line 242
  190.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  191.             echo "#icon-stop\"></use>
  192. \t\t\t\t\t\t</svg>
  193. \t\t\t\t\t</div>
  194. \t\t\t\t\t<p class=\"m-0\">Удалить?</p>
  195. \t\t\t\t</div>
  196. \t\t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
  197. \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>
  198. \t\t\t\t\t\t<span>Отмена</span>
  199. \t\t\t\t\t</button>
  200. \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\">
  201. \t\t\t\t\t\t<span>Да</span>
  202. \t\t\t\t\t</button>
  203. \t\t\t\t</div>
  204. \t\t\t</div>
  205. \t\t</div>
  206. \t</div>
  207. ";
  208.         }
  209.         // line 260
  210.         echo "<div class=\"modal modal-list\" id=\"modal-metro-list\">
  211. \t<div class=\"modal-background\"></div>
  212. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  213. \t\t<header class=\"modal-card-head\">
  214. \t\t\t<h5 class=\"modal-card-title\">Выберите станцию метро</h5>
  215. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\">
  216. \t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
  217. \t\t\t\t\t<use xlink:href=\"";
  218.         // line 267
  219.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  220.         echo "#icon-close\"></use>
  221. \t\t\t\t</svg>
  222. \t\t\t</button>
  223. \t\t</header>
  224. \t\t<div class=\"modal-card-body\">
  225. \t\t\t<ul class=\"wrap\">
  226. \t\t\t\t";
  227.         // line 273
  228.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render("city_stations", ["template" => "_menu/city_stations.html.twig"]);
  229.         echo "
  230. \t\t\t</ul>
  231. \t\t</div>
  232. \t</div>
  233. </div>
  234. ";
  235.         // line 279
  236.         echo "<div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-error-box\">
  237. \t<div class=\"modal-background\"></div>
  238. \t<div class=\"modal-dialog modal-dialog-centered\">
  239. \t\t<div class=\"modal-content\">
  240. \t\t\t<div class=\"modal-body text-center\">
  241. \t\t\t\t<div class=\"icon check-circle\">
  242. \t\t\t\t\t<svg>
  243. \t\t\t\t\t\t<use xlink:href=\"";
  244.         // line 286
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/svg-library.svg""nodomainConfig"), "html"nulltrue);
  246.         echo "#icon-alert\"></use>
  247. \t\t\t\t\t</svg>
  248. \t\t\t\t</div>
  249. \t\t\t\t<div class=\"title\" data-to-title>
  250. \t\t\t\t</div>
  251. \t\t\t\t<div class=\"desc\" data-to-desc>
  252. \t\t\t\t</div>
  253. \t\t\t</div>
  254. \t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
  255. \t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-danger mx-1\" id=\"modal-error-box-agree\" data-type=\"close\">
  256. \t\t\t\t\t<span>Ок</span>
  257. \t\t\t\t</button>
  258. \t\t\t</div>
  259. \t\t</div>
  260. \t</div>
  261. </div>
  262. ";
  263.         
  264.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  265.         
  266.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  267.         
  268.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  269.     }
  270.     /**
  271.      * @codeCoverageIgnore
  272.      */
  273.     public function getTemplateName()
  274.     {
  275.         return "components/modals.html.twig";
  276.     }
  277.     /**
  278.      * @codeCoverageIgnore
  279.      */
  280.     public function isTraitable()
  281.     {
  282.         return false;
  283.     }
  284.     /**
  285.      * @codeCoverageIgnore
  286.      */
  287.     public function getDebugInfo()
  288.     {
  289.         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,);
  290.     }
  291.     public function getSourceContext()
  292.     {
  293.         return new Source("
  294. {#<div class=\"modal schedule-popup\" id=\"schedule_popup_container\">
  295. \t<div class=\"modal-background\"></div>
  296. \t<div class=\"modal-card\">
  297. \t\t<header class=\"modal-card-head is-flex level\">
  298. \t\t\t<p class=\"modal-card-title\">Выбор времени</p>
  299. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" id=\"schedule_close_popup\"></button>
  300. \t\t</header>
  301. \t\t<div class=\"modal-card-body is-flex level\" id=\"top_schedule_popup\">
  302. \t\t\t<div class=\"mobile-head\">
  303. \t\t\t\t<p class=\"information-data-mobile\">
  304. \t\t\t\t\t<span class=\"has-text-weight-bold\">Анкета:</span>
  305. \t\t\t\t\t<span class=\"model\">{Name}</span>
  306. \t\t\t\t</p>
  307. \t\t\t\t<p class=\"timezone-attending-mobile\">
  308. \t\t\t\t\t<span class=\"has-text-weight-bold\">ВНИМАНИЕ:</span>
  309. \t\t\t\t\tВремя указано для города {city}
  310. \t\t\t\t</p>
  311. \t\t\t</div>
  312. \t\t\t<div class=\"table\">
  313. \t\t\t\t<div class=\"row date is-flex level\">
  314. \t\t\t\t\t<div class=\"space\"></div>
  315. \t\t\t\t\t<div class=\"date-element\"></div>
  316. \t\t\t\t\t<div class=\"date-element\"></div>
  317. \t\t\t\t\t<div class=\"date-element\"></div>
  318. \t\t\t\t\t<div class=\"date-element\"></div>
  319. \t\t\t\t\t<div class=\"date-element\"></div>
  320. \t\t\t\t\t<div class=\"date-element\"></div>
  321. \t\t\t\t\t<div class=\"date-element\"></div>
  322. \t\t\t\t</div>
  323. \t\t\t\t{% for i in 0..23 %}
  324. \t\t\t\t\t<div class=\"row data is-flex level\" data-row=\"{{ i }}\">
  325. \t\t\t\t\t\t<div class=\"time\">{{ i }}:00 - {{ i }}:59</div>
  326. \t\t\t\t\t\t{% for j in 0..6 %}
  327. \t\t\t\t\t\t\t<div class=\"data-element\" data-col=\"{{ j }}\" data-row=\"{{ i }}\">{{ j }}</div>
  328. \t\t\t\t\t\t{% endfor %}
  329. \t\t\t\t\t</div>
  330. \t\t\t\t{% endfor %}
  331. \t\t\t</div>
  332. \t\t\t<div class=\"info\">
  333. \t\t\t\t<p class=\"timezone-attending\">
  334. \t\t\t\t\t<span class=\"has-text-weight-bold\">ВНИМАНИЕ:</span>
  335. \t\t\t\t\tВремя указано для города <span class=\"city\">{city}</span>
  336. \t\t\t\t</p>
  337. \t\t\t\t<ul class=\"information-cell is-flex level\">
  338. \t\t\t\t\t<li class=\"is-flex level\">
  339. \t\t\t\t\t\t<div class=\"cell reserved\"></div>
  340. \t\t\t\t\t\t<p>- занято</p>
  341. \t\t\t\t\t</li>
  342. \t\t\t\t\t<li class=\"is-flex level\">
  343. \t\t\t\t\t\t<div class=\"cell free\"></div>
  344. \t\t\t\t\t\t<p>- свободно</p>
  345. \t\t\t\t\t</li>
  346. \t\t\t\t\t<li class=\"is-flex level\">
  347. \t\t\t\t\t\t<div class=\"cell selected\"></div>
  348. \t\t\t\t\t\t<p>- выбрано Вами</p>
  349. \t\t\t\t\t</li>
  350. \t\t\t\t</ul>
  351. \t\t\t\t<div class=\"information-data\">
  352. \t\t\t\t\t<div class=\"heading is-flex level\">
  353. \t\t\t\t\t\t<img src=\"{{ asset('assets/images/icons/girl-in-pose.svg') }}\">
  354. \t\t\t\t\t\t<p>Активация услуги
  355. \t\t\t\t\t\t\t<span class=\"colored\">ТОП-девушка</span>
  356. \t\t\t\t\t\t\tдля анкеты:<span class=\"model\">{Name}</span>
  357. \t\t\t\t\t\t</p>
  358. \t\t\t\t\t</div>
  359. \t\t\t\t\t<div class=\"empty\">
  360. \t\t\t\t\t\t<p>Выберите свободную ячейку</p>
  361. \t\t\t\t\t</div>
  362. \t\t\t\t\t<div class=\"data\">
  363. \t\t\t\t\t\t<p>Выбранное время:
  364. \t\t\t\t\t\t\t<span class=\"select-time\">0 часов</span>
  365. \t\t\t\t\t\t</p>
  366. \t\t\t\t\t\t<ul class=\"time-list\">
  367. \t\t\t\t\t\t</ul>
  368. \t\t\t\t\t</div>
  369. \t\t\t\t\t<div class=\"footer is-flex level\">
  370. \t\t\t\t\t\t<p>Итого к оплате: <span class=\"price\">0</span> <span class=\"currency\">Р</span></p>
  371. \t\t\t\t\t\t<button class=\"purchase btn btn-fill-red-style\">оплатить</button>
  372. \t\t\t\t\t</div>
  373. \t\t\t\t</div>
  374. \t\t\t</div>
  375. \t\t</div>
  376. \t</div>
  377. </div>#}
  378. {# Кроп аватара #}
  379. {% if is_granted('ROLE_USER') and view == 'account' %}
  380. <div class=\"modal modal-crop\" id=\"modal-crop\">
  381. \t<div class=\"modal-background\"></div>
  382. \t<div class=\"progress\" style=\"display: none\">
  383. \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>
  384. \t</div>
  385. \t<div class=\"alert\" role=\"alert\"></div>
  386. \t<div class=\"modal-dialog\">
  387. \t\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  388. \t\t\t<header class=\"modal-card-head\">
  389. \t\t\t\t<h5 class=\"border-line\" id=\"modal-label\">Загрузить аватар</h5>
  390. \t\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" id=\"cancel_crop\"><svg class=\"icon\" width=\"30\" height=\"30\">
  391. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
  392. \t\t\t\t</svg></button>
  393. \t\t\t</header>
  394. \t\t\t<div class=\"modal-card-body\">
  395. \t\t\t\t<div class=\"img-container\">
  396. \t\t\t\t\t<img id=\"image\" src=\"\">
  397. \t\t\t\t\t<button type=\"button\" class=\"btn cropper-rotate\" aria-label=\"rotate\" id=\"modal-button-rotate\">
  398. \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>
  399. \t\t\t\t\t</button>
  400. \t\t\t\t</div>
  401. \t\t\t</div>
  402. \t\t\t<div class=\"modal-card-footer\">
  403. \t\t\t\t<button type=\"button\" class=\"btn btn-danger\" id=\"crop\">
  404. \t\t\t\t\t<span>Далее</span>
  405. \t\t\t\t</button>
  406. \t\t\t</div>
  407. \t\t</div>
  408. \t</div>
  409. </div>
  410. {% endif %}
  411. {# Лайтбокс с текстом об успехе+ #}
  412. <div class=\"modal modal-error modal-success\" id=\"modal-success-box\">
  413. \t<div class=\"modal-background\"></div>
  414. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  415. \t\t<header class=\"modal-card-head\">
  416. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  417. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
  418. \t\t\t\t</svg></button>
  419. \t\t</header>
  420. \t\t<div class=\"modal-card-body\">
  421. \t\t\t<div class=\"icon check-circle\">
  422. \t\t\t\t<svg>
  423. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-check-circle\"></use>
  424. \t\t\t\t</svg>
  425. \t\t\t</div>
  426. \t\t\t<div class=\"title\" data-to-title>Действие было упешно выполнено.</div>
  427. \t\t\t<div class=\"desc\" data-to-desc>Какое-то действие было выполнено.</div>
  428. \t\t</div>
  429. \t\t<div class=\"modal-card-footer\">
  430. \t\t\t<button type=\"button\" class=\"btn\">
  431. \t\t\t\t<span>Ок</span>
  432. \t\t\t</button>
  433. \t\t</div>
  434. \t</div>
  435. </div>
  436. {# Лайтбокс с текстом о том что функционал в разработке+ #}
  437. {% if is_granted('ROLE_USER') %}
  438. <div class=\"modal modal-error modal-dev-in-progress\" id=\"dev-in-progress\">
  439. \t<div class=\"modal-background\"></div>
  440. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  441. \t\t<header class=\"modal-card-head\">
  442. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  443. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
  444. \t\t\t\t</svg></button>
  445. \t\t</header>
  446. \t\t<div class=\"modal-card-body\">
  447. \t\t\t<div class=\"icon\">
  448. \t\t\t\t<svg>
  449. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-stop\"></use>
  450. \t\t\t\t</svg>
  451. \t\t\t</div>
  452. \t\t\t<div class=\"title\" data-to-title>Функционал временно не работает</div>
  453. \t\t\t<div class=\"desc\" data-to-desc>Мы работаем над его улучшением.</div>
  454. \t\t</div>
  455. \t\t<div class=\"modal-card-footer\">
  456. \t\t\t<button type=\"button\" class=\"btn\">
  457. \t\t\t\t<span>Ок</span>
  458. \t\t\t</button>
  459. \t\t</div>
  460. \t</div>
  461. </div>
  462. {# Лайтбокс с требованием залогинится+
  463. <div class=\"modal modal-error modal-authorize\" id=\"modal-authorize-box\">
  464. \t<div class=\"modal-background\"></div>
  465. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  466. \t\t<header class=\"modal-card-head\">
  467. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  468. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
  469. \t\t\t\t</svg></button>
  470. \t\t</header>
  471. \t\t<div class=\"modal-card-body\">
  472. \t\t\t<div class=\"icon check-circle\">
  473. \t\t\t\t<svg>
  474. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-user-red\"></use>
  475. \t\t\t\t</svg>
  476. \t\t\t</div>
  477. \t\t\t<div class=\"title\" data-to-title>
  478. \t\t\t\tВойдите в личный кабинет.
  479. \t\t\t</div>
  480. \t\t\t<div class=\"desc\" data-to-desc>
  481. \t\t\t\tДанная функция доступна только для зарегистрированных пользователей.
  482. \t\t\t</div>
  483. \t\t</div>
  484. \t\t<div class=\"modal-card-footer\">
  485. \t\t\t<a href=\"/login\" class=\"btn btn-dark\">
  486. \t\t\t\tВойти
  487. \t\t\t</a>
  488. \t\t\t<a href=\"/signup\" class=\"btn btn-danger\">
  489. \t\t\t\tЗарегистрироваться
  490. \t\t\t</a>
  491. \t\t</div>
  492. \t</div>
  493. </div>#}
  494. <div class=\"modal modal-error modal-alert\" id=\"modal-alert-box\">
  495. \t<div class=\"modal-background\"></div>
  496. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  497. \t\t<header class=\"modal-card-head\">
  498. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  499. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
  500. \t\t\t\t</svg></button>
  501. \t\t</header>
  502. \t\t<div class=\"modal-card-body\">
  503. \t\t\t<div class=\"icon check-circle\">
  504. \t\t\t\t<svg>
  505. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-stop\"></use>
  506. \t\t\t\t</svg>
  507. \t\t\t</div>
  508. \t\t\t<div class=\"title\" data-to-title>Удалить фотографию?</div>
  509. \t\t\t<div class=\"desc\" data-to-desc>Данная функция доступна только для зарегистрированных пользователей.</div>
  510. \t\t</div>
  511. \t\t<div class=\"modal-card-footer\">
  512. \t\t\t<button type=\"button\" class=\"btn\" data-type=\"reject\">Отмена</button>
  513. \t\t\t<button type=\"button\" class=\"btn\" data-type=\"approved\">ОК</button>
  514. \t\t</div>
  515. \t</div>
  516. </div>
  517. {# Лайтбокс с предупреждением #}
  518. \t<div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-warning-box\">
  519. \t\t<div class=\"modal-background\"></div>
  520. \t\t<div class=\"modal-dialog modal-dialog-centered\">
  521. \t\t\t<div class=\"modal-content\">
  522. \t\t\t\t<div class=\"modal-body text-center\">
  523. \t\t\t\t\t<div class=\"icon check-circle\">
  524. \t\t\t\t\t\t<svg>
  525. \t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-stop\"></use>
  526. \t\t\t\t\t\t</svg>
  527. \t\t\t\t\t</div>
  528. \t\t\t\t\t<p class=\"m-0\">Удалить?</p>
  529. \t\t\t\t</div>
  530. \t\t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
  531. \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>
  532. \t\t\t\t\t\t<span>Отмена</span>
  533. \t\t\t\t\t</button>
  534. \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\">
  535. \t\t\t\t\t\t<span>Да</span>
  536. \t\t\t\t\t</button>
  537. \t\t\t\t</div>
  538. \t\t\t</div>
  539. \t\t</div>
  540. \t</div>
  541. {% endif %}
  542. {# Выбор метро+ #}
  543. <div class=\"modal modal-list\" id=\"modal-metro-list\">
  544. \t<div class=\"modal-background\"></div>
  545. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  546. \t\t<header class=\"modal-card-head\">
  547. \t\t\t<h5 class=\"modal-card-title\">Выберите станцию метро</h5>
  548. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\" data-type=\"close\">
  549. \t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
  550. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
  551. \t\t\t\t</svg>
  552. \t\t\t</button>
  553. \t\t</header>
  554. \t\t<div class=\"modal-card-body\">
  555. \t\t\t<ul class=\"wrap\">
  556. \t\t\t\t{{ knp_menu_render('city_stations', {'template': '_menu/city_stations.html.twig'}) }}
  557. \t\t\t</ul>
  558. \t\t</div>
  559. \t</div>
  560. </div>
  561. {# Лайтбокс с текстом об ошибке+ #}
  562. <div class=\"modal modal-warning modal-warning-box fade\" id=\"modal-error-box\">
  563. \t<div class=\"modal-background\"></div>
  564. \t<div class=\"modal-dialog modal-dialog-centered\">
  565. \t\t<div class=\"modal-content\">
  566. \t\t\t<div class=\"modal-body text-center\">
  567. \t\t\t\t<div class=\"icon check-circle\">
  568. \t\t\t\t\t<svg>
  569. \t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-alert\"></use>
  570. \t\t\t\t\t</svg>
  571. \t\t\t\t</div>
  572. \t\t\t\t<div class=\"title\" data-to-title>
  573. \t\t\t\t</div>
  574. \t\t\t\t<div class=\"desc\" data-to-desc>
  575. \t\t\t\t</div>
  576. \t\t\t</div>
  577. \t\t\t<div class=\"modal-footer d-flex justify-content-center btn-width\">
  578. \t\t\t\t<button type=\"button\" class=\"btn is-flex level btn-danger mx-1\" id=\"modal-error-box-agree\" data-type=\"close\">
  579. \t\t\t\t\t<span>Ок</span>
  580. \t\t\t\t</button>
  581. \t\t\t</div>
  582. \t\t</div>
  583. \t</div>
  584. </div>
  585. {# <div class=\"modal modal-error modal-error-box\" id=\"modal-error-box\">
  586. \t<div class=\"modal-background\"></div>
  587. \t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  588. \t\t<header class=\"modal-card-head\">
  589. \t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\"><svg class=\"icon\" width=\"30\" height=\"30\">
  590. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}icon-close\"></use>
  591. \t\t\t\t</svg></button>
  592. \t\t</header>
  593. \t\t<div class=\"modal-card-body\">
  594. \t\t\t<div class=\"icon alert\">
  595. \t\t\t\t<svg>
  596. \t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-alert\"></use>
  597. \t\t\t\t</svg>
  598. \t\t\t</div>
  599. \t\t\t<div class=\"title\" data-to-title>
  600. \t\t\t</div>
  601. \t\t\t<div class=\"desc\" data-to-desc>
  602. \t\t\t</div>
  603. \t\t</div>
  604. \t\t<div class=\"modal-card-footer\">
  605. \t\t\t<button type=\"button\" class=\"btn\">
  606. \t\t\t\t<span>Ок</span>
  607. \t\t\t</button>
  608. \t\t</div>
  609. \t</div>
  610. </div> #}
  611. {#
  612. {% if not is_granted('ROLE_USER') %}
  613. \t<div class=\"modal modal-login-box\" id=\"modal-login-box\">
  614. \t\t<div class=\"modal-background\"></div>
  615. \t\t<div class=\"modal-card fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"modal-label\" aria-hidden=\"true\">
  616. \t\t\t<header class=\"modal-card-head\">
  617. \t\t\t\t<button type=\"button\" class=\"btn close\" aria-label=\"close\">
  618. \t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
  619. \t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-close\"></use>
  620. \t\t\t\t\t</svg>
  621. \t\t\t\t</button>
  622. \t\t\t</header>
  623. \t\t\t<div class=\"modal-card-body\">
  624. \t\t\t\t<div class=\"wrap\">
  625. \t\t\t\t\t<div class=\"block-authorize\">
  626. \t\t\t\t\t\t<p class=\"title border-line\">Авторизация</p>
  627. \t\t\t\t\t\t<!--noindex-->
  628. \t\t\t\t\t\t<form class=\"login-form\" action=\"{{ path('login') }}\" method=\"POST\" novalidate>
  629. \t\t\t\t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  630. \t\t\t\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"signin\">
  631. \t\t\t\t\t\t\t<div class=\"form-group\">
  632. \t\t\t\t\t\t\t\t<label for=\"email\">{% trans with {} from 'forms' %}E-mail{% endtrans %}:</label>
  633. \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\">
  634. \t\t\t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter email.</div>
  635. \t\t\t\t\t\t\t</div>
  636. \t\t\t\t\t\t\t<div class=\"form-group\">
  637. \t\t\t\t\t\t\t\t<label for=\"password\">{% trans with {} from 'forms' %}Пароль{% endtrans %}:</label>
  638. \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\">
  639. \t\t\t\t\t\t\t\t<div class=\"invalid-feedback\">Please enter email.</div>
  640. \t\t\t\t\t\t\t</div>
  641. \t\t\t\t\t\t\t<a href=\"{{ path('receive_password') }}\">{% trans with {} from 'basic' %}Восстановить пароль{% endtrans %}</a>
  642. \t\t\t\t\t\t\t<button type=\"submit\" class=\"btn login btn-danger btn-block\">
  643. \t\t\t\t\t\t\t\t<span>Войти в кабинет</span>
  644. \t\t\t\t\t\t\t</button>
  645. \t\t\t\t\t\t</form>
  646. \t\t\t\t\t\t<!--/noindex-->
  647. \t\t\t\t\t</div>
  648. \t\t\t\t\t<div class=\"block-registration\">
  649. \t\t\t\t\t\t<p class=\"title border-line\">Регистрация</p>
  650. \t\t\t\t\t\t<p class=\"desc\">Быстро и удобно с любого устройства!</p>
  651. \t\t\t\t\t\t<ul>
  652. \t\t\t\t\t\t\t<li class=\"d-flex\">
  653. \t\t\t\t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
  654. \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>
  655. \t\t\t\t\t\t\t\t</svg>
  656. \t\t\t\t\t\t\t\t<span>Бесплатная регистрация и размещение анкет</span></li>
  657. \t\t\t\t\t\t\t<li class=\"d-flex\">
  658. \t\t\t\t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
  659. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-gold\"></use>
  660. \t\t\t\t\t\t\t\t</svg>
  661. \t\t\t\t\t\t\t\t<span>Используйте супер тарифы <span class=\"gold\">GOLD</span> и <span class=\"silver\">SILVER</span> и получайте клиентов прямо сейчас</span></li>
  662. \t\t\t\t\t\t\t<li class=\"search d-flex\">
  663. \t\t\t\t\t\t\t\t<svg class=\"icon\" width=\"30\" height=\"30\">
  664. \t\t\t\t\t\t\t\t\t<use xlink:href=\"{{ asset('assets_domain/images/icons/svg-library.svg', 'nodomainConfig') }}#icon-search\"></use>
  665. \t\t\t\t\t\t\t\t</svg>
  666. \t\t\t\t\t\t\t\t<span>Удобный поиск по множествам параметров и фильтров</span>
  667. \t\t\t\t\t\t\t</li>
  668. \t\t\t\t\t\t</ul>
  669. \t\t\t\t\t\t<a href=\"{{ path('register', {'city': city.uriIdentity}) }}\" class=\"btn is-flex level registation btn-danger btn-block\">
  670. \t\t\t\t\t\t\t<span>Зарегистрироваться</span>
  671. \t\t\t\t\t\t</a>
  672. \t\t\t\t\t</div>
  673. \t\t\t\t</div>
  674. \t\t\t</div>
  675. \t\t</div>
  676. \t</div>
  677. {% endif %}
  678. #}
  679. ""components/modals.html.twig""/app/templates/components/modals.html.twig");
  680.     }
  681. }