@extends('layouts.member')
@php
    $vps_category = App\Models\VpsCategory::orderBy('seq', 'asc')->get();
    $vps_country = App\Models\VpsCountry::orderBy('seq', 'asc')->get();
    $vps_proxies = App\Models\VpsProxies::orderBy('seq', 'asc')->get();
@endphp
@section('css')
    <style>
        a {
            color: #000000;
        }
    </style>
@endsection
@section('content')
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h1>Server Status</h1>
                    </div>
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-right">
                            <li class="breadcrumb-item"><a href="#">Home</a></li>
                            <li class="breadcrumb-item active">Server Status</li>
                        </ol>
                    </div>
                </div>
            </div><!-- /.container-fluid -->
        </section>

        <!-- Main content -->
        <section class="content">
            <!-- Default box -->
            <div class="card">
                <div class="card-body">
                    <iframe src="https://uptime.lingvpn.id/" width="100%" height="600"></iframe>
                </div>
                <!-- /.card-body -->
            </div>
            <!-- /.card -->

        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
@endsection
@section('js')
    <script>
        $(function() {
            setTimeout(() => {
                $('iframe').on('load', function() {
                    let iframeContent = $(this).contents();
                    iframeContent.find('.page-header').remove();
                    iframeContent.find('.page-logo').remove();
                });

            }, 1000);
        });
    </script>
@endsection
