<?php
require_once __DIR__ . '/../includes/auth.php';
requireLogin();
requirePermission('projects.manage');

require_once __DIR__ . '/../config/database.php';

/* ===== LOAD MASTER LAYOUT ===== */
require_once __DIR__ . '/../includes/layout.php';
?>

<div class="main-content">

    <div class="page-header">
        <h2>Tasks</h2>
        <p class="page-subtitle">Project Task Management</p>
    </div>

    <div class="topbar" style="margin-bottom:15px;">
        <a href="add_task.php" class="btn-primary">
            + Add Task
        </a>
    </div>

    <div class="card-form">
        <p>Task module is active and ready.</p>
    </div>

</div>

<?php require_once __DIR__ . '/../includes/footer.php'; ?>