{% extends 'base.html' %}

{% block title %}Buat Jadwal - SJP Admin{% endblock %}
{% block page_title %}Generate Jadwal Otomatis{% endblock %}

{% block content %}
<div class="row justify-content-center">
    <div class="col-md-8 text-center">
        <div class="card border-0 shadow-sm p-5">
            <div class="mb-4">
                <div class="bg-primary bg-opacity-10 text-primary rounded-circle d-inline-flex align-items-center justify-content-center" style="width: 100px; height: 100px;">
                    <i class="fas fa-magic fa-3x"></i>
                </div>
            </div>
            <h2 class="fw-bold mb-3">Auto-Generate Jadwal</h2>
            <p class="text-muted mb-5">Sistem akan menyusun jadwal perkuliahan secara otomatis berdasarkan data master (Dosen Pengampu, Ruangan, Hari, Jam, dan Kelas) yang telah diinputkan. Sistem akan meminimalkan bentrok jadwal.</p>
            
            <div class="alert alert-info border-0 shadow-none mb-5">
                <i class="fas fa-info-circle me-2"></i> Pastikan semua data master telah terisi lengkap sebelum memulai proses generate.
            </div>

            <form method="POST">
                {% csrf_token %}
                <button type="submit" class="btn btn-primary btn-lg px-5 py-3 rounded-pill fw-bold shadow">
                    <i class="fas fa-play me-2"></i> Mulai Generate Jadwal
                </button>
            </form>
        </div>
    </div>
</div>
{% endblock %}
