templates/templates/pages/center/center-schedule-classroom.html.twig line 1

Open in your IDE?
  1. {% extends "layouts/organization.html.twig" %}
  2. {% block bodyClass %}{% endblock %}
  3. {% block siteHeader %}
  4.     {% include 'organisms/organization-header.html.twig' %}
  5. {% endblock %}
  6. {% block pageHeader %}
  7.     <usc-page-header>
  8.         <template v-slot:breadcrumb>
  9.             <ol class="at-breadcrumb">
  10.                 <li class="breadcrumb-item"><a href="{{ path('center-schedule') }}">Horarios</a></li>
  11.                 <li class="breadcrumb-item"><a href="{{ path('center-schedule-classroom-list') }}">Aulas</a></li>
  12.             </ol>
  13.         </template>
  14.         <h1 class="at-title">Nome da aula</h1>
  15.         <template v-slot:filters>
  16.             <div class="ml-filters-group">
  17.                 <div data-drupal-selector="edit-container" id="edit-container" class="form-group has-button is-minimal js-form-wrapper form-wrapper">
  18.                     <div class="js-form-item form-item js-form-type-date form-item-from js-form-item-from form-no-label">
  19.                         <input type="date" data-drupal-selector="edit-from" data-drupal-date-format="Y-m-d" id="edit-from" name="from" value="2021-04-14" required="required" aria-required="true" class="form-date required form-control">
  20.                     </div>
  21.                     <input data-drupal-selector="edit-view" type="submit" id="edit-view" name="op" value="Ver" class="button js-form-submit form-submit form-control load-date-filter">
  22.                     <div class="ajax-progress ajax-progress-throbber is-hidden">
  23.                         <div class="throbber">&nbsp;</div>
  24.                         <div class="message">Espere, por favor...</div>
  25.                     </div>
  26.                 </div>
  27.             </div>
  28.         </template>
  29.     </usc-page-header>
  30. {% endblock %}
  31. {% block pageContent %}
  32.     <section class="org-tier">
  33.         <div class="tier-content" id="date-container">
  34.             <div class="row is-type-1">
  35.                 <div class="col-md-6 col-lg-6">
  36.                     <table class="ml-table is-primary has-align-top is-monday">
  37.                         <thead>
  38.                         <tr>
  39.                             <th colspan="2">Mañá</th>
  40.                         </tr>
  41.                         </thead>
  42.                         <tbody>
  43.                         <tr>
  44.                             <td class="col-20">00:00-00:00</td>
  45.                             <td>
  46.                                 <ul class="is-unstyled-list">
  47.                                   <li>Nome da materia agrupado polo nome de contido / Outro nome da materia agrupado polo nome de contido</li>
  48.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  49.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  50.                                 </ul>
  51.                             </td>
  52.                         </tr>
  53.                         <tr>
  54.                             <td class="col-20">00:00-00:00</td>
  55.                             <td>
  56.                                 <ul class="is-unstyled-list">
  57.                                   <li>Nome da materia agrupado polo nome de contido</li>
  58.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  59.                                 </ul>
  60.                             </td>
  61.                         </tr>
  62.                         <tr>
  63.                             <td class="col-20">00:00-00:00</td>
  64.                             <td>
  65.                                 <ul class="is-unstyled-list">
  66.                                   <li>Nome da materia agrupado polo nome de contido</li>
  67.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  68.                                 </ul>
  69.                             </td>
  70.                         </tr>
  71.                         <tr>
  72.                             <td class="col-20">00:00-00:00</td>
  73.                             <td>
  74.                                 <ul class="is-unstyled-list">
  75.                                     <li>Nome da materia agrupado polo nome de contido</li>
  76.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  77.                                 </ul>
  78.                             </td>
  79.                         </tr>
  80.                         </tbody>
  81.                     </table>
  82.                 </div>
  83.                 <div class="col-md-6 col-lg-6">
  84.                     <table class="ml-table is-primary has-align-top">
  85.                         <thead>
  86.                         <tr>
  87.                             <th colspan="2">Tarde</th>
  88.                         </tr>
  89.                         </thead>
  90.                         <tbody>
  91.                         <tr>
  92.                             <td class="col-20">00:00-00:00</td>
  93.                             <td>
  94.                                 <ul class="is-unstyled-list">
  95.                                   <li>Nome da materia agrupado polo nome de contido</li>
  96.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  97.                                 </ul>
  98.                             </td>
  99.                         </tr>
  100.                         <tr>
  101.                             <td class="col-20">00:00-00:00</td>
  102.                             <td>
  103.                                 <ul class="is-unstyled-list">
  104.                                     <li>Nome da materia agrupado polo nome de contido / Outro nome da materia agrupado polo nome de contido</li>
  105.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  106.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  107.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  108.                                 </ul>
  109.                             </td>
  110.                         </tr>
  111.                         <tr>
  112.                             <td class="col-20">00:00-00:00</td>
  113.                             <td>
  114.                                 <ul class="is-unstyled-list">
  115.                                     <li>Nome da materia agrupado polo nome de contido / Outro nome da materia agrupado polo nome de contido</li>
  116.                                     <li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
  117.                                 </ul>
  118.                             </td>
  119.                         </tr>
  120.                         </tbody>
  121.                     </table>
  122.                 </div>
  123.             </div>
  124.         </div>
  125.     </section>
  126. {% endblock %}
  127. {% block siteFooter %}
  128.     {% include 'organisms/site-footer.html.twig' %}
  129. {% endblock %}
  130. {% block javascripts %}
  131.     {{ parent() }}
  132.     <script src="https://code.jquery.com/jquery-3.5.1.min.js"
  133.             integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
  134.     <script type="text/javascript">
  135.       $(function () {
  136.         $('.load-date-filter').on('click', function (event) {
  137.           $('.ajax-progress-throbber').removeClass('is-hidden');
  138.           setTimeout(function () {
  139.             $.get('{{ path('center-schedule-classroom_ajax') }}', function (data) {
  140.               $('#date-container').html(data)
  141.               window.uscUi.render('#date-container')
  142.               $('.ajax-progress-throbber').addClass('is-hidden');
  143.             });
  144.           }, 800);
  145.         })
  146.       })
  147.     </script>
  148. {% endblock %}