var/cache/dev/twig/d3/d308ee9e4ca7056dc47206af55cc0477.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* dashboard/index.html.twig */
  15. class __TwigTemplate_a8c156bf0044f804270fd79e4aee7c49 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'breadcrumb' => [$this'block_breadcrumb'],
  26.             'pagetitle' => [$this'block_pagetitle'],
  27.             'body' => [$this'block_body'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""dashboard/index.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""dashboard/index.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""dashboard/index.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     public function block_title($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         yield "Dashboard
  59. ";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.         return; yield '';
  65.     }
  66.     // line 5
  67.     public function block_breadcrumb($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  74.         // line 6
  75.         yield "\t<li class=\"breadcrumb-item active\">";
  76.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Dashboard", [], "messages");
  77.         // line 8
  78.         yield "</li>
  79. ";
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84.         return; yield '';
  85.     }
  86.     // line 10
  87.     public function block_pagetitle($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagetitle"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagetitle"));
  94.         // line 11
  95.         yield "\t";
  96.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Dashboard", [], "messages");
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.         return; yield '';
  102.     }
  103.     // line 14
  104.     public function block_body($context, array $blocks = [])
  105.     {
  106.         $macros $this->macros;
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  111.         // line 15
  112.         yield "\t<div class=\"row\">
  113. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  114. \t\t\t<div class=\"info-box\">
  115. \t\t\t\t<span class=\"info-box-icon bg-info elevation-1\">
  116. \t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
  117. \t\t\t\t</span>
  118. \t\t\t\t<div class=\"info-box-content\">
  119. \t\t\t\t\t<span class=\"info-box-text\">Completed Projects</span>
  120. \t\t\t\t\t<span class=\"info-box-number\"> ";
  121.         // line 24
  122.         yield Twig\Extension\EscaperExtension::escape($this->envTwig\Extension\CoreExtension::lengthFilter($this->env, (isset($context["closed_project"]) || array_key_exists("closed_project"$context) ? $context["closed_project"] : (function () { throw new RuntimeError('Variable "closed_project" does not exist.'24$this->source); })())), "html"nulltrue);
  123.         yield "
  124. \t\t\t\t\t</span>
  125. \t\t\t\t</div>
  126. \t\t\t</div>
  127. \t\t</div>
  128. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  129. \t\t\t<div class=\"info-box mb-3\">
  130. \t\t\t\t<span class=\"info-box-icon bg-danger elevation-1\">
  131. \t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
  132. \t\t\t\t</span>
  133. \t\t\t\t<div class=\"info-box-content\">
  134. \t\t\t\t\t<span class=\"info-box-text\">Ongoing Projects</span>
  135. \t\t\t\t\t<span class=\"info-box-number\"> ";
  136.         // line 38
  137.         yield Twig\Extension\EscaperExtension::escape($this->envTwig\Extension\CoreExtension::lengthFilter($this->env, (isset($context["active_project"]) || array_key_exists("active_project"$context) ? $context["active_project"] : (function () { throw new RuntimeError('Variable "active_project" does not exist.'38$this->source); })())), "html"nulltrue);
  138.         yield "
  139. \t\t\t\t\t</span>
  140. \t\t\t\t</div>
  141. \t\t\t</div>
  142. \t\t</div>
  143. \t\t<div class=\"clearfix hidden-md-up\"></div>
  144. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  145. \t\t\t<div class=\"info-box mb-3\">
  146. \t\t\t\t<span class=\"info-box-icon bg-success elevation-1\">
  147. \t\t\t\t\t<i class=\"fas fa-tasks\"></i>
  148. \t\t\t\t</span>
  149. \t\t\t\t<div class=\"info-box-content\">
  150. \t\t\t\t\t<span class=\"info-box-text\">Completed Tasks</span>
  151. \t\t\t\t\t<span class=\"info-box-number\">20</span>
  152. \t\t\t\t</div>
  153. \t\t\t</div>
  154. \t\t</div>
  155. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  156. \t\t\t<div class=\"info-box mb-3\">
  157. \t\t\t\t<span class=\"info-box-icon bg-warning elevation-1\">
  158. \t\t\t\t\t<i class=\"fas fa-tasks\"></i>
  159. \t\t\t\t</span>
  160. \t\t\t\t<div class=\"info-box-content\">
  161. \t\t\t\t\t<span class=\"info-box-text\">Pending Tasks</span>
  162. \t\t\t\t\t<span class=\"info-box-number\">7</span>
  163. \t\t\t\t</div>
  164. \t\t\t</div>
  165. \t\t</div>
  166. \t</div><br>
  167. \t<div class=\"row\">
  168. \t\t<div class=\"col-md-8\">
  169. \t\t\t<div class=\"card\">
  170. \t\t\t\t<div class=\"card-header border-0\">
  171. \t\t\t\t\t<h3 class=\"card-title\">My Projects</h3>
  172. \t\t\t\t\t<div class=\"card-tools\">
  173. \t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
  174. \t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
  175. \t\t\t\t\t\t</a>
  176. \t\t\t\t\t</div>
  177. \t\t\t\t</div>
  178. \t\t\t\t<div class=\"card-body table-responsive p-0\">
  179. \t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
  180. \t\t\t\t\t\t<thead>
  181. \t\t\t\t\t\t\t<tr>
  182. \t\t\t\t\t\t\t\t<th>Name</th>
  183. \t\t\t\t\t\t\t\t<th>Amount</th>
  184. \t\t\t\t\t\t\t\t<th>Start Date</th>
  185. \t\t\t\t\t\t\t\t<th>End Date</th>
  186. \t\t\t\t\t\t\t\t<th class=\"text-center\">Actions</th>
  187. \t\t\t\t\t\t\t</tr>
  188. \t\t\t\t\t\t</thead>
  189. \t\t\t\t\t\t<tbody>
  190. \t\t\t\t\t\t\t";
  191.         // line 94
  192.         $context['_parent'] = $context;
  193.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["projects"]) || array_key_exists("projects"$context) ? $context["projects"] : (function () { throw new RuntimeError('Variable "projects" does not exist.'94$this->source); })()));
  194.         foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
  195.             // line 95
  196.             yield "\t\t\t\t\t\t\t\t<tr>
  197. \t\t\t\t\t\t\t\t\t<td>
  198. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  199.             // line 97
  200.             yield Twig\Extension\EscaperExtension::escape($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("project_dashboard", ["id" => CoreExtension::getAttribute($this->env$this->source$context["project"], "id", [], "any"falsefalsefalse97)]), "html"nulltrue);
  201.             yield "\">";
  202.             yield Twig\Extension\EscaperExtension::escape($this->envCoreExtension::getAttribute($this->env$this->source$context["project"], "name", [], "any"falsefalsefalse97), "html"nulltrue);
  203.             yield "</a>
  204. \t\t\t\t\t\t\t\t\t</td>
  205. \t\t\t\t\t\t\t\t\t<td>";
  206.             // line 99
  207.             yield Twig\Extension\EscaperExtension::escape($this->envCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["project"], "currency", [], "any"falsefalsefalse99), "abbreviation", [], "any"falsefalsefalse99), "html"nulltrue);
  208.             yield " ";
  209.             yield Twig\Extension\EscaperExtension::escape($this->envCoreExtension::getAttribute($this->env$this->source$context["project"], "amount", [], "any"falsefalsefalse99), "html"nulltrue);
  210.             yield "</td>
  211. \t\t\t\t\t\t\t\t\t<td>";
  212.             // line 100
  213.             ((CoreExtension::getAttribute($this->env$this->source$context["project"], "startDate", [], "any"falsefalsefalse100)) ? (yield Twig\Extension\EscaperExtension::escape($this->envTwig\Extension\CoreExtension::dateFormatFilter($this->envCoreExtension::getAttribute($this->env$this->source$context["project"], "startDate", [], "any"falsefalsefalse100), "Y-m-d"), "html"nulltrue)) : (yield ""));
  214.             yield "</td>
  215. \t\t\t\t\t\t\t\t\t<td>";
  216.             // line 101
  217.             ((CoreExtension::getAttribute($this->env$this->source$context["project"], "endDate", [], "any"falsefalsefalse101)) ? (yield Twig\Extension\EscaperExtension::escape($this->envTwig\Extension\CoreExtension::dateFormatFilter($this->envCoreExtension::getAttribute($this->env$this->source$context["project"], "endDate", [], "any"falsefalsefalse101), "Y-m-d"), "html"nulltrue)) : (yield ""));
  218.             yield "</td>
  219. \t\t\t\t\t\t\t\t\t<td class=\"text-center\">
  220. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  221.             // line 103
  222.             yield Twig\Extension\EscaperExtension::escape($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("project_activity_index", ["project" => CoreExtension::getAttribute($this->env$this->source$context["project"], "id", [], "any"falsefalsefalse103)]), "html"nulltrue);
  223.             yield "\" class=\"btn btn-sm btn-primary mr-2\">";
  224.             yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activity", [], "messages");
  225.             yield "</a>
  226. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  227.             // line 104
  228.             yield Twig\Extension\EscaperExtension::escape($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("project_milestone_index", ["project" => CoreExtension::getAttribute($this->env$this->source$context["project"], "id", [], "any"falsefalsefalse104)]), "html"nulltrue);
  229.             yield "\" class=\"btn btn-sm btn-success mr-2\">";
  230.             yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Milestone", [], "messages");
  231.             yield "</a>
  232. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  233.             // line 105
  234.             yield Twig\Extension\EscaperExtension::escape($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("project_members_index", ["project" => CoreExtension::getAttribute($this->env$this->source$context["project"], "id", [], "any"falsefalsefalse105)]), "html"nulltrue);
  235.             yield "\" class=\"btn btn-sm btn-warning text-white\">";
  236.             yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Members", [], "messages");
  237.             yield "</a>
  238. \t\t\t\t\t\t\t\t\t</td>
  239. \t\t\t\t\t\t\t\t</tr>
  240. \t\t\t\t\t\t\t";
  241.         }
  242.         $_parent $context['_parent'];
  243.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
  244.         $context array_intersect_key($context$_parent) + $_parent;
  245.         // line 109
  246.         yield "\t\t\t\t\t\t</tbody>
  247. \t\t\t\t\t</table>
  248. \t\t\t\t</div>
  249. \t\t\t</div>
  250. \t\t</div>
  251. \t\t<div class=\"col-md-4\">
  252. \t\t\t<div class=\"card bg-gradient-success\">
  253. \t\t\t\t<div class=\"card-header border-0\">
  254. \t\t\t\t\t<h3 class=\"card-title\">
  255. \t\t\t\t\t\t<i class=\"far fa-calendar-alt\"></i>
  256. \t\t\t\t\t\tCalendar
  257. \t\t\t\t\t</h3>
  258. \t\t\t\t\t<div class=\"card-tools\">
  259. \t\t\t\t\t\t<button type=\"button\" class=\"btn btn-success btn-sm\" data-card-widget=\"collapse\">
  260. \t\t\t\t\t\t\t<i class=\"fas fa-minus\"></i>
  261. \t\t\t\t\t\t</button>
  262. \t\t\t\t\t</div>
  263. \t\t\t\t</div>
  264. \t\t\t\t<div class=\"card-body pt-0 text-center\">
  265. \t\t\t\t\t<div id=\"calendar\" style=\"width: 100%\"></div>
  266. \t\t\t\t</div>
  267. \t\t\t</div>
  268. \t\t</div>
  269. \t</div><br>
  270. \t<div class=\"row\">
  271. \t\t<div class=\"col-md-6\">
  272. \t\t\t<div class=\"card\">
  273. \t\t\t\t<div class=\"card-header border-0\">
  274. \t\t\t\t\t<h3 class=\"card-title\">Overdue Tasks</h3>
  275. \t\t\t\t\t<div class=\"card-tools\">
  276. \t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
  277. \t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
  278. \t\t\t\t\t\t</a>
  279. \t\t\t\t\t</div>
  280. \t\t\t\t</div>
  281. \t\t\t\t<div class=\"card-body table-responsive p-0\">
  282. \t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
  283. \t\t\t\t\t\t<thead>
  284. \t\t\t\t\t\t\t<tr>
  285. \t\t\t\t\t\t\t\t<th>Project</th>
  286. \t\t\t\t\t\t\t\t<th>Task</th>
  287. \t\t\t\t\t\t\t\t<th class=\"text-center\">Overdue Days</th>
  288. \t\t\t\t\t\t\t</tr>
  289. \t\t\t\t\t\t</thead>
  290. \t\t\t\t\t\t<tbody>
  291. \t\t\t\t\t\t\t<tr>
  292. \t\t\t\t\t\t\t\t<td>
  293. \t\t\t\t\t\t\t\t\tCity Portal
  294. \t\t\t\t\t\t\t\t</td>
  295. \t\t\t\t\t\t\t\t<td>UI/UX Implementation</td>
  296. \t\t\t\t\t\t\t\t<td class=\"text-center\">
  297. \t\t\t\t\t\t\t\t\t<span class=\"text-danger\">
  298. \t\t\t\t\t\t\t\t\t\t12
  299. \t\t\t\t\t\t\t\t\t</span>
  300. \t\t\t\t\t\t\t\t</td>
  301. \t\t\t\t\t\t\t</tr>
  302. \t\t\t\t\t\t</tbody>
  303. \t\t\t\t\t</table>
  304. \t\t\t\t</div>
  305. \t\t\t</div>
  306. \t\t</div>
  307. \t\t<div class=\"col-md-6\">
  308. \t\t\t<div class=\"card\">
  309. \t\t\t\t<div class=\"card-header border-0\">
  310. \t\t\t\t\t<h3 class=\"card-title\">Upcoming Tasks</h3>
  311. \t\t\t\t\t<div class=\"card-tools\">
  312. \t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
  313. \t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
  314. \t\t\t\t\t\t</a>
  315. \t\t\t\t\t</div>
  316. \t\t\t\t</div>
  317. \t\t\t\t<div class=\"card-body table-responsive p-0\">
  318. \t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
  319. \t\t\t\t\t\t<thead>
  320. \t\t\t\t\t\t\t<tr>
  321. \t\t\t\t\t\t\t\t<th>Project</th>
  322. \t\t\t\t\t\t\t\t<th>Task</th>
  323. \t\t\t\t\t\t\t\t<th class=\"text-center\">Due Date</th>
  324. \t\t\t\t\t\t\t</tr>
  325. \t\t\t\t\t\t</thead>
  326. \t\t\t\t\t\t<tbody>
  327. \t\t\t\t\t\t\t<tr>
  328. \t\t\t\t\t\t\t\t<td>
  329. \t\t\t\t\t\t\t\t\tDemo
  330. \t\t\t\t\t\t\t\t</td>
  331. \t\t\t\t\t\t\t\t<td>Task Name</td>
  332. \t\t\t\t\t\t\t\t<td class=\"text-center\">
  333. \t\t\t\t\t\t\t\t\t<span class=\"bg-warning p-2\">
  334. \t\t\t\t\t\t\t\t\t\tAugust 18, 2021
  335. \t\t\t\t\t\t\t\t\t</span>
  336. \t\t\t\t\t\t\t\t</td>
  337. \t\t\t\t\t\t\t</tr>
  338. \t\t\t\t\t\t</tbody>
  339. \t\t\t\t\t</table>
  340. \t\t\t\t</div>
  341. \t\t\t</div>
  342. \t\t</div>
  343. \t</div>
  344. ";
  345.         
  346.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  347.         
  348.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  349.         return; yield '';
  350.     }
  351.     // line 209
  352.     public function block_javascripts($context, array $blocks = [])
  353.     {
  354.         $macros $this->macros;
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  356.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  357.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  358.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  359.         // line 210
  360.         yield "\t<script src=\"";
  361.         yield Twig\Extension\EscaperExtension::escape($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"), "html"nulltrue);
  362.         yield "\"></script>
  363. \t<script>
  364. \t  \$('#calendar').datetimepicker({
  365.     format: 'L',
  366.     inline: true
  367.   })
  368.   </script>
  369. ";
  370.         
  371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  372.         
  373.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  374.         return; yield '';
  375.     }
  376.     /**
  377.      * @codeCoverageIgnore
  378.      */
  379.     public function getTemplateName()
  380.     {
  381.         return "dashboard/index.html.twig";
  382.     }
  383.     /**
  384.      * @codeCoverageIgnore
  385.      */
  386.     public function isTraitable()
  387.     {
  388.         return false;
  389.     }
  390.     /**
  391.      * @codeCoverageIgnore
  392.      */
  393.     public function getDebugInfo()
  394.     {
  395.         return array (  402 => 210,  392 => 209,  282 => 109,  270 => 105,  264 => 104,  258 => 103,  253 => 101,  249 => 100,  243 => 99,  236 => 97,  232 => 95,  228 => 94,  169 => 38,  152 => 24,  141 => 15,  131 => 14,  119 => 11,  109 => 10,  97 => 8,  94 => 6,  84 => 5,  63 => 3,  40 => 1,);
  396.     }
  397.     public function getSourceContext()
  398.     {
  399.         return new Source("{% extends 'base.html.twig' %}
  400. {% block title %}Dashboard
  401. {% endblock %}
  402. {% block breadcrumb %}
  403. \t<li class=\"breadcrumb-item active\">{% trans %}
  404. \t\tDashboard
  405. \t\t{% endtrans %}</li>
  406. {% endblock %}
  407. {% block pagetitle %}
  408. \t{% trans %}
  409. \tDashboard{% endtrans %}
  410. {% endblock %}
  411. {% block body %}
  412. \t<div class=\"row\">
  413. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  414. \t\t\t<div class=\"info-box\">
  415. \t\t\t\t<span class=\"info-box-icon bg-info elevation-1\">
  416. \t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
  417. \t\t\t\t</span>
  418. \t\t\t\t<div class=\"info-box-content\">
  419. \t\t\t\t\t<span class=\"info-box-text\">Completed Projects</span>
  420. \t\t\t\t\t<span class=\"info-box-number\"> {{ closed_project|length }}
  421. \t\t\t\t\t</span>
  422. \t\t\t\t</div>
  423. \t\t\t</div>
  424. \t\t</div>
  425. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  426. \t\t\t<div class=\"info-box mb-3\">
  427. \t\t\t\t<span class=\"info-box-icon bg-danger elevation-1\">
  428. \t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
  429. \t\t\t\t</span>
  430. \t\t\t\t<div class=\"info-box-content\">
  431. \t\t\t\t\t<span class=\"info-box-text\">Ongoing Projects</span>
  432. \t\t\t\t\t<span class=\"info-box-number\"> {{ active_project|length }}
  433. \t\t\t\t\t</span>
  434. \t\t\t\t</div>
  435. \t\t\t</div>
  436. \t\t</div>
  437. \t\t<div class=\"clearfix hidden-md-up\"></div>
  438. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  439. \t\t\t<div class=\"info-box mb-3\">
  440. \t\t\t\t<span class=\"info-box-icon bg-success elevation-1\">
  441. \t\t\t\t\t<i class=\"fas fa-tasks\"></i>
  442. \t\t\t\t</span>
  443. \t\t\t\t<div class=\"info-box-content\">
  444. \t\t\t\t\t<span class=\"info-box-text\">Completed Tasks</span>
  445. \t\t\t\t\t<span class=\"info-box-number\">20</span>
  446. \t\t\t\t</div>
  447. \t\t\t</div>
  448. \t\t</div>
  449. \t\t<div class=\"col-12 col-sm-6 col-md-3\">
  450. \t\t\t<div class=\"info-box mb-3\">
  451. \t\t\t\t<span class=\"info-box-icon bg-warning elevation-1\">
  452. \t\t\t\t\t<i class=\"fas fa-tasks\"></i>
  453. \t\t\t\t</span>
  454. \t\t\t\t<div class=\"info-box-content\">
  455. \t\t\t\t\t<span class=\"info-box-text\">Pending Tasks</span>
  456. \t\t\t\t\t<span class=\"info-box-number\">7</span>
  457. \t\t\t\t</div>
  458. \t\t\t</div>
  459. \t\t</div>
  460. \t</div><br>
  461. \t<div class=\"row\">
  462. \t\t<div class=\"col-md-8\">
  463. \t\t\t<div class=\"card\">
  464. \t\t\t\t<div class=\"card-header border-0\">
  465. \t\t\t\t\t<h3 class=\"card-title\">My Projects</h3>
  466. \t\t\t\t\t<div class=\"card-tools\">
  467. \t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
  468. \t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
  469. \t\t\t\t\t\t</a>
  470. \t\t\t\t\t</div>
  471. \t\t\t\t</div>
  472. \t\t\t\t<div class=\"card-body table-responsive p-0\">
  473. \t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
  474. \t\t\t\t\t\t<thead>
  475. \t\t\t\t\t\t\t<tr>
  476. \t\t\t\t\t\t\t\t<th>Name</th>
  477. \t\t\t\t\t\t\t\t<th>Amount</th>
  478. \t\t\t\t\t\t\t\t<th>Start Date</th>
  479. \t\t\t\t\t\t\t\t<th>End Date</th>
  480. \t\t\t\t\t\t\t\t<th class=\"text-center\">Actions</th>
  481. \t\t\t\t\t\t\t</tr>
  482. \t\t\t\t\t\t</thead>
  483. \t\t\t\t\t\t<tbody>
  484. \t\t\t\t\t\t\t{% for project in projects %}
  485. \t\t\t\t\t\t\t\t<tr>
  486. \t\t\t\t\t\t\t\t\t<td>
  487. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('project_dashboard', {'id': project.id })}}\">{{ project.name }}</a>
  488. \t\t\t\t\t\t\t\t\t</td>
  489. \t\t\t\t\t\t\t\t\t<td>{{ project.currency.abbreviation }} {{ project.amount }}</td>
  490. \t\t\t\t\t\t\t\t\t<td>{{ project.startDate ? project.startDate|date('Y-m-d') : '' }}</td>
  491. \t\t\t\t\t\t\t\t\t<td>{{ project.endDate ? project.endDate|date('Y-m-d') : '' }}</td>
  492. \t\t\t\t\t\t\t\t\t<td class=\"text-center\">
  493. \t\t\t\t\t\t\t\t\t\t<a href=\"{{path('project_activity_index', {'project': project.id})}}\" class=\"btn btn-sm btn-primary mr-2\">{% trans %}Activity{% endtrans %}</a>
  494. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('project_milestone_index', {'project': project.id })}}\" class=\"btn btn-sm btn-success mr-2\">{% trans %}Milestone{% endtrans %}</a>
  495. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('project_members_index', {'project': project.id })}}\" class=\"btn btn-sm btn-warning text-white\">{% trans %}Members{% endtrans %}</a>
  496. \t\t\t\t\t\t\t\t\t</td>
  497. \t\t\t\t\t\t\t\t</tr>
  498. \t\t\t\t\t\t\t{% endfor %}
  499. \t\t\t\t\t\t</tbody>
  500. \t\t\t\t\t</table>
  501. \t\t\t\t</div>
  502. \t\t\t</div>
  503. \t\t</div>
  504. \t\t<div class=\"col-md-4\">
  505. \t\t\t<div class=\"card bg-gradient-success\">
  506. \t\t\t\t<div class=\"card-header border-0\">
  507. \t\t\t\t\t<h3 class=\"card-title\">
  508. \t\t\t\t\t\t<i class=\"far fa-calendar-alt\"></i>
  509. \t\t\t\t\t\tCalendar
  510. \t\t\t\t\t</h3>
  511. \t\t\t\t\t<div class=\"card-tools\">
  512. \t\t\t\t\t\t<button type=\"button\" class=\"btn btn-success btn-sm\" data-card-widget=\"collapse\">
  513. \t\t\t\t\t\t\t<i class=\"fas fa-minus\"></i>
  514. \t\t\t\t\t\t</button>
  515. \t\t\t\t\t</div>
  516. \t\t\t\t</div>
  517. \t\t\t\t<div class=\"card-body pt-0 text-center\">
  518. \t\t\t\t\t<div id=\"calendar\" style=\"width: 100%\"></div>
  519. \t\t\t\t</div>
  520. \t\t\t</div>
  521. \t\t</div>
  522. \t</div><br>
  523. \t<div class=\"row\">
  524. \t\t<div class=\"col-md-6\">
  525. \t\t\t<div class=\"card\">
  526. \t\t\t\t<div class=\"card-header border-0\">
  527. \t\t\t\t\t<h3 class=\"card-title\">Overdue Tasks</h3>
  528. \t\t\t\t\t<div class=\"card-tools\">
  529. \t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
  530. \t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
  531. \t\t\t\t\t\t</a>
  532. \t\t\t\t\t</div>
  533. \t\t\t\t</div>
  534. \t\t\t\t<div class=\"card-body table-responsive p-0\">
  535. \t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
  536. \t\t\t\t\t\t<thead>
  537. \t\t\t\t\t\t\t<tr>
  538. \t\t\t\t\t\t\t\t<th>Project</th>
  539. \t\t\t\t\t\t\t\t<th>Task</th>
  540. \t\t\t\t\t\t\t\t<th class=\"text-center\">Overdue Days</th>
  541. \t\t\t\t\t\t\t</tr>
  542. \t\t\t\t\t\t</thead>
  543. \t\t\t\t\t\t<tbody>
  544. \t\t\t\t\t\t\t<tr>
  545. \t\t\t\t\t\t\t\t<td>
  546. \t\t\t\t\t\t\t\t\tCity Portal
  547. \t\t\t\t\t\t\t\t</td>
  548. \t\t\t\t\t\t\t\t<td>UI/UX Implementation</td>
  549. \t\t\t\t\t\t\t\t<td class=\"text-center\">
  550. \t\t\t\t\t\t\t\t\t<span class=\"text-danger\">
  551. \t\t\t\t\t\t\t\t\t\t12
  552. \t\t\t\t\t\t\t\t\t</span>
  553. \t\t\t\t\t\t\t\t</td>
  554. \t\t\t\t\t\t\t</tr>
  555. \t\t\t\t\t\t</tbody>
  556. \t\t\t\t\t</table>
  557. \t\t\t\t</div>
  558. \t\t\t</div>
  559. \t\t</div>
  560. \t\t<div class=\"col-md-6\">
  561. \t\t\t<div class=\"card\">
  562. \t\t\t\t<div class=\"card-header border-0\">
  563. \t\t\t\t\t<h3 class=\"card-title\">Upcoming Tasks</h3>
  564. \t\t\t\t\t<div class=\"card-tools\">
  565. \t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
  566. \t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
  567. \t\t\t\t\t\t</a>
  568. \t\t\t\t\t</div>
  569. \t\t\t\t</div>
  570. \t\t\t\t<div class=\"card-body table-responsive p-0\">
  571. \t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
  572. \t\t\t\t\t\t<thead>
  573. \t\t\t\t\t\t\t<tr>
  574. \t\t\t\t\t\t\t\t<th>Project</th>
  575. \t\t\t\t\t\t\t\t<th>Task</th>
  576. \t\t\t\t\t\t\t\t<th class=\"text-center\">Due Date</th>
  577. \t\t\t\t\t\t\t</tr>
  578. \t\t\t\t\t\t</thead>
  579. \t\t\t\t\t\t<tbody>
  580. \t\t\t\t\t\t\t<tr>
  581. \t\t\t\t\t\t\t\t<td>
  582. \t\t\t\t\t\t\t\t\tDemo
  583. \t\t\t\t\t\t\t\t</td>
  584. \t\t\t\t\t\t\t\t<td>Task Name</td>
  585. \t\t\t\t\t\t\t\t<td class=\"text-center\">
  586. \t\t\t\t\t\t\t\t\t<span class=\"bg-warning p-2\">
  587. \t\t\t\t\t\t\t\t\t\tAugust 18, 2021
  588. \t\t\t\t\t\t\t\t\t</span>
  589. \t\t\t\t\t\t\t\t</td>
  590. \t\t\t\t\t\t\t</tr>
  591. \t\t\t\t\t\t</tbody>
  592. \t\t\t\t\t</table>
  593. \t\t\t\t</div>
  594. \t\t\t</div>
  595. \t\t</div>
  596. \t</div>
  597. {% endblock %}
  598. {% block javascripts %}
  599. \t<script src=\"{{ asset('assets/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js')}}\"></script>
  600. \t<script>
  601. \t  \$('#calendar').datetimepicker({
  602.     format: 'L',
  603.     inline: true
  604.   })
  605.   </script>
  606. {% endblock %}
  607. ""dashboard/index.html.twig""/var/www/project.digitalethiopia.gov.et/templates/dashboard/index.html.twig");
  608.     }
  609. }