{% include 'panel/p_header.twig' %}
      <!-- Controles numéricos -->
      <section class="dashboard-counts section-padding">
        <div class="container-fluid">
          <div class="row">
            <div class="col-xl-3 col-md-4 col-6">
              <div class="wrapper count-title d-flex">
                <div class="icon"><i class="icon-eye"></i></div>
                <div class="name"><strong class="text-uppercase">Tests</strong><span>Controles activos</span>
                  <div class="count-number">{{data.checks}}</div>
                </div>
              </div>
            </div>
            <div class="col-xl-3 col-md-4 col-6">
              <div class="wrapper count-title d-flex">
                <div class="icon"><i class="icon-exclamation-triangle"></i></div>
                <div class="name"><strong class="text-uppercase">Test erróneos</strong><span>Desde el {{data.errinidate}}</span>
                  <div class="count-number">{{data.err}}</div>
                </div>
              </div>
            </div>
            <!--<div class="col-xl-2 col-md-4 col-6">
              <div class="wrapper count-title d-flex">
                <div class="icon"><i class="icon-padnote"></i></div>
                <div class="name"><strong class="text-uppercase">Incidencias</strong><span>Desde el</span>
                  <div class="count-number">{{data.err}}</div>
                </div>
              </div>
            </div>-->
          </div><!--Row-->
        </div>
      </section>

<!-- Lastest fails -->
<section class="updates section-padding">
        <div class="container-fluid">
          <div class="row">
            <div class="col-lg-12">
              
              <div class="wrapper recent-updated"> 
                <div id="new-updates" class="card-header d-flex justify-content-between align-items-center">
                  <h2 class="h5 display"><a data-toggle="collapse" data-parent="#accordion" href="#upadtes-box" aria-expanded="true" aria-controls="upadtes-box">Ultimos fallos</a></h2>
                </div>
                <div id="upadtes-box" role="tabpanel" class="collapse show">
                  <ul class="news list-unstyled">
                    <!-- Item-->
                    {% for fail in fails %}
                    <li class="d-flex justify-content-between"> 
                      <div class="left-col d-flex">
                        <div class="icon"><i class="icon-times"></i></div>
                        <div class="title">{{fail.name}} - <strong>{{fail.groupName}}</strong>
                          <p>{{fail.typeCheck}}</p>
                        </div>
                      </div>
                      <div class="right-col text-right">
                        <div class="update-date">{{fail.date}}<span class="month">{{fail.hour}}</span></div>
                      </div>
                    </li>
                    {% endfor %}
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>



{% include 'footer.twig' %}