<?php

/* common/dashboard.twig */
class __TwigTemplate_6868ecc6aebcea7e956f9c4ba6114e1f043ae28e41650bc4c3d9d4663e4bbf46 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo (isset($context["header"]) ? $context["header"] : null);
        echo (isset($context["column_left"]) ? $context["column_left"] : null);
        echo "
<!-- Content Wrapper. Contains page content -->
<div id=\"content\" class=\"content-wrapper\">
  <!-- Content Header (Page header) -->
  <section class=\"content-header\">
    <div>
      <div class=\"pull-right\">
        <button type=\"button\" id=\"button-setting\" title=\"";
        // line 8
        echo (isset($context["button_setting"]) ? $context["button_setting"] : null);
        echo "\" data-loading-text=\"";
        echo (isset($context["text_loading"]) ? $context["text_loading"] : null);
        echo "\" class=\"btn btn-info btn-sm\"><i class=\"fa fa-cog\"></i> ";
        echo (isset($context["button_setting"]) ? $context["button_setting"] : null);
        echo "</button>
      </div>
      <h1>
        ";
        // line 11
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "
      </h1>
    </div>
    <div class=\"row\">
      <div class=\"col-sm-12\">
        <ul class=\"breadcrumb\">
          ";
        // line 17
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 18
            echo "          <li><a href=\"";
            echo $this->getAttribute($context["breadcrumb"], "href", array());
            echo "\">";
            echo $this->getAttribute($context["breadcrumb"], "text", array());
            echo "</a></li>
          ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 20
        echo "        </ul>
      </div>
    </div>
  </section>

  <!-- Alert -->
  <section class=\"content-header\">
    ";
        // line 27
        if ((isset($context["error_install"]) ? $context["error_install"] : null)) {
            // line 28
            echo "    <div class=\"alert alert-danger alert-dismissible\">
      <button type=\"button\" class=\"close pull-right\" data-dismiss=\"alert\">&times;</button>
      <i class=\"fa fa-exclamation-circle\"></i> ";
            // line 30
            echo (isset($context["error_install"]) ? $context["error_install"] : null);
            echo "
    </div>
    ";
        }
        // line 33
        echo "  </section>
  <!-- /.alert -->

  <!-- Main content -->
  <section class=\"content\">
    <!-- Small boxes (Stat box) -->
    ";
        // line 39
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["rows"]) ? $context["rows"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
            // line 40
            echo "    <div class=\"row\">
      ";
            // line 41
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["row"]);
            foreach ($context['_seq'] as $context["_key"] => $context["dashboard_1"]) {
                // line 42
                echo "        ";
                $context["class"] = sprintf("col-lg-%s %s", $this->getAttribute($context["dashboard_1"], "width", array()), "col-md-3 col-sm-6");
                // line 43
                echo "        ";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($context["row"]);
                foreach ($context['_seq'] as $context["_key"] => $context["dashboard_2"]) {
                    // line 44
                    echo "          ";
                    if (($this->getAttribute($context["dashboard_2"], "width", array()) > 3)) {
                        // line 45
                        echo "            ";
                        $context["class"] = sprintf("col-lg-%s %s", $this->getAttribute($context["dashboard_1"], "width", array()), "col-md-12 col-sm-12");
                        // line 46
                        echo "          ";
                    }
                    // line 47
                    echo "        ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dashboard_2'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 48
                echo "        <div class=\"";
                echo (isset($context["class"]) ? $context["class"] : null);
                echo "\">";
                echo $this->getAttribute($context["dashboard_1"], "output", array());
                echo "</div>
      ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dashboard_1'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 50
            echo "    </div>
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 52
        echo "    <!-- /.row -->
  </section>
  <!-- /.content -->
</div>
<!-- /.content-wrapper -->
";
        // line 57
        echo (isset($context["security"]) ? $context["security"] : null);
        echo "
  <script type=\"text/javascript\"><!--
\$('#button-setting').on('click', function() {
\t\$.ajax({
\t\turl: 'index.php?route=common/developer&user_token=";
        // line 61
        echo (isset($context["user_token"]) ? $context["user_token"] : null);
        echo "',
\t\tdataType: 'html',
\t\tbeforeSend: function() {
\t\t\t\$('#button-setting').button('loading');
\t\t},
\t\tcomplete: function() {
\t\t\t\$('#button-setting').button('reset');
\t\t},
\t\tsuccess: function(html) {
\t\t\t\$('#modal-developer').remove();
\t\t\t
\t\t\t\$('body').prepend('<div id=\"modal-developer\" class=\"modal\">' + html + '</div>');
\t\t\t
\t\t\t\$('#modal-developer').modal('show');
\t\t},
\t\terror: function(xhr, ajaxOptions, thrownError) {
\t\t\talert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);
\t\t}
\t});\t
});\t
//--></script> 
";
        // line 82
        echo (isset($context["footer"]) ? $context["footer"] : null);
    }

    public function getTemplateName()
    {
        return "common/dashboard.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  183 => 82,  159 => 61,  152 => 57,  145 => 52,  138 => 50,  127 => 48,  121 => 47,  118 => 46,  115 => 45,  112 => 44,  107 => 43,  104 => 42,  100 => 41,  97 => 40,  93 => 39,  85 => 33,  79 => 30,  75 => 28,  73 => 27,  64 => 20,  53 => 18,  49 => 17,  40 => 11,  30 => 8,  19 => 1,);
    }
}
/* {{ header }}{{ column_left }}*/
/* <!-- Content Wrapper. Contains page content -->*/
/* <div id="content" class="content-wrapper">*/
/*   <!-- Content Header (Page header) -->*/
/*   <section class="content-header">*/
/*     <div>*/
/*       <div class="pull-right">*/
/*         <button type="button" id="button-setting" title="{{ button_setting }}" data-loading-text="{{ text_loading }}" class="btn btn-info btn-sm"><i class="fa fa-cog"></i> {{ button_setting }}</button>*/
/*       </div>*/
/*       <h1>*/
/*         {{ heading_title }}*/
/*       </h1>*/
/*     </div>*/
/*     <div class="row">*/
/*       <div class="col-sm-12">*/
/*         <ul class="breadcrumb">*/
/*           {% for breadcrumb in breadcrumbs %}*/
/*           <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/*           {% endfor %}*/
/*         </ul>*/
/*       </div>*/
/*     </div>*/
/*   </section>*/
/* */
/*   <!-- Alert -->*/
/*   <section class="content-header">*/
/*     {% if error_install %}*/
/*     <div class="alert alert-danger alert-dismissible">*/
/*       <button type="button" class="close pull-right" data-dismiss="alert">&times;</button>*/
/*       <i class="fa fa-exclamation-circle"></i> {{ error_install }}*/
/*     </div>*/
/*     {% endif %}*/
/*   </section>*/
/*   <!-- /.alert -->*/
/* */
/*   <!-- Main content -->*/
/*   <section class="content">*/
/*     <!-- Small boxes (Stat box) -->*/
/*     {% for row in rows %}*/
/*     <div class="row">*/
/*       {% for dashboard_1 in row %}*/
/*         {% set class = 'col-lg-%s %s'|format(dashboard_1.width, 'col-md-3 col-sm-6') %}*/
/*         {% for dashboard_2 in row %}*/
/*           {% if dashboard_2.width > 3 %}*/
/*             {% set class = 'col-lg-%s %s'|format(dashboard_1.width, 'col-md-12 col-sm-12') %}*/
/*           {% endif %}*/
/*         {% endfor %}*/
/*         <div class="{{ class }}">{{ dashboard_1.output }}</div>*/
/*       {% endfor %}*/
/*     </div>*/
/*     {% endfor %}*/
/*     <!-- /.row -->*/
/*   </section>*/
/*   <!-- /.content -->*/
/* </div>*/
/* <!-- /.content-wrapper -->*/
/* {{ security }}*/
/*   <script type="text/javascript"><!--*/
/* $('#button-setting').on('click', function() {*/
/* 	$.ajax({*/
/* 		url: 'index.php?route=common/developer&user_token={{ user_token }}',*/
/* 		dataType: 'html',*/
/* 		beforeSend: function() {*/
/* 			$('#button-setting').button('loading');*/
/* 		},*/
/* 		complete: function() {*/
/* 			$('#button-setting').button('reset');*/
/* 		},*/
/* 		success: function(html) {*/
/* 			$('#modal-developer').remove();*/
/* 			*/
/* 			$('body').prepend('<div id="modal-developer" class="modal">' + html + '</div>');*/
/* 			*/
/* 			$('#modal-developer').modal('show');*/
/* 		},*/
/* 		error: function(xhr, ajaxOptions, thrownError) {*/
/* 			alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);*/
/* 		}*/
/* 	});	*/
/* });	*/
/* //--></script> */
/* {{ footer }}*/
