<!DOCTYPE html>
<html>
<head>
    <title>Listar Installation</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light">
    <div class="container mt-5">
        <div class="card mx-auto" style="max-width: 500px;">
            <div class="card-header bg-primary text-white">
                <h4>Install Listar</h4>
            </div>
            <div class="card-body">
                <form action="/install" method="POST">
                    @csrf
                    <div class="mb-3">
                        <label>Database Host</label>
                        <input type="text" name="db_host" class="form-control" value="127.0.0.1" required>
                    </div>
                    <div class="mb-3">
                        <label>Database Name</label>
                        <input type="text" name="db_name" class="form-control" placeholder="listar" required>
                    </div>
                    <div class="mb-3">
                        <label>Database Username</label>
                        <input type="text" name="db_user" class="form-control" placeholder="root" required>
                    </div>
                    <div class="mb-3">
                        <label>Database Password</label>
                        <input type="password" name="db_password" class="form-control">
                    </div>
                    <button type="submit" class="btn btn-success w-100">Install</button>
                </form>
            </div>
        </div>
    </div>
</body>
</html>
