<?php

/* VGMWOBundle:Planning:planning_board.html.twig */
class __TwigTemplate_17542fd4209028d5667a845509669cbf4fbcb41efe022d2816d123d3e2deec82 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("VGMWOBundle::layout.html.twig", "VGMWOBundle:Planning:planning_board.html.twig", 1);
        $this->blocks = array(
            'stylesheets' => array($this, 'block_stylesheets'),
            'content' => array($this, 'block_content'),
            'open_tasks' => array($this, 'block_open_tasks'),
            'task_updater' => array($this, 'block_task_updater'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "VGMWOBundle::layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 2
    public function block_stylesheets($context, array $blocks = array())
    {
        // line 3
        echo "    ";
        $this->displayParentBlock("stylesheets", $context, $blocks);
        echo "
    <link href=\"";
        // line 4
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/css/bootstrap-datetimepicker.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" media=\"screen\">
    <link href=\"";
        // line 5
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/css/jquery-ui.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" media=\"screen\">
    <link href=\"";
        // line 6
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/css/dataTables.jqueryui.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" media=\"screen\">
";
    }

    // line 8
    public function block_content($context, array $blocks = array())
    {
        // line 9
        echo "    <div class=\"container\" style=\"min-height: 500px; margin-top: 1.5vmin;\">
        <div class=\"panel-group\" id=\"active_accordion\"
             data-bind=\"foreach: units\">
            <div class=\"panel panel-default\">
                <div class=\"panel-heading container-fluid\"
                     style=\"cursor: pointer;\"
                     data-toggle=\"collapse\"
                     data-bind=\"attr:{href: '#' + id}\">
                    <div style=\"text-decoration: underline; font-size: 2vmin;\"
                         data-bind=\"text: name\">
                    </div>
                </div>
                <div class=\"panel-collapse collapse in\"
                     data-bind=\"attr:{id: id}\">
                    <div class=\"panel-body\">
                        <div class=\"col-lg-12\">
                            <ul class=\"nav nav-tabs\" role=\"tablist\">
                                <li class=\"active\"><a data-bind=\"attr:{href: '#open' + id}\" role=\"tab\" data-toggle=\"tab\">Open Tasks</a></li>
                                <li><a data-bind=\"attr:{href: '#dismissed' + id}\" role=\"tab\" data-toggle=\"tab\">Finished Tasks</a></li>
                                <li><a data-bind=\"attr:{href: '#finished' + id}\" role=\"tab\" data-toggle=\"tab\">Dismissed Tasks</a></li>
                            </ul>

                            <!-- Tab panes -->
                            <div class=\"tab-content\">
                                ";
        // line 33
        $this->displayBlock('open_tasks', $context, $blocks);
        // line 36
        echo "                                <div class=\"tab-pane\"
                                     data-bind=\"attr:{id: 'dismissed' + id}\">
                                    <div class=\"col-lg-12\">
                                        <a style=\"display: inline-block; margin-left: 1vmin; color: #428bca;\"
                                           href=\"#\">
                                            <span class=\"glyphicon glyphicon-plus\"></span>
                                        </a>
                                    </div>
                                 </div>
                                <div class=\"tab-pane\"
                                     data-bind=\"attr:{id: 'finished' + id}\">
                                    <div class=\"col-lg-12\">
                                        <a style=\"display: inline-block; margin-left: 1vmin; color: #428bca;\"
                                           href=\"#\">
                                            <span class=\"glyphicon glyphicon-plus\"></span>
                                        </a>
                                    </div>
                                 </div>
                            </div>
                            <div class=\"col-lg-12\">

                            </div>
                        </div>
                        ";
        // line 85
        echo "                    </div>
                </div>
            </div>
        </div>
    </div>
    ";
        // line 90
        $this->displayBlock('task_updater', $context, $blocks);
    }

    // line 33
    public function block_open_tasks($context, array $blocks = array())
    {
        // line 34
        echo "                                    ";
        $this->loadTemplate("VGMWOBundle:Planning:open_tasks.html.twig", "VGMWOBundle:Planning:planning_board.html.twig", 34)->display($context);
        // line 35
        echo "                                ";
    }

    // line 90
    public function block_task_updater($context, array $blocks = array())
    {
        // line 91
        echo "        ";
        $this->loadTemplate("VGMWOBundle:Planning:task_updater_panel.html.twig", "VGMWOBundle:Planning:planning_board.html.twig", 91)->display($context);
        // line 92
        echo "    ";
    }

    // line 94
    public function block_javascripts($context, array $blocks = array())
    {
        // line 95
        echo "    ";
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
    <script type=\"text/javascript\" src=\"";
        // line 96
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/bootstrap-datetimepicker.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 97
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/Planning/PlanningTasks.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\">
        \$(document).ready(function() {
            viewModel.get_tasks();
            loadPageFeatures();
        });
        function getURLGETTasks(){
            var url = \"";
        // line 104
        echo $this->env->getExtension('routing')->getPath("task_get_tasks");
        echo "\";
            return url;
        }
        // Activates knockout.js
        ko.applyBindings(viewModel, document.getElementById(\"content-body\"));
    </script>
";
    }

    public function getTemplateName()
    {
        return "VGMWOBundle:Planning:planning_board.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  163 => 104,  153 => 97,  149 => 96,  144 => 95,  141 => 94,  137 => 92,  134 => 91,  131 => 90,  127 => 35,  124 => 34,  121 => 33,  117 => 90,  110 => 85,  85 => 36,  83 => 33,  57 => 9,  54 => 8,  48 => 6,  44 => 5,  40 => 4,  35 => 3,  32 => 2,  11 => 1,);
    }
}
