<?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;
/* dashboard/index.html.twig */
class __TwigTemplate_a8c156bf0044f804270fd79e4aee7c49 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'breadcrumb' => [$this, 'block_breadcrumb'],
'pagetitle' => [$this, 'block_pagetitle'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "dashboard/index.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$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 "Dashboard
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_breadcrumb($context, array $blocks = [])
{
$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", "breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
// line 6
yield "\t<li class=\"breadcrumb-item active\">";
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Dashboard", [], "messages");
// line 8
yield "</li>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 10
public function block_pagetitle($context, array $blocks = [])
{
$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", "pagetitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pagetitle"));
// line 11
yield "\t";
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Dashboard", [], "messages");
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 14
public function block_body($context, array $blocks = [])
{
$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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 15
yield "\t<div class=\"row\">
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box\">
\t\t\t\t<span class=\"info-box-icon bg-info elevation-1\">
\t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Completed Projects</span>
\t\t\t\t\t<span class=\"info-box-number\"> ";
// line 24
yield Twig\Extension\EscaperExtension::escape($this->env, Twig\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", null, true);
yield "
\t\t\t\t\t</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box mb-3\">
\t\t\t\t<span class=\"info-box-icon bg-danger elevation-1\">
\t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Ongoing Projects</span>
\t\t\t\t\t<span class=\"info-box-number\"> ";
// line 38
yield Twig\Extension\EscaperExtension::escape($this->env, Twig\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", null, true);
yield "
\t\t\t\t\t</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"clearfix hidden-md-up\"></div>
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box mb-3\">
\t\t\t\t<span class=\"info-box-icon bg-success elevation-1\">
\t\t\t\t\t<i class=\"fas fa-tasks\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Completed Tasks</span>
\t\t\t\t\t<span class=\"info-box-number\">20</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box mb-3\">
\t\t\t\t<span class=\"info-box-icon bg-warning elevation-1\">
\t\t\t\t\t<i class=\"fas fa-tasks\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Pending Tasks</span>
\t\t\t\t\t<span class=\"info-box-number\">7</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div><br>
\t<div class=\"row\">
\t\t<div class=\"col-md-8\">
\t\t\t<div class=\"card\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">My Projects</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
\t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body table-responsive p-0\">
\t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<th>Name</th>
\t\t\t\t\t\t\t\t<th>Amount</th>
\t\t\t\t\t\t\t\t<th>Start Date</th>
\t\t\t\t\t\t\t\t<th>End Date</th>
\t\t\t\t\t\t\t\t<th class=\"text-center\">Actions</th>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</thead>
\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t";
// line 94
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
// line 95
yield "\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 97
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", false, false, false, 97)]), "html", null, true);
yield "\">";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "name", [], "any", false, false, false, 97), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t<td>";
// line 99
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "currency", [], "any", false, false, false, 99), "abbreviation", [], "any", false, false, false, 99), "html", null, true);
yield " ";
yield Twig\Extension\EscaperExtension::escape($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "amount", [], "any", false, false, false, 99), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t<td>";
// line 100
((CoreExtension::getAttribute($this->env, $this->source, $context["project"], "startDate", [], "any", false, false, false, 100)) ? (yield Twig\Extension\EscaperExtension::escape($this->env, Twig\Extension\CoreExtension::dateFormatFilter($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "startDate", [], "any", false, false, false, 100), "Y-m-d"), "html", null, true)) : (yield ""));
yield "</td>
\t\t\t\t\t\t\t\t\t<td>";
// line 101
((CoreExtension::getAttribute($this->env, $this->source, $context["project"], "endDate", [], "any", false, false, false, 101)) ? (yield Twig\Extension\EscaperExtension::escape($this->env, Twig\Extension\CoreExtension::dateFormatFilter($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["project"], "endDate", [], "any", false, false, false, 101), "Y-m-d"), "html", null, true)) : (yield ""));
yield "</td>
\t\t\t\t\t\t\t\t\t<td class=\"text-center\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 103
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", false, false, false, 103)]), "html", null, true);
yield "\" class=\"btn btn-sm btn-primary mr-2\">";
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activity", [], "messages");
yield "</a>
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 104
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", false, false, false, 104)]), "html", null, true);
yield "\" class=\"btn btn-sm btn-success mr-2\">";
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Milestone", [], "messages");
yield "</a>
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 105
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", false, false, false, 105)]), "html", null, true);
yield "\" class=\"btn btn-sm btn-warning text-white\">";
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Members", [], "messages");
yield "</a>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 109
yield "\t\t\t\t\t\t</tbody>
\t\t\t\t\t</table>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-md-4\">
\t\t\t<div class=\"card bg-gradient-success\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">
\t\t\t\t\t\t<i class=\"far fa-calendar-alt\"></i>
\t\t\t\t\t\tCalendar
\t\t\t\t\t</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-success btn-sm\" data-card-widget=\"collapse\">
\t\t\t\t\t\t\t<i class=\"fas fa-minus\"></i>
\t\t\t\t\t\t</button>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body pt-0 text-center\">
\t\t\t\t\t<div id=\"calendar\" style=\"width: 100%\"></div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div><br>
\t<div class=\"row\">
\t\t<div class=\"col-md-6\">
\t\t\t<div class=\"card\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">Overdue Tasks</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
\t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body table-responsive p-0\">
\t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<th>Project</th>
\t\t\t\t\t\t\t\t<th>Task</th>
\t\t\t\t\t\t\t\t<th class=\"text-center\">Overdue Days</th>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</thead>
\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\tCity Portal
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t<td>UI/UX Implementation</td>
\t\t\t\t\t\t\t\t<td class=\"text-center\">
\t\t\t\t\t\t\t\t\t<span class=\"text-danger\">
\t\t\t\t\t\t\t\t\t\t12
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</tbody>
\t\t\t\t\t</table>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-md-6\">
\t\t\t<div class=\"card\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">Upcoming Tasks</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
\t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body table-responsive p-0\">
\t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<th>Project</th>
\t\t\t\t\t\t\t\t<th>Task</th>
\t\t\t\t\t\t\t\t<th class=\"text-center\">Due Date</th>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</thead>
\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\tDemo
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t<td>Task Name</td>
\t\t\t\t\t\t\t\t<td class=\"text-center\">
\t\t\t\t\t\t\t\t\t<span class=\"bg-warning p-2\">
\t\t\t\t\t\t\t\t\t\tAugust 18, 2021
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</tbody>
\t\t\t\t\t</table>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 209
public function block_javascripts($context, array $blocks = [])
{
$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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 210
yield "\t<script src=\"";
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", null, true);
yield "\"></script>
\t<script>
\t \$('#calendar').datetimepicker({
format: 'L',
inline: true
})
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "dashboard/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Dashboard
{% endblock %}
{% block breadcrumb %}
\t<li class=\"breadcrumb-item active\">{% trans %}
\t\tDashboard
\t\t{% endtrans %}</li>
{% endblock %}
{% block pagetitle %}
\t{% trans %}
\tDashboard{% endtrans %}
{% endblock %}
{% block body %}
\t<div class=\"row\">
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box\">
\t\t\t\t<span class=\"info-box-icon bg-info elevation-1\">
\t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Completed Projects</span>
\t\t\t\t\t<span class=\"info-box-number\"> {{ closed_project|length }}
\t\t\t\t\t</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box mb-3\">
\t\t\t\t<span class=\"info-box-icon bg-danger elevation-1\">
\t\t\t\t\t<i class=\"fas fa-project-diagram\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Ongoing Projects</span>
\t\t\t\t\t<span class=\"info-box-number\"> {{ active_project|length }}
\t\t\t\t\t</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"clearfix hidden-md-up\"></div>
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box mb-3\">
\t\t\t\t<span class=\"info-box-icon bg-success elevation-1\">
\t\t\t\t\t<i class=\"fas fa-tasks\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Completed Tasks</span>
\t\t\t\t\t<span class=\"info-box-number\">20</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-12 col-sm-6 col-md-3\">
\t\t\t<div class=\"info-box mb-3\">
\t\t\t\t<span class=\"info-box-icon bg-warning elevation-1\">
\t\t\t\t\t<i class=\"fas fa-tasks\"></i>
\t\t\t\t</span>
\t\t\t\t<div class=\"info-box-content\">
\t\t\t\t\t<span class=\"info-box-text\">Pending Tasks</span>
\t\t\t\t\t<span class=\"info-box-number\">7</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div><br>
\t<div class=\"row\">
\t\t<div class=\"col-md-8\">
\t\t\t<div class=\"card\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">My Projects</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
\t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body table-responsive p-0\">
\t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<th>Name</th>
\t\t\t\t\t\t\t\t<th>Amount</th>
\t\t\t\t\t\t\t\t<th>Start Date</th>
\t\t\t\t\t\t\t\t<th>End Date</th>
\t\t\t\t\t\t\t\t<th class=\"text-center\">Actions</th>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</thead>
\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t{% for project in projects %}
\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('project_dashboard', {'id': project.id })}}\">{{ project.name }}</a>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t<td>{{ project.currency.abbreviation }} {{ project.amount }}</td>
\t\t\t\t\t\t\t\t\t<td>{{ project.startDate ? project.startDate|date('Y-m-d') : '' }}</td>
\t\t\t\t\t\t\t\t\t<td>{{ project.endDate ? project.endDate|date('Y-m-d') : '' }}</td>
\t\t\t\t\t\t\t\t\t<td class=\"text-center\">
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</tbody>
\t\t\t\t\t</table>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-md-4\">
\t\t\t<div class=\"card bg-gradient-success\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">
\t\t\t\t\t\t<i class=\"far fa-calendar-alt\"></i>
\t\t\t\t\t\tCalendar
\t\t\t\t\t</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-success btn-sm\" data-card-widget=\"collapse\">
\t\t\t\t\t\t\t<i class=\"fas fa-minus\"></i>
\t\t\t\t\t\t</button>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body pt-0 text-center\">
\t\t\t\t\t<div id=\"calendar\" style=\"width: 100%\"></div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div><br>
\t<div class=\"row\">
\t\t<div class=\"col-md-6\">
\t\t\t<div class=\"card\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">Overdue Tasks</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
\t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body table-responsive p-0\">
\t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<th>Project</th>
\t\t\t\t\t\t\t\t<th>Task</th>
\t\t\t\t\t\t\t\t<th class=\"text-center\">Overdue Days</th>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</thead>
\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\tCity Portal
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t<td>UI/UX Implementation</td>
\t\t\t\t\t\t\t\t<td class=\"text-center\">
\t\t\t\t\t\t\t\t\t<span class=\"text-danger\">
\t\t\t\t\t\t\t\t\t\t12
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</tbody>
\t\t\t\t\t</table>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"col-md-6\">
\t\t\t<div class=\"card\">
\t\t\t\t<div class=\"card-header border-0\">
\t\t\t\t\t<h3 class=\"card-title\">Upcoming Tasks</h3>
\t\t\t\t\t<div class=\"card-tools\">
\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-tool btn-sm\">
\t\t\t\t\t\t\t<i class=\"fas fa-bars\"></i>
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"card-body table-responsive p-0\">
\t\t\t\t\t<table class=\"table table-striped table-valign-middle\">
\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<th>Project</th>
\t\t\t\t\t\t\t\t<th>Task</th>
\t\t\t\t\t\t\t\t<th class=\"text-center\">Due Date</th>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</thead>
\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\tDemo
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t<td>Task Name</td>
\t\t\t\t\t\t\t\t<td class=\"text-center\">
\t\t\t\t\t\t\t\t\t<span class=\"bg-warning p-2\">
\t\t\t\t\t\t\t\t\t\tAugust 18, 2021
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t</tbody>
\t\t\t\t\t</table>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
{% endblock %}
{% block javascripts %}
\t<script src=\"{{ asset('assets/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js')}}\"></script>
\t<script>
\t \$('#calendar').datetimepicker({
format: 'L',
inline: true
})
</script>
{% endblock %}
", "dashboard/index.html.twig", "/var/www/project.digitalethiopia.gov.et/templates/dashboard/index.html.twig");
}
}