index.html.twig 3.71 KB
{% extends 'UBVPrincipalBundle::inicio.html.twig' %}

{% block contenido %}
  <div class="row">
    <div class="col-lg-12">
      <div class="portlet">
        <div class="portlet-header">
          <div class="caption">Listado de Ambientes Universitarios</div>
        </div>
        <div class="portlet-body">
          <div class="table-tools">
            <div class="row">
              <div class="col-lg-4">
                <a href="{{ path('ambiente_new') }}">
                  <button type="button" class="btn btn-red mrs"><i class="fa fa-plus"></i>&nbsp;
                    Agregar
                  </button>
                </a>
                <a href="{{ path('ambiente_new') }}">
                  <button type="button" class="btn btn-primary mrs"><i
                      class="fa fa-filter"></i>&nbsp; Filtrar Lista
                  </button>
                </a>
                <a href="{{ path('ambiente_new') }}">
                  <button type="button" class="btn btn-default mrs"><i
                      class="fa fa-print"></i>&nbsp; Imprimir
                  </button>
                </a>
              </div>
              <div class="col-lg-3 pull-right">
                <div class="form-inline pull-right">
                  <div class="form-group"><label class="control-label">Buscar:</label>&nbsp;<input
                      type="text" class="form-control"/></div>
                </div>
              </div>
            </div>
          </div>
          <div class="table-responsive mtl">
            <table class="table table-striped table-bordered table-hover">
              <thead>
                <tr>
                  <th class="text-center">#</th>
                  <th>Descripci&oacute;n</th>
                  <th>C&oacute;digo</th>
                  <th>Direcci&oacute;n</th>
                  <th>Estado</th>
                  <th>Municipio</th>
                  <th>Parroquia</th>
                  <th class="text-center">Acciones</th>
                </tr>
              </thead>
              <tbody>
                {% for ambiente in ambientes %}
                  <tr>
                    <td><a href="{{ path('ambiente_show', { 'id': ambiente.id }) }}">{{ loop.index  }}</a></td>
                    <td>{{ ambiente.descripcion }}</td>
                    <td>{{ ambiente.codigo }}</td>
                    <td>{{ ambiente.direccion }}</td>
                    <td>{{ ambiente.coordenadasutmnorte }}</td>
                    <td>{{ ambiente.coordenadasutmoeste }}</td>
                    <td>{{ ambiente.parroquia }}</td>

                    <td class="text-center">
                      <a href="{{ path('ambiente_show', { 'id': ambiente.id }) }}"><span title="Mostrar" class="glyphicon text-info glyphicon-eye-open"></span></a>&nbsp;&nbsp;
                      <a href="{{ path('ambiente_edit', { 'id': ambiente.id }) }}"><span title="Editar" class="glyphicon text-warning glyphicon-edit"></span></a>&nbsp;&nbsp;
                      <a href="{{ path('ambiente_delete', { 'id': ambiente.id }) }}"><span title="Tablero" class="glyphicon text-orange glyphicon-stats"></span></a>&nbsp;&nbsp;
                    </td>
                  </tr>
                {% endfor %}
              </tbody>
            </table>
          </div>
          <div class="tool-footer text-right"><p class="pull-left">Mostrando del 1 al 10 de 57 Registros</p>
            <ul class="pagination">
              <li><a href="#">&laquo;</a></li>
              <li><a href="#">1</a></li>
              <li><a href="#">2</a></li>
              <li><a href="#">3</a></li>
              <li><a href="#">4</a></li>
              <li><a href="#">&raquo;</a></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
{% endblock %}