<?php

/* install/step1.html.twig */
class __TwigTemplate_de0fbb0105a1bc9b636ef2ef445ab89262e913b3da43870e40f37909b7b45fd3 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("install/install.html.twig", "install/step1.html.twig", 1);
        $this->blocks = array(
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "install/install.html.twig";
    }

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

    // line 3
    public function block_content($context, array $blocks = array())
    {
        // line 4
        echo "    <div id=\"step_1\">
        ";
        // line 5
        if ((isset($context["fatal"]) ? $context["fatal"] : null)) {
            // line 6
            echo "            <div class=\"row\">
                <div class=\"col-md-10\">
                    <div class=\"alert alert-danger\">
                        ";
            // line 9
            echo gettext("A instalação não pode continuar enquanto os requisitos abaixos não forem satisfeitos. Favor verificar os itens em destaque.");
            // line 10
            echo "
                    </div>
                </div>
                <div class=\"col-md-2\">
                    <button type=\"button\" class=\"btn btn-default\" onclick=\"window.location.reload()\">
                        <span class=\"glyphicon glyphicon-refresh\"></span>
                        ";
            // line 16
            echo gettext("Recarregar");
            // line 17
            echo "                    </button>
                </div>
            </div>
        ";
        }
        // line 21
        echo "        <div class=\"requirement\">
            <h2>";
        // line 22
        echo gettext("Requerimentos Mínimos");
        echo "</h2>
            <table class=\"table table-striped\">
                <thead>
                    <tr>
                        <th>";
        // line 26
        echo gettext("Nome");
        echo "</th>
                        <th>";
        // line 27
        echo gettext("Versão requerida");
        echo "</th>
                        <th>";
        // line 28
        echo gettext("Versão instalada");
        echo "</th>
                    </tr>
                </thead>
                <tbody>
                    ";
        // line 32
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["requiredsSetup"]) ? $context["requiredsSetup"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 33
            echo "                    <tr class=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()), "html", null, true);
            echo "\">
                        <td>";
            // line 34
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "name", array()), "html", null, true);
            echo "</td>
                        <td>";
            // line 35
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "version_required", array()), "html", null, true);
            echo "</td>
                        <td class=\"result\">";
            // line 36
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "result", array()), "html", null, true);
            echo "</td>
                    </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 39
        echo "                </tbody>
            </table>
        </div>
        <div class=\"requirement\">
            <h2>";
        // line 43
        echo gettext("Permissões Requeridas");
        echo "</h2>
            <table class=\"table table-striped\">
                <thead>
                    <tr>
                        <th>";
        // line 47
        echo gettext("Arquivo");
        echo " / ";
        echo gettext("Diretório");
        echo "</th>
                        <th></th>
                        <th>";
        // line 49
        echo gettext("Permissão requerida");
        echo "</th>
                        <th>";
        // line 50
        echo gettext("Permissão atual");
        echo "</th>
                    </tr>
                </thead>
                <tbody>
                    ";
        // line 54
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["requiredsPermission"]) ? $context["requiredsPermission"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 55
            echo "                    <tr class=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()), "html", null, true);
            echo "\">
                        <td>";
            // line 56
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "label", array()), "html", null, true);
            echo "</td>
                        <td>";
            // line 57
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "file", array()), "html", null, true);
            echo "</td>
                        <td>";
            // line 58
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "required", array()), "html", null, true);
            echo "</td>
                        <td class=\"result\">";
            // line 59
            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "result", array()), "html", null, true);
            echo "</td>
                    </tr>
                    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 62
        echo "                </tbody>
            </table>
        </div>
        <div class=\"requirement\">
            <h2>";
        // line 66
        echo gettext("Informações do Ambiente");
        echo "</h2>
            <table class=\"table table-striped\">
                <thead>
                    <tr>
                        <th>";
        // line 70
        echo gettext("Info");
        echo "</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>";
        // line 76
        echo gettext("Sistema Operacional");
        echo "</td>
                        <td>";
        // line 77
        echo twig_escape_filter($this->env, (isset($context["php_uname"]) ? $context["php_uname"] : null), "html", null, true);
        echo "</td>
                    </tr>
                    <tr>
                        <td>";
        // line 80
        echo gettext("Banco de dados escolhido");
        echo "</td>
                        <td>";
        // line 81
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["adapter"]) ? $context["adapter"] : null), "rdms", array()), "html", null, true);
        echo "</td>
                    </tr>
                    <tr>
                        <td>";
        // line 84
        echo gettext("Server API");
        echo "</td>
                        <td>";
        // line 85
        echo twig_escape_filter($this->env, (isset($context["php_sapi_name"]) ? $context["php_sapi_name"] : null), "html", null, true);
        echo "</td>
                    </tr>
                    <tr>
                        <td>";
        // line 88
        echo gettext("Timezone");
        echo "</td>
                        <td>";
        // line 89
        echo twig_escape_filter($this->env, (isset($context["timezone"]) ? $context["timezone"] : null), "html", null, true);
        echo "</td>
                    </tr>
                    <tr>
                        <td>";
        // line 92
        echo gettext("PHP Info");
        echo "</td>
                        <td><a href=\"";
        // line 93
        echo twig_escape_filter($this->env, $this->env->getExtension('slim')->base(), "html", null, true);
        echo "/install/info\" target=\"_blank\">";
        echo gettext("Visualizar");
        echo "</a></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
";
    }

    public function getTemplateName()
    {
        return "install/step1.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  237 => 93,  233 => 92,  227 => 89,  223 => 88,  217 => 85,  213 => 84,  207 => 81,  203 => 80,  197 => 77,  193 => 76,  184 => 70,  177 => 66,  171 => 62,  162 => 59,  158 => 58,  154 => 57,  150 => 56,  145 => 55,  141 => 54,  134 => 50,  130 => 49,  123 => 47,  116 => 43,  110 => 39,  101 => 36,  97 => 35,  93 => 34,  88 => 33,  84 => 32,  77 => 28,  73 => 27,  69 => 26,  62 => 22,  59 => 21,  53 => 17,  51 => 16,  43 => 10,  41 => 9,  36 => 6,  34 => 5,  31 => 4,  28 => 3,  11 => 1,);
    }
}
