<?php

/* GestionBundle:Composant:index.html.twig */
class __TwigTemplate_1e7e74485bd2694dd95f199060d62c0b38c32aeee99be78d42e58cefb5ef0ff3 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("GestionBundle:Layout:baseAdmin.html.twig", "GestionBundle:Composant:index.html.twig", 1);
        $this->blocks = array(
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "GestionBundle:Layout:baseAdmin.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_95f38b9a45e7fd69ee8bb6f61fe4430c61d9ee2b4a32d0da8437b707eeef64e5 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_95f38b9a45e7fd69ee8bb6f61fe4430c61d9ee2b4a32d0da8437b707eeef64e5->enter($__internal_95f38b9a45e7fd69ee8bb6f61fe4430c61d9ee2b4a32d0da8437b707eeef64e5_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "GestionBundle:Composant:index.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_95f38b9a45e7fd69ee8bb6f61fe4430c61d9ee2b4a32d0da8437b707eeef64e5->leave($__internal_95f38b9a45e7fd69ee8bb6f61fe4430c61d9ee2b4a32d0da8437b707eeef64e5_prof);

    }

    // line 4
    public function block_content($context, array $blocks = array())
    {
        $__internal_496bfd8ea8a9c28c36d5ec2816f83dd5381584be180906ba9626d9e85bac363d = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_496bfd8ea8a9c28c36d5ec2816f83dd5381584be180906ba9626d9e85bac363d->enter($__internal_496bfd8ea8a9c28c36d5ec2816f83dd5381584be180906ba9626d9e85bac363d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));

        // line 5
        echo "    <nav class=\"navbar navbar-fixed-top navbar-dark bg-inverse\">
        <a class=\"navbar-brand\" href=\"";
        // line 6
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_homepage");
        echo "\" style=\"margin-right: 100px\">GPC : Espace Admin</a>
        <ul class=\"nav navbar-nav\">
            <li class=\"nav-item\">
                <a class=\"nav-link active\" href=\"";
        // line 9
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("composant_index");
        echo "\">Composant Logiciel<span class=\"sr-only\">(current)</span></a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 12
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("produit_index");
        echo "\">Produit Logiciel</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 15
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("version_index");
        echo "\">Version Composant</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 18
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("version_produit_index");
        echo "\">Version Produit</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"";
        // line 21
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_homepage_users");
        echo "\">Utilisateur</a>
            </li>
            <li class=\"nav-item\">
                <a style=\"margin-left: 150px;\" class=\"nav-link\" href=\"";
        // line 24
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("fos_user_security_logout");
        echo "\">Déconnexion</a>
            </li>
        </ul>
    </nav>

    <div class=\"container\">
        <div class=\"starter-template\">
            <h1>List des Composants Logiciel</h1>
            <br>
            <div style=\"text-align: left; margin: 10px;\">
                <a class=\"btn btn-primary\" href=\"";
        // line 34
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("composant_new");
        echo "\">Ajouter</a>
            </div>
            <table class=\"table table-striped\" style=\"text-align: left\">
                <thead>
                    <tr>
                        <th>Id</th>
                        <th>Titre</th>
                        <th>Type</th>
                        <th>Nature</th>
                        <th>Licence</th>
                        <th>Cout</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                    ";
        // line 49
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["composants"]) ? $context["composants"] : $this->getContext($context, "composants")));
        foreach ($context['_seq'] as $context["_key"] => $context["composant"]) {
            // line 50
            echo "                        <tr>
                            <td><a href=\"";
            // line 51
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("composant_show", array("id" => $this->getAttribute($context["composant"], "id", array()))), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute($context["composant"], "id", array()), "html", null, true);
            echo "</a></td>
                            <td>";
            // line 52
            echo twig_escape_filter($this->env, $this->getAttribute($context["composant"], "titre", array()), "html", null, true);
            echo "</td>
                            <td>";
            // line 53
            echo twig_escape_filter($this->env, $this->getAttribute($context["composant"], "type", array()), "html", null, true);
            echo "</td>
                            <td>";
            // line 54
            echo twig_escape_filter($this->env, $this->getAttribute($context["composant"], "nature", array()), "html", null, true);
            echo "</td>
                            <td>";
            // line 55
            echo twig_escape_filter($this->env, $this->getAttribute($context["composant"], "licence", array()), "html", null, true);
            echo "</td>
                            <td>";
            // line 56
            echo twig_escape_filter($this->env, $this->getAttribute($context["composant"], "cout", array()), "html", null, true);
            echo "</td>
                            <td>
                                <a class=\"btn\" href=\"";
            // line 58
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("composant_show", array("id" => $this->getAttribute($context["composant"], "id", array()))), "html", null, true);
            echo "\"><i class=\"fa fa-list-alt\"></i></a>

                                <a class=\"btn\" href=\"";
            // line 60
            echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("composant_edit", array("id" => $this->getAttribute($context["composant"], "id", array()))), "html", null, true);
            echo "\"><i class=\"fa fa-pencil-square-o\"></i></a>
                            </td>
                        </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['composant'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 64
        echo "                </tbody>
            </table>
        </div>

    </div>
";
        
        $__internal_496bfd8ea8a9c28c36d5ec2816f83dd5381584be180906ba9626d9e85bac363d->leave($__internal_496bfd8ea8a9c28c36d5ec2816f83dd5381584be180906ba9626d9e85bac363d_prof);

    }

    public function getTemplateName()
    {
        return "GestionBundle:Composant:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  159 => 64,  149 => 60,  144 => 58,  139 => 56,  135 => 55,  131 => 54,  127 => 53,  123 => 52,  117 => 51,  114 => 50,  110 => 49,  92 => 34,  79 => 24,  73 => 21,  67 => 18,  61 => 15,  55 => 12,  49 => 9,  43 => 6,  40 => 5,  34 => 4,  11 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("{% extends 'GestionBundle:Layout:baseAdmin.html.twig' %}


{% block content %}
    <nav class=\"navbar navbar-fixed-top navbar-dark bg-inverse\">
        <a class=\"navbar-brand\" href=\"{{path('admin_homepage')}}\" style=\"margin-right: 100px\">GPC : Espace Admin</a>
        <ul class=\"nav navbar-nav\">
            <li class=\"nav-item\">
                <a class=\"nav-link active\" href=\"{{path('composant_index')}}\">Composant Logiciel<span class=\"sr-only\">(current)</span></a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('produit_index')}}\">Produit Logiciel</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('version_index')}}\">Version Composant</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('version_produit_index')}}\">Version Produit</a>
            </li>
            <li class=\"nav-item\">
                <a class=\"nav-link\" href=\"{{path('admin_homepage_users')}}\">Utilisateur</a>
            </li>
            <li class=\"nav-item\">
                <a style=\"margin-left: 150px;\" class=\"nav-link\" href=\"{{ path('fos_user_security_logout') }}\">Déconnexion</a>
            </li>
        </ul>
    </nav>

    <div class=\"container\">
        <div class=\"starter-template\">
            <h1>List des Composants Logiciel</h1>
            <br>
            <div style=\"text-align: left; margin: 10px;\">
                <a class=\"btn btn-primary\" href=\"{{ path('composant_new') }}\">Ajouter</a>
            </div>
            <table class=\"table table-striped\" style=\"text-align: left\">
                <thead>
                    <tr>
                        <th>Id</th>
                        <th>Titre</th>
                        <th>Type</th>
                        <th>Nature</th>
                        <th>Licence</th>
                        <th>Cout</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                    {% for composant in composants %}
                        <tr>
                            <td><a href=\"{{ path('composant_show', { 'id': composant.id }) }}\">{{ composant.id }}</a></td>
                            <td>{{ composant.titre }}</td>
                            <td>{{ composant.type }}</td>
                            <td>{{ composant.nature }}</td>
                            <td>{{ composant.licence }}</td>
                            <td>{{ composant.cout }}</td>
                            <td>
                                <a class=\"btn\" href=\"{{ path('composant_show', { 'id': composant.id }) }}\"><i class=\"fa fa-list-alt\"></i></a>

                                <a class=\"btn\" href=\"{{ path('composant_edit', { 'id': composant.id }) }}\"><i class=\"fa fa-pencil-square-o\"></i></a>
                            </td>
                        </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>

    </div>
{% endblock content %}", "GestionBundle:Composant:index.html.twig", "/home/ferchich/public_html/extension/gpc/src/GestionBundle/Resources/views/Composant/index.html.twig");
    }
}
