<div data-ng-include="'views/header.html'"></div><div class="container"><div class="row d-flex px-15" style="margin-bottom: 15px;"><h3 style="flex: 1; margin: 0px;">{{'INSCRICAO_EPOCA_RECUPERACAO' | translate}}</h3><button type="button" class="btn blue" data-ng-if="epocaRecupController.dados.mostraSubmeter" data-ng-disabled="!epocaRecupController.dados.houveAlteracao" data-ng-click="epocaRecupController.submeter()">{{'Submeter' | translate}}</button></div><div class="panel-group" id="panel-epocas"><div class="panel panel-default" data-ng-show="epocaRecupController.semDados"><h4 class="h4-subtitle" style="font-size: 18px; text-align: center;">{{epocaRecupController.semDados}}</h4></div><div class="panel panel-default" data-ng-show="!epocaRecupController.semDados" data-ng-repeat="epoca in epocaRecupController.dados.epocas"><div class="panel-heading none-pointer-events" style="border-top: solid; border-top-color: #047792;" data-toggle="{{epoca.ativa ? '' : 'collapse'}}" data-target="#{{epoca.idPanelEpoca}}" data-parent="#panel-epocas"><h4 class="h4-subtitle" style="margin-top: 5px;">{{epoca.nomeEpoca}}</h4><div style="display: flex;justify-content: space-between;align-items: baseline;flex-direction: row;"><h5 class="h5-subtitle">{{epoca.dataEpoca}} {{epoca.limitesInscricao}}<span style="color: red;">{{epoca.descricaoEncerrada}}</span></h5><div class="switchBox" style="height: 15px;" data-ng-if="!epoca.ativa"><div style="display: flex; align-items: center;"><b translate="Consultar pedidos submetidos" style="margin-right: 5px;"></b> <label class="switch all-pointer-events" style="top: 0; margin-bottom: 0;"><input type="checkbox" data-ng-checked="epocaRecupController.expandedPanel == epoca.idEpoca" data-ng-click="epocaRecupController.changeExpandedPanel(epoca.idEpoca)"> <span class="slider round"></span></label></div></div></div></div><div class="row px-15 panel-collapse" id="{{epoca.idPanelEpoca}}" data-ng-class="!epoca.ativa ? 'collapse' : ''"><div style="margin: 5px;" data-ng-repeat="disciplina in epoca.disciplinas"><p class="panel" style="padding-left: 5px; background-color: #cbcbcb; color: black; font-size: 16px;"><b>{{disciplina.NomeDisciplina}}</b></p><div class="panel panel-default" data-ng-repeat="modulo in disciplina.Modulos"><div class="panel-heading" style="display: flex;align-items: center;justify-content: space-between;" data-ng-style="(modulo.Alterado) && { 'background-color': '#ffe39a' }"><div class="panel-title" style="margin-top: 0px; color: black; display: flex; align-items: center; justify-content: space-between; cursor: default;"><div style="cursor: default;"><h4 style="margin-top: 0px; cursor: default; color: black;">{{modulo.Calendarizacao}}</h4><h4 class="panel-title" style="cursor: default; color: black;">- <span>{{ modulo.NomeModulo }}</span></h4></div></div><div style="display: flex; align-items: center; justify-content: space-between; min-width: 350px;"><div class="panel-title" style="flex: 1; margin-top: 0px;margin-left: 15px; margin-right: 20px; color: black; display: flex; align-items: center; justify-content: space-between; cursor: default;"><div style="cursor: default; display: flex; flex-direction: column; align-items: center;" data-ng-if="modulo.Assiduidade"><h4 style="margin-top: 0px; cursor: default; color: black;">Presenças</h4><h4 class="panel-title" style="cursor: default; color: black;"><span>{{ modulo.Assiduidade }}</span></h4></div></div><div class="panel-title" style="cursor: default; margin-right: 20px;"><span><b>{{modulo.Estado}}</b></span></div><div data-ng-if="epoca.podeAlterar && modulo.PodeAlterar"><div class="panel prevent-select" style="display:flex; padding-bottom: 4px; cursor: pointer;" data-ng-click="epocaRecupController.alterarInscricao(modulo);" data-ng-class="{'border-red' : modulo.Inscrito, 'border-green' : !modulo.Inscrito}"><div><input id="{{epoca.idEpoca}}_{{disciplina.IdDisciplina}}_{{modulo.IdModulo}}" type="checkbox" style="flex:1; margin: 2px 5px 0 0;" data-ng-checked="modulo.Marcado"></div><div><span translate="{{modulo.DescricaoAcao}}"></span></div></div></div></div></div></div></div></div></div></div></div><div data-ng-include="'views/footer.html'"></div>