templates/registration/registration_student_pre_registration/_table.html.twig line 1

Open in your IDE?
  1. {# <nav aria-label="Page navigation example">
  2.     {{ knp_pagination_render(registration_student_pre_registrations) }}
  3. </nav>
  4. <br> #}
  5. <div class="table-responsive">
  6.     <table class="align-middle mb-0 table table-bordered">
  7.         <thead>
  8.             <tr>
  9.                 <th>Mle National</th>
  10.                 <th>Code Préinscription</th>
  11.                 <th>Nom</th>
  12.                 <th>Prénoms</th>
  13.                 <th class="text-center"></th>
  14.             </tr>
  15.         </thead>
  16.         <tbody>
  17.             <tr>
  18.                 <form 
  19.                     action="#" 
  20.                     role="search"
  21.                     hx-post="{{ path('registration_student_pre_registration_searh_table')}}" 
  22.                     hx-trigger="load, submit" 
  23.                     hx-target="#search-results" 
  24.                     hx-indicator=".htmx-indicator">
  25.                     <td>
  26.                         <input type="text" class="form-control" name="registrationNumber" id="registrationNumber" placeholder="Matricule national" style="border-bottom: 4px solid #ddd;" />
  27.                     </td>
  28.                     <td>
  29.                         <input type="text" class="form-control" name="code" id="code" placeholder="Code Préinscription" style="border-bottom: 4px solid #ddd;" /></td>
  30.                     <td>
  31.                         <input type="text" class="form-control" name="lastName" id="lastName" placeholder="Nom" style="border-bottom: 4px solid #ddd;" />
  32.                     </td>
  33.                     <td>
  34.                         <input type="text" class="form-control" name="firstName" id="firstName" placeholder="Prénoms" style="border-bottom: 4px solid #ddd;" />
  35.                     </td>
  36.                     <td class="text-center">
  37.                         <button class="btn btn-primary"type="submit">
  38.                             <i class="fa fa-search"></i> &nbsp;Rechercher
  39.                         </button>
  40.                     </td>
  41.                 </form>
  42.             </tr>
  43.         </tbody>
  44.     </table>
  45.     <br>
  46.     <span class="htmx-indicator text-danger"> 
  47.         <img src="{{ asset('spinner-3.gif') }}" width="20" />
  48.         &nbsp;Recherche en cour... 
  49.     </span>
  50.     <table class="display table table-striped table-bordered">
  51.         <thead>
  52.             <tr>
  53.                 <th class="text-center" width="5%">
  54.                     <input type="checkbox" id="check-all" onclick="javascript:checkAllElt()">
  55.                 </th>
  56.                 <th>Code</th>
  57.                 <th>Mle national</th>
  58.                 <th>Nom & Prénoms</th>
  59.                 <th>Date de naissance</th>
  60.                 <th>Contact</th>
  61.                 <th class="text-center">Etat</th>
  62.                 <th class="text-center">Statut</th>
  63.                 <th class="text-center" width="10%">Actions</th>
  64.             </tr>
  65.         </thead>
  66.         <tbody id="search-results"></tbody>
  67.     </table>
  68. </div>{# 
  69. <br>
  70. <nav aria-label="Page navigation example">
  71.     {{ knp_pagination_render(registration_student_pre_registrations) }}
  72. </nav> #}