Adicione um botão na barra lateral com relatórios, e faça a tela de quando clicar nele - Follow Up Deployment
Browse files72 unmodified lines737475767778443 unmodified lines522523524525526527206 unmodified lines73473573673773873972 unmodified lines<i class="fas fa-cog mr-3"></i>Configurações</a></div></nav><div class="p-4 border-t border-gray-200">443 unmodified lines</div></div><!-- Scripts --><script src="https://cdn.jsdelivr.net/npm/chart.js"></script><script>206 unmodified linesdocument.getElementById('attendanceModal').classList.add('hidden');});// Performance Chartconst performanceCtx = document.getElementById('performanceChart').getContext('2d');const performanceChart = new Chart(performanceCtx, {72 unmodified lines73747576777879808182443 unmodified lines526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599206 unmodified lines80680780880981081181281381481581681781881982082182282382482582682782882972 unmodified lines<i class="fas fa-cog mr-3"></i>Configurações</a><a href="#" class="flex items-center p-2 rounded-lg text-gray-700 hover:bg-gray-100" id="reportsLink"><i class="fas fa-file-alt mr-3"></i>Relatórios</a></div></nav><div class="p-4 border-t border-gray-200">443 unmodified lines</div></div><!-- Reports Modal --><div id="reportsModal" class="fixed inset-0 bg-gray-600 bg-opacity-50 flex items-center justify-center hidden"><div class="bg-white rounded-lg shadow-xl w-full max-w-4xl max-h-[90vh] overflow-hidden"><div class="p-6"><div class="flex justify-between items-center mb-4"><h3 class="text-xl font-semibold">Gerar Relatórios</h3><button id="closeReportsModal" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times"></i></button></div><div class="mb-6"><div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6"><div class="bg-blue-50 p-4 rounded-lg cursor-pointer hover:bg-blue-100 report-type" data-report="attendance"><div class="bg-blue-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-3"><i class="fas fa-user-check text-blue-600"></i></div><h4 class="font-medium text-blue-800">Frequência</h4><p class="text-sm text-blue-600">Relatório de presença dos alunos</p></div><div class="bg-green-50 p-4 rounded-lg cursor-pointer hover:bg-green-100 report-type" data-report="performance"><div class="bg-green-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-3"><i class="fas fa-chart-line text-green-600"></i></div><h4 class="font-medium text-green-800">Desempenho</h4><p class="text-sm text-green-600">Relatório de notas e avaliações</p></div><div class="bg-purple-50 p-4 rounded-lg cursor-pointer hover:bg-purple-100 report-type" data-report="financial"><div class="bg-purple-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-3"><i class="fas fa-money-bill-wave text-purple-600"></i></div><h4 class="font-medium text-purple-800">Financeiro</h4><p class="text-sm text-purple-600">Relatório de pagamentos e mensalidades</p></div></div><div id="reportFilters" class="hidden"><h4 class="text-lg font-semibold mb-4">Filtros do Relatório</h4><div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-4"><div><label class="block text-sm font-medium text-gray-700 mb-1">Turma</label><select class="w-full border border-gray-300 rounded-md px-3 py-2"><option>Todas</option><option>Turma A</option><option>Turma B</option><option>Turma C</option></select></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Período Inicial</label><input type="date" class="w-full border border-gray-300 rounded-md px-3 py-2"></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Período Final</label><input type="date" class="w-full border border-gray-300 rounded-md px-3 py-2"></div></div><div class="flex justify-end"><button class="px-4 py-2 bg-primary text-white rounded-md text-sm font-medium hover:bg-primary-dark">Gerar Relatório</button></div></div></div></div></div></div><!-- Scripts --><script src="https://cdn.jsdelivr.net/npm/chart.js"></script><script>206 unmodified linesdocument.getElementById('attendanceModal').classList.add('hidden');});// Reports Modal functionalitydocument.getElementById('reportsLink').addEventListener('click', function() {document.getElementById('reportsModal').classList.remove('hidden');document.getElementById('reportFilters').classList.add('hidden');});document.getElementById('closeReportsModal').addEventListener('click', function() {document.getElementById('reportsModal').classList.add('hidden');});document.querySelectorAll('.report-type').forEach(report => {report.addEventListener('click', function() {document.getElementById('reportFilters').classList.remove('hidden');// Here you would set up the specific filters for each report type// based on the data-report attribute});});// Performance Chartconst performanceCtx = document.getElementById('performanceChart').getContext('2d');const performanceChart = new Chart(performanceCtx, {
index.html+90