File "admin.php"
Full Path: C:/wamp64/www/Formaciones/Vistas/dashboard/admin.php
File size: 6.05 KB
MIME-type: text/x-php
Charset: utf-8
<?php
// Vistas/dashboard/admin.php
require_once 'Vistas/plantilla/encabezado.php';
?>
<div class="dashboard-container">
<header style="margin-bottom: 30px; color: white;">
<h1 style="margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.2);">
👋 Panel de Administrador
</h1>
<p style="color: var(--muted); margin-bottom: 10px; font-weight: 500;">Bienvenido, <?= h(usuario_actual()['nombre']) ?></p>
</header>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px;">
<div class="card" style="text-align: center; border-top: 4px solid var(--accent-1);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">👥</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Usuarios</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Administra, Crea y asigna roles a tus alumnos.</p>
<a href="index.php?r=admin/usuarios" class="btn-primary" style="text-decoration: none; width: 100%;">
Gestionar Contenido
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--accent-2);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">✍️</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Cursos</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Diseña cursos.</p>
<a href="index.php?r=admin/cursos" class="btn-primary" style="text-decoration: none; width: 100%;">
Ver Cursos
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--accent-1);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">📂</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Materiales</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Administra documentos, videos y recursos para tus alumnos.</p>
<a href="index.php?r=instructor/materials" class="btn-primary" style="text-decoration: none; width: 100%;">
Gestionar Contenido
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--accent-2);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">📋</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Cuestionarios</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Diseña evaluaciones y preguntas para calificar el progreso.</p>
<a href="index.php?r=instructor/quizzes" class="btn-primary" style="text-decoration: none; width: 100%;">
Ver Evaluaciones
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--muted);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">🔍</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Asignaciones</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Realiza asignaciones individual o masivas.</p>
<a href="index.php?r=admin/asignaciones" class="btn-primary" style="text-decoration: none; width: 100%;">
Ver Asignaciones
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--muted);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">📈</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Resultados</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Monitorea el rendimiento y las calificaciones de los grupos.</p>
<a href="index.php?r=instructor/resultados" class="btn-primary" style="text-decoration: none; width: 100%;">
Ver Reportes
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--muted);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">📚</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Mis Evaluaciones</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Evaluaciones por calificar.</p>
<a href="index.php?r=evaluaciones/mis-cursos" class="btn-primary" style="text-decoration: none; width: 100%;">
Mis Evaluaciones
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--muted);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">📄</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Inducciones</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Administran de Inducciones de los alumnos.</p>
<a href="index.php?r=admin/induccion" class="btn-primary" style="text-decoration: none; width: 100%;">
Ver Inducciones
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--muted);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">📢</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">5 Por El Sigas</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Administran de 5 Por El Sigas.</p>
<a href="index.php?r=admin/Sigas" class="btn-primary" style="text-decoration: none; width: 100%;">
Ver
</a>
</div>
<div class="card" style="text-align: center; border-top: 4px solid var(--muted);">
<div style="font-size: 3.5rem; margin-bottom: 15px;">🎯</div>
<h3 style="color: var(--muted); margin-bottom: 10px;">Formaciones</h3>
<p style="font-size: 0.9rem; color: #555; margin-bottom: 25px;">Admin formaciones, intervención y sensibilizaciónes.</p>
<a href="index.php?r=admin/Formacion" class="btn-primary" style="text-decoration: none; width: 100%;">
Ver
</a>
</div>
</div>
</div>
<?php require_once 'Vistas/plantilla/pie.php'; ?>