<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Impor Daftar Pegawai</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light">
<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card">
                <div class="card-header bg-primary text-white">
                    <h4>Impor Daftar Pegawai (Excel)</h4>
                </div>
                <div class="card-body">
                    <form action="<?= base_url('import_pegawai/process') ?>" method="post" enctype="multipart/form-data">
                        <div class="mb-3">
                            <label for="file_excel">Pilih file Excel (.xls / .xlsx)</label>
                            <input type="file" name="file_excel" class="form-control" accept=".xls,.xlsx" required>
                        </div>
                        <button type="submit" class="btn btn-success">Impor Sekarang</button>
                        <a href="<?= base_url('pegawai') ?>" class="btn btn-secondary">Batal</a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>