var/cache/dev/twig/b3/b34f8ac609a2af7d20062e35bdd91882.php line 51

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. /* @UVDeskCoreFramework//dashboard.html.twig */
  14. class __TwigTemplate_a8c866d3dc78b32d593e1efcbe67d38d 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->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'templateCSS' => [$this'block_templateCSS'],
  25.             'pageContent' => [$this'block_pageContent'],
  26.             'footer' => [$this'block_footer'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@UVDeskCoreFramework//Templates//layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework//dashboard.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework//dashboard.html.twig"));
  41.         $this->parent $this->loadTemplate("@UVDeskCoreFramework//Templates//layout.html.twig""@UVDeskCoreFramework//dashboard.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         echo "Dashboard";
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 5
  63.     public function block_templateCSS($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  70.         // line 6
  71.         echo "    <style>
  72. \t\t.uv-activity-wrapper {
  73. \t\t\tmargin-top: 60px;
  74. \t\t}
  75. \t\t.uv-activity-wrapper .uv-activity-chart-col-lt {
  76. \t\t\twidth: 80%;
  77. \t\t\tfloat: left;
  78. \t\t}
  79. \t\tul.uv-activity-brick-wrapper {
  80. \t\t\tlist-style: none;
  81. \t\t\tmargin: 0;
  82. \t\t\tpadding: 0;
  83. \t\t\twidth: 100%;
  84.     \t\tdisplay: inline-block;
  85. \t\t}
  86. \t\tul.uv-activity-brick-wrapper li {
  87. \t\t\twidth: 25%;
  88. \t\t\tdisplay: inline-block;
  89. \t\t\tfloat: left;
  90. \t\t\tpadding-left: 10px;
  91. \t\t\tpadding-right: 10px;
  92. \t\t\tcolor: #fff;
  93. \t\t}
  94. \t\tul.uv-activity-brick-wrapper .uv-activity-brick {
  95. \t\t\tborder-radius: 3px;
  96.     \t\tpadding: 10px;
  97. \t\t\ttext-align: center;
  98. \t\t}
  99. \t\tul.uv-activity-brick-wrapper li a {
  100. \t\t\tcolor: #fff;
  101. \t\t\tfont-size: 45px;
  102. \t\t\twidth: 100%;
  103.     \t\tdisplay: inline-block;
  104. \t\t}
  105. \t\tul.uv-activity-brick-wrapper li label {
  106. \t\t\tfont-size: 18px;
  107. \t\t\twidth: 100%;
  108.     \t\tdisplay: inline-block;
  109. \t\t}
  110. \t\t.uv-activity-chart-bottom-row .uv-pannel-body {
  111. \t\t\theight: 450px;
  112. \t\t}
  113. \t\t.kudos-overview {
  114. \t\t\twidth: 40%;
  115. \t\t\tfloat: left;
  116. \t\t\tpadding-right: 10px;
  117. \t\t}
  118. \t\t.recent-notification {
  119. \t\t\twidth: 30%;
  120. \t\t\tfloat: left;
  121. \t\t\tpadding-left: 10px;
  122. \t\t}
  123. \t\t.completion-chart {
  124. \t\t\twidth: 300px;
  125. \t\t\tmargin: 0 auto;
  126. \t\t}
  127. \t\t.progress-meter .background {
  128. \t\t\tfill: #EFEFEF;
  129. \t\t}
  130. \t\t.progress-meter text {
  131. \t\t\tfont-size: 30px;
  132. \t\t}
  133. \t\t.kudos-overview .uv-pannel-body {
  134. \t\t\ttext-align: center;
  135. \t\t\tpadding-top: 50px;
  136. \t\t}
  137. \t\t.kudos-overview .uv-pannel-body label {
  138. \t\t\tmargin-top: 10px;
  139.     \t\tdisplay: inline-block;
  140. \t\t}
  141. \t\t.recent-notification ul {
  142. \t\t\tlist-style: none;
  143. \t\t\tpadding: 0;
  144. \t\t\tmargin: 0;
  145. \t\t\toverflow-y: auto;
  146. \t\t\tmax-height: 400px !important;
  147. \t\t}
  148. \t\t.recent-notification .uv-pannel-body {
  149. \t\t\tpadding: 0;
  150. \t\t}
  151. \t\t.recent-notification ul li {
  152. \t\t\tcolor: #333333;
  153. \t\t\tborder-bottom: solid 1px #D3D3D3;
  154. \t\t\tpadding: 15px 20px;
  155. \t\t}
  156. \t\t.recent-notification ul li:first-child {
  157. \t\t\tborder-top: none;
  158. \t\t}
  159. \t\t.recent-notification ul li:last-child {
  160. \t\t\tborder-bottom: none;
  161. \t\t}
  162. \t\t.recent-notification ul li * {
  163. \t\t\tdisplay: inline-block !important;
  164. \t\t}
  165. \t\t.recent-notification ul li .timeago {
  166. \t\t\tcolor: #9E9E9E;
  167. \t\t\tmargin-top: 5px;
  168. \t\t\tfont-size: 13px;
  169. \t\t}
  170. \t\t.recent-notification label {
  171. \t\t\ttext-align: center;
  172. \t\t\tdisplay: inline-block;
  173. \t\t\twidth: 100%;
  174. \t\t\tpadding-top: 15px;
  175. \t\t\tborder-top: 1px solid #d3d3d3;
  176. \t\t}
  177. \t\t.recent-notification span.uv-notification-message {
  178. \t\t\tfloat: left;
  179. \t\t\twidth: 100%;
  180. \t\t}
  181. \t\t.kudos-count {
  182. \t\t\twidth: 30%;
  183. \t\t\tfloat: left;
  184. \t\t\tpadding-right: 10px;
  185. \t\t\tpadding-left: 10px;
  186. \t\t}
  187. \t\t.kudos-count .uv-pannel-body {
  188. \t\t\tpadding-top: 50px;
  189. \t\t\toverflow-y: auto;
  190. \t\t}
  191. \t\t.kudos-count ul {
  192. \t\t\tlist-style: none;
  193. \t\t\tpadding: 0;
  194. \t\t\tmargin: 0;
  195. \t\t}
  196. \t\t.kudos-count ul li {
  197. \t\t\twidth: 100%;
  198. \t\t\tdisplay: inline-block;
  199. \t\t\tpadding: 15px 0;
  200. \t\t}
  201. \t\t.kudos-count ul li .uv-icon-kudos  {
  202. \t\t\tvertical-align: middle;
  203. \t\t\tmargin-right: 10px;
  204. \t\t}
  205. \t\t.uv-activity-wrapper .uv-activity-chart-col-rt {
  206. \t\t\twidth: 20%;
  207. \t\t\tfloat: left;
  208. \t\t}
  209. \t\t.uv-activity-chart-col-rt ul {
  210. \t\t\tpadding: 0;
  211. \t\t\tmargin: 0;
  212. \t\t\tlist-style: none;
  213. \t\t}
  214. \t\t.uv-activity-chart-col-rt ul li {
  215. \t\t\tmargin-bottom: 10px
  216. \t\t}
  217. \t\t.uv-activity-chart-col-rt ul li span {
  218. \t\t\twidth: 100%;
  219. \t\t\tdisplay: inline-block;
  220. \t\t\tcolor: #6f6f6f;
  221. \t\t}
  222. \t\t.uv-middle {
  223. \t\t\tmargin: 0 auto;
  224. \t\t\tdisplay: inline-block;
  225. \t\t\tmargin-top: 200px;
  226. \t\t\ttext-align: center;
  227. \t\t\twidth: 100%;
  228. \t\t}
  229. \t\t@media screen and (max-width: 1024px) {
  230. \t\t\t.uv-activity-wrapper .uv-activity-chart-col-lt {
  231. \t\t\t\twidth: 100%;
  232. \t\t\t\tpadding: 0;
  233. \t\t\t}
  234. \t\t\t.uv-activity-wrapper .uv-activity-chart-col-rt {
  235. \t\t\t\twidth: 100%;
  236. \t\t\t}
  237. \t\t\t.kudos-overview {
  238. \t\t\t\twidth: 100%;
  239. \t\t\t\tpadding: 0;
  240. \t\t\t}
  241. \t\t\t.kudos-count {
  242. \t\t\t\twidth: 100%;
  243. \t\t\t\tpadding: 0;
  244. \t\t\t}
  245. \t\t\t.recent-notification {
  246. \t\t\t\twidth: 100%;
  247. \t\t\t\tpadding: 0;
  248. \t\t\t}
  249. \t\t\tul.uv-activity-brick-wrapper li {
  250. \t\t\t\twidth: 50%;
  251. \t\t\t\tmargin: 10px 0;
  252. \t\t\t}
  253. \t\t}
  254. \t\t@media screen and (max-width: 768px) {
  255. \t\t\tul.uv-activity-brick-wrapper li {
  256. \t\t\t\twidth: 100%;
  257. \t\t\t}
  258. \t\t}
  259. \t\t@media screen and (max-width: 467px) {
  260. \t\t\t.completion-chart {
  261. \t\t\t\twidth: 100%;
  262. \t\t\t}
  263. \t\t}
  264. \t\tspan.uv-notification-message a:link, span.uv-notification-message a:visited, label a:link, label a:visited {
  265. \t\t\tcolor: #2750C4;
  266. \t\t\tfont-size: 15px;
  267. \t\t}
  268. \t\t.uv-mob-aside {
  269. \t\t\tdisplay: none;
  270. \t\t}
  271. \t\t#btndisclaimer {
  272.   \t\t\tposition: fixed;
  273.   \t\t\tright: 25px;
  274.   \t\t\tbottom: 10px;
  275. \t\t\tbackground: url(\"\");
  276. \t\t}
  277. \t</style>
  278. ";
  279.         
  280.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  281.         
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  283.     }
  284.     // line 215
  285.     public function block_pageContent($context, array $blocks = [])
  286.     {
  287.         $macros $this->macros;
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  292.         // line 216
  293.         echo "    <div class=\"uv-area\">
  294.         ";
  295.         // line 217
  296.         echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($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.'217$this->source); })()), "getRegisteredComponent", [=> "Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method"falsefalsefalse217), "getHomepageTemplate", [], "method"falsefalsefalse217), "render", [], "method"falsefalsefalse217);
  297.         echo "
  298.         <div class=\"uv-copyright\">
  299.             <p style=\"margin: unset; font-size: 14px; line-height: 1.4em;\">";
  300.         // line 220
  301.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Powered by"), "html"nulltrue);
  302.         echo " <a href=\"https://www.uvdesk.com\" target=\"_blank\">Uvdesk</a></p>
  303. \t\t\t<p style=\"color: #5a5a5a; margin: unset; font-size: 12px; line-height: 1.4em;\">Version ";
  304.         // line 221
  305.         echo twig_escape_filter($this->env, (isset($context["uvdesk_version"]) || array_key_exists("uvdesk_version"$context) ? $context["uvdesk_version"] : (function () { throw new RuntimeError('Variable "uvdesk_version" does not exist.'221$this->source); })()), "html"nulltrue);
  306.         echo "; Core Version ";
  307.         echo twig_escape_filter($this->env, (isset($context["uvdesk_core_version"]) || array_key_exists("uvdesk_core_version"$context) ? $context["uvdesk_core_version"] : (function () { throw new RuntimeError('Variable "uvdesk_core_version" does not exist.'221$this->source); })()), "html"nulltrue);
  308.         echo "</p>
  309.         </div>
  310. \t\t<div class=\"col-xs-6 col-sm-6 col-md-6 col-lg-6\">
  311.     \t\t<button type=\"submit\" class=\"btn btn-primary btn-md\" id=\"btndisclaimer\" title=";
  312.         // line 225
  313.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("clear cache"), "html"nulltrue);
  314.         echo "><img src=\"https://api.iconify.design/mdi:delete-restore.svg?height=24\" aria-hidden=\"true\"></button>
  315.   \t\t</div>
  316.     </div>
  317. <script>
  318. \t\$('#btndisclaimer').click(function(e){
  319.     \t\$.ajax({
  320.         \turl : \"";
  321.         // line 233
  322.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_cache_clear");
  323.         echo "\",
  324.         \tmethod: 'POST',
  325.         \tdata: \"\",
  326.         \tsuccess : function(response) {
  327. \t\t\t\tapp.appView.renderResponseAlert(response);
  328.         \t},
  329.         \terror: function (xhr) {
  330.             \tapp.appView.renderResponseAlert(xhr);
  331.         \t}
  332.     \t});
  333.     });
  334. </script>
  335. ";
  336.         
  337.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  338.         
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  340.     }
  341.     // line 247
  342.     public function block_footer($context, array $blocks = [])
  343.     {
  344.         $macros $this->macros;
  345.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  346.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  347.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  349.         // line 248
  350.         echo "    ";
  351.         $this->displayParentBlock("footer"$context$blocks);
  352.         echo "
  353. ";
  354.         
  355.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  356.         
  357.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  358.     }
  359.     public function getTemplateName()
  360.     {
  361.         return "@UVDeskCoreFramework//dashboard.html.twig";
  362.     }
  363.     public function isTraitable()
  364.     {
  365.         return false;
  366.     }
  367.     public function getDebugInfo()
  368.     {
  369.         return array (  383 => 248,  373 => 247,  350 => 233,  339 => 225,  330 => 221,  326 => 220,  320 => 217,  317 => 216,  307 => 215,  90 => 6,  80 => 5,  61 => 3,  38 => 1,);
  370.     }
  371.     public function getSourceContext()
  372.     {
  373.         return new Source("{% extends \"@UVDeskCoreFramework//Templates//layout.html.twig\" %}
  374. {% block title %}Dashboard{% endblock %}
  375. {% block templateCSS %}
  376.     <style>
  377. \t\t.uv-activity-wrapper {
  378. \t\t\tmargin-top: 60px;
  379. \t\t}
  380. \t\t.uv-activity-wrapper .uv-activity-chart-col-lt {
  381. \t\t\twidth: 80%;
  382. \t\t\tfloat: left;
  383. \t\t}
  384. \t\tul.uv-activity-brick-wrapper {
  385. \t\t\tlist-style: none;
  386. \t\t\tmargin: 0;
  387. \t\t\tpadding: 0;
  388. \t\t\twidth: 100%;
  389.     \t\tdisplay: inline-block;
  390. \t\t}
  391. \t\tul.uv-activity-brick-wrapper li {
  392. \t\t\twidth: 25%;
  393. \t\t\tdisplay: inline-block;
  394. \t\t\tfloat: left;
  395. \t\t\tpadding-left: 10px;
  396. \t\t\tpadding-right: 10px;
  397. \t\t\tcolor: #fff;
  398. \t\t}
  399. \t\tul.uv-activity-brick-wrapper .uv-activity-brick {
  400. \t\t\tborder-radius: 3px;
  401.     \t\tpadding: 10px;
  402. \t\t\ttext-align: center;
  403. \t\t}
  404. \t\tul.uv-activity-brick-wrapper li a {
  405. \t\t\tcolor: #fff;
  406. \t\t\tfont-size: 45px;
  407. \t\t\twidth: 100%;
  408.     \t\tdisplay: inline-block;
  409. \t\t}
  410. \t\tul.uv-activity-brick-wrapper li label {
  411. \t\t\tfont-size: 18px;
  412. \t\t\twidth: 100%;
  413.     \t\tdisplay: inline-block;
  414. \t\t}
  415. \t\t.uv-activity-chart-bottom-row .uv-pannel-body {
  416. \t\t\theight: 450px;
  417. \t\t}
  418. \t\t.kudos-overview {
  419. \t\t\twidth: 40%;
  420. \t\t\tfloat: left;
  421. \t\t\tpadding-right: 10px;
  422. \t\t}
  423. \t\t.recent-notification {
  424. \t\t\twidth: 30%;
  425. \t\t\tfloat: left;
  426. \t\t\tpadding-left: 10px;
  427. \t\t}
  428. \t\t.completion-chart {
  429. \t\t\twidth: 300px;
  430. \t\t\tmargin: 0 auto;
  431. \t\t}
  432. \t\t.progress-meter .background {
  433. \t\t\tfill: #EFEFEF;
  434. \t\t}
  435. \t\t.progress-meter text {
  436. \t\t\tfont-size: 30px;
  437. \t\t}
  438. \t\t.kudos-overview .uv-pannel-body {
  439. \t\t\ttext-align: center;
  440. \t\t\tpadding-top: 50px;
  441. \t\t}
  442. \t\t.kudos-overview .uv-pannel-body label {
  443. \t\t\tmargin-top: 10px;
  444.     \t\tdisplay: inline-block;
  445. \t\t}
  446. \t\t.recent-notification ul {
  447. \t\t\tlist-style: none;
  448. \t\t\tpadding: 0;
  449. \t\t\tmargin: 0;
  450. \t\t\toverflow-y: auto;
  451. \t\t\tmax-height: 400px !important;
  452. \t\t}
  453. \t\t.recent-notification .uv-pannel-body {
  454. \t\t\tpadding: 0;
  455. \t\t}
  456. \t\t.recent-notification ul li {
  457. \t\t\tcolor: #333333;
  458. \t\t\tborder-bottom: solid 1px #D3D3D3;
  459. \t\t\tpadding: 15px 20px;
  460. \t\t}
  461. \t\t.recent-notification ul li:first-child {
  462. \t\t\tborder-top: none;
  463. \t\t}
  464. \t\t.recent-notification ul li:last-child {
  465. \t\t\tborder-bottom: none;
  466. \t\t}
  467. \t\t.recent-notification ul li * {
  468. \t\t\tdisplay: inline-block !important;
  469. \t\t}
  470. \t\t.recent-notification ul li .timeago {
  471. \t\t\tcolor: #9E9E9E;
  472. \t\t\tmargin-top: 5px;
  473. \t\t\tfont-size: 13px;
  474. \t\t}
  475. \t\t.recent-notification label {
  476. \t\t\ttext-align: center;
  477. \t\t\tdisplay: inline-block;
  478. \t\t\twidth: 100%;
  479. \t\t\tpadding-top: 15px;
  480. \t\t\tborder-top: 1px solid #d3d3d3;
  481. \t\t}
  482. \t\t.recent-notification span.uv-notification-message {
  483. \t\t\tfloat: left;
  484. \t\t\twidth: 100%;
  485. \t\t}
  486. \t\t.kudos-count {
  487. \t\t\twidth: 30%;
  488. \t\t\tfloat: left;
  489. \t\t\tpadding-right: 10px;
  490. \t\t\tpadding-left: 10px;
  491. \t\t}
  492. \t\t.kudos-count .uv-pannel-body {
  493. \t\t\tpadding-top: 50px;
  494. \t\t\toverflow-y: auto;
  495. \t\t}
  496. \t\t.kudos-count ul {
  497. \t\t\tlist-style: none;
  498. \t\t\tpadding: 0;
  499. \t\t\tmargin: 0;
  500. \t\t}
  501. \t\t.kudos-count ul li {
  502. \t\t\twidth: 100%;
  503. \t\t\tdisplay: inline-block;
  504. \t\t\tpadding: 15px 0;
  505. \t\t}
  506. \t\t.kudos-count ul li .uv-icon-kudos  {
  507. \t\t\tvertical-align: middle;
  508. \t\t\tmargin-right: 10px;
  509. \t\t}
  510. \t\t.uv-activity-wrapper .uv-activity-chart-col-rt {
  511. \t\t\twidth: 20%;
  512. \t\t\tfloat: left;
  513. \t\t}
  514. \t\t.uv-activity-chart-col-rt ul {
  515. \t\t\tpadding: 0;
  516. \t\t\tmargin: 0;
  517. \t\t\tlist-style: none;
  518. \t\t}
  519. \t\t.uv-activity-chart-col-rt ul li {
  520. \t\t\tmargin-bottom: 10px
  521. \t\t}
  522. \t\t.uv-activity-chart-col-rt ul li span {
  523. \t\t\twidth: 100%;
  524. \t\t\tdisplay: inline-block;
  525. \t\t\tcolor: #6f6f6f;
  526. \t\t}
  527. \t\t.uv-middle {
  528. \t\t\tmargin: 0 auto;
  529. \t\t\tdisplay: inline-block;
  530. \t\t\tmargin-top: 200px;
  531. \t\t\ttext-align: center;
  532. \t\t\twidth: 100%;
  533. \t\t}
  534. \t\t@media screen and (max-width: 1024px) {
  535. \t\t\t.uv-activity-wrapper .uv-activity-chart-col-lt {
  536. \t\t\t\twidth: 100%;
  537. \t\t\t\tpadding: 0;
  538. \t\t\t}
  539. \t\t\t.uv-activity-wrapper .uv-activity-chart-col-rt {
  540. \t\t\t\twidth: 100%;
  541. \t\t\t}
  542. \t\t\t.kudos-overview {
  543. \t\t\t\twidth: 100%;
  544. \t\t\t\tpadding: 0;
  545. \t\t\t}
  546. \t\t\t.kudos-count {
  547. \t\t\t\twidth: 100%;
  548. \t\t\t\tpadding: 0;
  549. \t\t\t}
  550. \t\t\t.recent-notification {
  551. \t\t\t\twidth: 100%;
  552. \t\t\t\tpadding: 0;
  553. \t\t\t}
  554. \t\t\tul.uv-activity-brick-wrapper li {
  555. \t\t\t\twidth: 50%;
  556. \t\t\t\tmargin: 10px 0;
  557. \t\t\t}
  558. \t\t}
  559. \t\t@media screen and (max-width: 768px) {
  560. \t\t\tul.uv-activity-brick-wrapper li {
  561. \t\t\t\twidth: 100%;
  562. \t\t\t}
  563. \t\t}
  564. \t\t@media screen and (max-width: 467px) {
  565. \t\t\t.completion-chart {
  566. \t\t\t\twidth: 100%;
  567. \t\t\t}
  568. \t\t}
  569. \t\tspan.uv-notification-message a:link, span.uv-notification-message a:visited, label a:link, label a:visited {
  570. \t\t\tcolor: #2750C4;
  571. \t\t\tfont-size: 15px;
  572. \t\t}
  573. \t\t.uv-mob-aside {
  574. \t\t\tdisplay: none;
  575. \t\t}
  576. \t\t#btndisclaimer {
  577.   \t\t\tposition: fixed;
  578.   \t\t\tright: 25px;
  579.   \t\t\tbottom: 10px;
  580. \t\t\tbackground: url(\"\");
  581. \t\t}
  582. \t</style>
  583. {% endblock %}
  584. {% block pageContent %}
  585.     <div class=\"uv-area\">
  586.         {{ uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getHomepageTemplate().render()|raw }}
  587.         <div class=\"uv-copyright\">
  588.             <p style=\"margin: unset; font-size: 14px; line-height: 1.4em;\">{{ 'Powered by'|trans }} <a href=\"https://www.uvdesk.com\" target=\"_blank\">Uvdesk</a></p>
  589. \t\t\t<p style=\"color: #5a5a5a; margin: unset; font-size: 12px; line-height: 1.4em;\">Version {{ uvdesk_version }}; Core Version {{ uvdesk_core_version }}</p>
  590.         </div>
  591. \t\t<div class=\"col-xs-6 col-sm-6 col-md-6 col-lg-6\">
  592.     \t\t<button type=\"submit\" class=\"btn btn-primary btn-md\" id=\"btndisclaimer\" title={{'clear cache'|trans }}><img src=\"https://api.iconify.design/mdi:delete-restore.svg?height=24\" aria-hidden=\"true\"></button>
  593.   \t\t</div>
  594.     </div>
  595. <script>
  596. \t\$('#btndisclaimer').click(function(e){
  597.     \t\$.ajax({
  598.         \turl : \"{{ path('helpdesk_member_cache_clear') }}\",
  599.         \tmethod: 'POST',
  600.         \tdata: \"\",
  601.         \tsuccess : function(response) {
  602. \t\t\t\tapp.appView.renderResponseAlert(response);
  603.         \t},
  604.         \terror: function (xhr) {
  605.             \tapp.appView.renderResponseAlert(xhr);
  606.         \t}
  607.     \t});
  608.     });
  609. </script>
  610. {% endblock %}
  611. {% block footer %}
  612.     {{ parent() }}
  613. {% endblock %}
  614. ""@UVDeskCoreFramework//dashboard.html.twig""/var/www/vhosts/kuckuck.app/support.kuckuck.app/vendor/uvdesk/core-framework/Resources/views/dashboard.html.twig");
  615.     }
  616. }