@extends('layouts.vertical', ['subtitle' => 'Pariwisata'])

@section('css')
@vite(['node_modules/gridjs/dist/theme/mermaid.min.css'])
@endsection

@section('content')
@include('layouts.partials/page-title', ['title' => 'Data', 'subtitle' => 'Pariwisata'])

<div class="card">
    <div class="card-header">
        <h5 class="card-title">Daftar Pariwisata</h5>
    </div>
    <div class="card-body">
        <div class="row">
            <div class="d-flex justify-content-end gap-10 pb-3">
                <button class="btn btn-success me-2 width-lg btn-create" data-model="data/tourisms">
                    <i class='bx bxs-file-plus'></i>
                    Create</button>
                <button class="btn btn-primary width-lg btn-bulk-create" data-model="data/tourisms">
                    <i class='bx bx-upload' ></i>
                    Bulk Create
                </button>
            </div>
            <div>
                <div id="tourisms-data-table"></div>
            </div>
        </div>
    </div>
</div>

<!-- Modal -->
<div class="modal fade modalGMaps" tabindex="-1"
    aria-labelledby="confirmationModalCenterTitle" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg  modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="btn-close" data-bs-dismiss="modal"
                    aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <iframe 
                        src="" 
                        width="100%" 
                        height="450" 
                        style="border:0;" 
                        allowfullscreen="" 
                        loading="lazy">
                </iframe>
            </div>
        </div>
    </div>
</div>

{{-- <div id="alert-container"></div> --}}

@endsection

@section('scripts')
@vite(['resources/js/data/tourisms/data-tourisms.js'])
@endsection