{% extends "layouts/organization.html.twig" %}
{% block bodyClass %}{% endblock %}
{% block siteHeader %}
{% include 'organisms/organization-header.html.twig' %}
{% endblock %}
{% block pageHeader %}
<usc-page-header>
<template v-slot:breadcrumb>
<ol class="at-breadcrumb">
<li class="breadcrumb-item"><a href="{{ path('center-schedule') }}">Horarios</a></li>
<li class="breadcrumb-item"><a href="{{ path('center-schedule-classroom-list') }}">Aulas</a></li>
</ol>
</template>
<h1 class="at-title">Nome da aula</h1>
<template v-slot:filters>
<div class="ml-filters-group">
<div data-drupal-selector="edit-container" id="edit-container" class="form-group has-button is-minimal js-form-wrapper form-wrapper">
<div class="js-form-item form-item js-form-type-date form-item-from js-form-item-from form-no-label">
<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">
</div>
<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">
<div class="ajax-progress ajax-progress-throbber is-hidden">
<div class="throbber"> </div>
<div class="message">Espere, por favor...</div>
</div>
</div>
</div>
</template>
</usc-page-header>
{% endblock %}
{% block pageContent %}
<section class="org-tier">
<div class="tier-content" id="date-container">
<div class="row is-type-1">
<div class="col-md-6 col-lg-6">
<table class="ml-table is-primary has-align-top is-monday">
<thead>
<tr>
<th colspan="2">Mañá</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-20">00:00-00:00</td>
<td>
<ul class="is-unstyled-list">
<li>Nome da materia agrupado polo nome de contido / Outro nome da materia agrupado polo nome de contido</li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
</ul>
</td>
</tr>
<tr>
<td class="col-20">00:00-00:00</td>
<td>
<ul class="is-unstyled-list">
<li>Nome da materia agrupado polo nome de contido</li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
</ul>
</td>
</tr>
<tr>
<td class="col-20">00:00-00:00</td>
<td>
<ul class="is-unstyled-list">
<li>Nome da materia agrupado polo nome de contido</li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
</ul>
</td>
</tr>
<tr>
<td class="col-20">00:00-00:00</td>
<td>
<ul class="is-unstyled-list">
<li>Nome da materia agrupado polo nome de contido</li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-6 col-lg-6">
<table class="ml-table is-primary has-align-top">
<thead>
<tr>
<th colspan="2">Tarde</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-20">00:00-00:00</td>
<td>
<ul class="is-unstyled-list">
<li>Nome da materia agrupado polo nome de contido</li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
</ul>
</td>
</tr>
<tr>
<td class="col-20">00:00-00:00</td>
<td>
<ul class="is-unstyled-list">
<li>Nome da materia agrupado polo nome de contido / Outro nome da materia agrupado polo nome de contido</li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
</ul>
</td>
</tr>
<tr>
<td class="col-20">00:00-00:00</td>
<td>
<ul class="is-unstyled-list">
<li>Nome da materia agrupado polo nome de contido / Outro nome da materia agrupado polo nome de contido</li>
<li><a href="{{ path('department-staff-person') }}">Nome da profesora</a></li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</section>
{% endblock %}
{% block siteFooter %}
{% include 'organisms/site-footer.html.twig' %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script type="text/javascript">
$(function () {
$('.load-date-filter').on('click', function (event) {
$('.ajax-progress-throbber').removeClass('is-hidden');
setTimeout(function () {
$.get('{{ path('center-schedule-classroom_ajax') }}', function (data) {
$('#date-container').html(data)
window.uscUi.render('#date-container')
$('.ajax-progress-throbber').addClass('is-hidden');
});
}, 800);
})
})
</script>
{% endblock %}