<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* @UVDeskCoreFramework//Templates//layout.html.twig */
class __TwigTemplate_f80858f3a8ea7b9baf18500b7bd59f63 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'templateCSS' => [$this, 'block_templateCSS'],
'sidebar' => [$this, 'block_sidebar'],
'pageWrapper' => [$this, 'block_pageWrapper'],
'pageHeader' => [$this, 'block_pageHeader'],
'pageContent' => [$this, 'block_pageContent'],
'footer' => [$this, 'block_footer'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@UVDeskCoreFramework//Templates//layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@UVDeskCoreFramework//Templates//layout.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html>
<head>
<title>";
// line 4
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
<link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"";
// line 5
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
yield "\" />
<!-- Stylesheets -->
<link href=\"";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_uikit.css"), "html", null, true);
yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link href=\"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_custom.css"), "html", null, true);
yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.15.4/css/all.css\" integrity=\"sha384-DyZ88mC6Up2uqS4h/6nTrv0KXzKr4C2hE3IHRVbwbOLdxoqWcTIm9RIndh4bIr84\" crossorigin=\"anonymous\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" integrity=\"sha512-...\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" rel=\"stylesheet\">
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
<!-- Custom CSS -->
";
// line 17
$context["websiteConfiguration"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["user_service"]) || array_key_exists("user_service", $context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.', 17, $this->source); })()), "getWebsiteConfiguration", ["knowledgebase"], "method", false, false, false, 17);
// line 18
yield " ";
$context["website"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["user_service"]) || array_key_exists("user_service", $context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.', 18, $this->source); })()), "getWebsiteDetails", ["helpdesk"], "method", false, false, false, 18);
// line 19
yield "
";
// line 20
yield Twig\Extension\CoreExtension::include($this->env, $context, "@UVDeskCoreFramework/Templates/lightskin.html.twig");
yield "
<!-- Custom Stylesheets -->
";
// line 23
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles", $context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.', 23, $this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method", false, false, false, 23), "getDashboardTemplate", [], "method", false, false, false, 23), "getStylesheetResources", [], "method", false, false, false, 23));
foreach ($context['_seq'] as $context["_key"] => $context["stylesheet"]) {
// line 24
yield " <link href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["stylesheet"]), "html", null, true);
yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['stylesheet'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 26
yield "
";
// line 27
yield from $this->unwrap()->yieldBlock('templateCSS', $context, $blocks);
// line 28
yield "
<!-- Scripts -->
<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
<script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.min.js\"></script>
<script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
<script src=\"";
// line 37
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_dropdown.js"), "html", null, true);
yield "\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
<script src=\"";
// line 39
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/viewer.js"), "html", null, true);
yield "\"></script>
<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
</head>
<body>
<div class=\"uv-notifications-wrapper\">
<noscript>
<div class=\"uv-notification page-load uv-error\">
<p>";
// line 49
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Your browser does not support JavaScript or You disabled JavaScript, Please enable those !", [], "messages");
yield "</p>
</div>
<style>.uv-loader-view {display: none;}</style>
</noscript>
";
// line 54
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["uvdesk_service"]) || array_key_exists("uvdesk_service", $context) ? $context["uvdesk_service"] : (function () { throw new RuntimeError('Variable "uvdesk_service" does not exist.', 54, $this->source); })()), "requestHeadersSent", [], "method", false, false, false, 54) == false)) {
// line 55
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "session", [], "any", false, false, false, 55), "flashbag", [], "any", false, false, false, 55), "get", ["success"], "method", false, false, false, 55));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 56
yield " <div class=\"uv-notification page-load uv-success\">
<span class=\"uv-notification-close\"></span>
<p>";
// line 58
yield $context["flashMessage"];
yield "</p>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
yield "
";
// line 62
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 62, $this->source); })()), "session", [], "any", false, false, false, 62), "flashbag", [], "any", false, false, false, 62), "get", ["warning"], "method", false, false, false, 62));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 63
yield " <div class=\"uv-notification page-load uv-error\">
<span class=\"uv-notification-close\"></span>
<p>";
// line 65
yield $context["flashMessage"];
yield "</p>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 68
yield " ";
}
// line 69
yield " </div>
<div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>";
// line 74
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html", null, true);
yield "</h2>
<p>";
// line 75
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html", null, true);
yield "</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html", null, true);
yield "</a>
<a href=\"#\" class=\"uv-btn cancel\">";
// line 79
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html", null, true);
yield "</a>
</div>
</div>
</div>
";
// line 84
$context["currentUser"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["user_service"]) || array_key_exists("user_service", $context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.', 84, $this->source); })()), "getSessionUser", [], "method", false, false, false, 84);
// line 85
yield " ";
if (( !Twig\Extension\CoreExtension::testEmpty((isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 85, $this->source); })())) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 85, $this->source); })()), "getAgentInstance", [], "method", false, false, false, 85)))) {
// line 86
yield " ";
$context["currentUserDetails"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 86, $this->source); })()), "getAgentInstance", [], "method", false, false, false, 86), "getPartialDetails", [], "method", false, false, false, 86);
// line 87
yield " ";
}
// line 88
yield "
";
// line 89
yield from $this->unwrap()->yieldBlock('sidebar', $context, $blocks);
// line 94
yield "
";
// line 95
yield from $this->unwrap()->yieldBlock('pageWrapper', $context, $blocks);
// line 108
yield "
";
// line 109
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 163
yield "
";
// line 165
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles", $context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.', 165, $this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method", false, false, false, 165), "getDashboardTemplate", [], "method", false, false, false, 165), "getJavascriptResources", [], "method", false, false, false, 165));
foreach ($context['_seq'] as $context["_key"] => $context["javascript"]) {
// line 166
yield " <script src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["javascript"]), "html", null, true);
yield "\" type=\"text/javascript\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['javascript'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 168
yield " </body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "HelpDesk";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 27
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_templateCSS(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "templateCSS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "templateCSS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 89
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_sidebar(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
// line 90
yield " ";
if ((array_key_exists("currentUser", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 90, $this->source); })())))) {
// line 91
yield " ";
yield from $this->loadTemplate("@UVDeskCoreFramework/Templates/sidebar.html.twig", "@UVDeskCoreFramework//Templates//layout.html.twig", 91)->unwrap()->yield($context);
// line 92
yield " ";
}
// line 93
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 95
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_pageWrapper(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageWrapper"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageWrapper"));
// line 96
yield " <div class=\"uv-paper\">
";
// line 97
yield from $this->unwrap()->yieldBlock('pageHeader', $context, $blocks);
// line 100
yield "
<div class=\"uv-wrapper\">
<div class=\"uv-container\">
";
// line 103
yield from $this->unwrap()->yieldBlock('pageContent', $context, $blocks);
// line 104
yield " </div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 97
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_pageHeader(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageHeader"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageHeader"));
// line 98
yield " ";
yield from $this->loadTemplate("@UVDeskCoreFramework/Templates/header.html.twig", "@UVDeskCoreFramework//Templates//layout.html.twig", 98)->unwrap()->yield($context);
// line 99
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 103
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_pageContent(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageContent"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageContent"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 109
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 110
yield " <script src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_common.js"), "html", null, true);
yield "\"></script>
";
// line 111
yield from $this->loadTemplate("@UVDeskCoreFramework/Templates/pagination.html.twig", "@UVDeskCoreFramework//Templates//layout.html.twig", 111)->unwrap()->yield($context);
// line 112
yield "
";
// line 114
yield " <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html", null, true);
yield "</h2>
<p>";
// line 118
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html", null, true);
yield "</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
// line 121
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html", null, true);
yield "</a>
<a href=\"#\" class=\"uv-btn cancel\">";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html", null, true);
yield "</a>
</div>
</div>
</div>
";
// line 128
yield " <script type=\"text/template\" id=\"loader-tmp\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</script>
";
// line 137
yield " <script type=\"text/template\" id=\"full-view-loader\">
<div class=\"uv-loader-view\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</div>
</script>
";
// line 148
yield " <script type=\"text/template\" id=\"notification-template\">
<div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
<span class=\"uv-notification-close\"></span>
<p><%= alertMessage %> </p>
</div>
</script>
<script type=\"text/javascript\">
var warningResponse = {
'alertClass' : 'danger',
'alertMessage' : '";
// line 158
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Error : Something went wrong, please try again later"), "html", null, true);
yield "',
};
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@UVDeskCoreFramework//Templates//layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 531 => 158, 519 => 148, 507 => 137, 497 => 128, 489 => 122, 485 => 121, 479 => 118, 475 => 117, 470 => 114, 467 => 112, 465 => 111, 460 => 110, 447 => 109, 425 => 103, 414 => 99, 411 => 98, 398 => 97, 384 => 104, 382 => 103, 377 => 100, 375 => 97, 372 => 96, 359 => 95, 348 => 93, 345 => 92, 342 => 91, 339 => 90, 326 => 89, 304 => 27, 281 => 4, 269 => 168, 260 => 166, 255 => 165, 252 => 163, 250 => 109, 247 => 108, 245 => 95, 242 => 94, 240 => 89, 237 => 88, 234 => 87, 231 => 86, 228 => 85, 226 => 84, 218 => 79, 214 => 78, 208 => 75, 204 => 74, 197 => 69, 194 => 68, 185 => 65, 181 => 63, 177 => 62, 174 => 61, 165 => 58, 161 => 56, 156 => 55, 154 => 54, 146 => 49, 133 => 39, 128 => 37, 117 => 28, 115 => 27, 112 => 26, 103 => 24, 99 => 23, 93 => 20, 90 => 19, 87 => 18, 85 => 17, 74 => 9, 70 => 8, 64 => 5, 60 => 4, 55 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html>
<head>
<title>{% block title %}HelpDesk{% endblock %}</title>
<link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"{{ asset('favicon.ico') }}\" />
<!-- Stylesheets -->
<link href=\"{{ asset('bundles/uvdeskcoreframework/css/_uikit.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link href=\"{{ asset('bundles/uvdeskcoreframework/css/_custom.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.15.4/css/all.css\" integrity=\"sha384-DyZ88mC6Up2uqS4h/6nTrv0KXzKr4C2hE3IHRVbwbOLdxoqWcTIm9RIndh4bIr84\" crossorigin=\"anonymous\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" integrity=\"sha512-...\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
<link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" rel=\"stylesheet\">
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
<!-- Custom CSS -->
{% set websiteConfiguration = user_service.getWebsiteConfiguration('knowledgebase') %}
{% set website = user_service.getWebsiteDetails('helpdesk') %}
{{ include('@UVDeskCoreFramework/Templates/lightskin.html.twig') }}
<!-- Custom Stylesheets -->
{% for stylesheet in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getStylesheetResources() %}
<link href=\"{{ asset(stylesheet) }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
{% endfor %}
{% block templateCSS %}{% endblock %}
<!-- Scripts -->
<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
<script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.min.js\"></script>
<script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
<script src=\"{{ asset('bundles/uvdeskcoreframework/js/_dropdown.js') }}\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
<script src=\"{{ asset('bundles/uvdeskcoreframework/js/viewer.js') }}\"></script>
<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
</head>
<body>
<div class=\"uv-notifications-wrapper\">
<noscript>
<div class=\"uv-notification page-load uv-error\">
<p>{% trans %}Your browser does not support JavaScript or You disabled JavaScript, Please enable those !{% endtrans %}</p>
</div>
<style>.uv-loader-view {display: none;}</style>
</noscript>
{% if uvdesk_service.requestHeadersSent() == false %}
{% for flashMessage in app.session.flashbag.get('success') %}
<div class=\"uv-notification page-load uv-success\">
<span class=\"uv-notification-close\"></span>
<p>{{ flashMessage|raw }}</p>
</div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('warning') %}
<div class=\"uv-notification page-load uv-error\">
<span class=\"uv-notification-close\"></span>
<p>{{ flashMessage|raw }}</p>
</div>
{% endfor %}
{% endif %}
</div>
<div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>{{ 'Confirm Action'|trans }}</h2>
<p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
<a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
</div>
</div>
</div>
{% set currentUser = user_service.getSessionUser() %}
{% if currentUser is not empty and currentUser.getAgentInstance() is not empty %}
{% set currentUserDetails = currentUser.getAgentInstance().getPartialDetails() %}
{% endif %}
{% block sidebar %}
{% if currentUser is defined and currentUser is not empty %}
{% include \"@UVDeskCoreFramework/Templates/sidebar.html.twig\" %}
{% endif %}
{% endblock %}
{% block pageWrapper %}
<div class=\"uv-paper\">
{% block pageHeader %}
{% include \"@UVDeskCoreFramework/Templates/header.html.twig\" %}
{% endblock %}
<div class=\"uv-wrapper\">
<div class=\"uv-container\">
{% block pageContent %}{% endblock %}
</div>
</div>
</div>
{% endblock %}
{% block footer %}
<script src=\"{{ asset('bundles/uvdeskcoreframework/js/_common.js') }}\"></script>
{% include \"@UVDeskCoreFramework/Templates/pagination.html.twig\" %}
{# Confirm Action Dialog #}
<div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>{{ 'Confirm Action'|trans }}</h2>
<p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
<a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
</div>
</div>
</div>
{# Loader Template #}
<script type=\"text/template\" id=\"loader-tmp\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</script>
{# Full View Loader Template #}
<script type=\"text/template\" id=\"full-view-loader\">
<div class=\"uv-loader-view\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</div>
</script>
{# Notification Template #}
<script type=\"text/template\" id=\"notification-template\">
<div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
<span class=\"uv-notification-close\"></span>
<p><%= alertMessage %> </p>
</div>
</script>
<script type=\"text/javascript\">
var warningResponse = {
'alertClass' : 'danger',
'alertMessage' : '{{ \"Error : Something went wrong, please try again later\"|trans }}',
};
</script>
{% endblock %}
{# Custom Javascript #}
{% for javascript in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getJavascriptResources() %}
<script src=\"{{ asset(javascript) }}\" type=\"text/javascript\"></script>
{% endfor %}
</body>
</html>", "@UVDeskCoreFramework//Templates//layout.html.twig", "/home/popeesdranzo/public_html/vendor/uvdesk/core-framework/Resources/views/Templates/layout.html.twig");
}
}