templates/health_facility/index.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}Health Facilities{% endblock %}
  3. {% block content %}
  4.     <div class="kt-subheader kt-grid__item"></div>
  5.     <div class="kt-container kt-grid__item kt-grid__item--fluid">
  6.         <div class="kt-portlet kt-portlet--mobile">
  7.             <div class="kt-portlet__head kt-portlet__head--lg">
  8.                 <div class="kt-portlet__head-label">
  9.                     <h3 class="kt-portlet__head-title">Health Facilities</h3>
  10.                 </div>
  11.             </div>
  12.             <div class="kt-portlet__body">
  13.                 <table class="table">
  14.                     <thead>
  15.                         <tr>
  16.                             <th class="text-right">Sr. No.</th>
  17.                             <th>Facility</th>
  18.                             <th class="text-right">Population (Tribal)</th>
  19.                             <th class="text-right">Population (Non-tribal)</th>
  20.                             <th class="text-right">As per RHS</th>
  21.                             <th class="text-right">Existing</th>
  22.                             <th class="text-right">Gap</th>
  23.                             <th class="text-right">Gap %</th>
  24.                         </tr>
  25.                     </thead>
  26.                     <tbody>
  27.                         {% for facility in facilities %}
  28.                             <tr>
  29.                                 <td class="text-right">{{ loop.index }}</td>
  30.                                 <td>
  31.                                     <a href="{{ path('health_facility_district') }}" data-toggle="kt-tooltip" title="View Details">{{ facility.facility }}</a>
  32.                                 </td>
  33.                                 <td class="text-right">{{ facility.population_t }}</td>
  34.                                 <td class="text-right">{{ facility.population_nt }}</td>
  35.                                 <td class="text-right">{{ facility.rhs }}</td>
  36.                                 <td class="text-right">{{ facility.existing }}</td>
  37.                                 <td class="text-right">{{ facility.gap }}</td>
  38.                                 <td class="text-right">{{ facility.gap_percent }}</td>
  39.                             </tr>
  40.                         {% else %}
  41.                             <tr>
  42.                                 <td colspan="8" class="text-center">No data found.</td>
  43.                             </tr>
  44.                         {% endfor %}
  45.                     </tbody>
  46.                 </table>
  47.             </div>
  48.         </div>
  49.     </div>
  50. {% endblock %}