@extends('layout.default')
@section('content')
    <style>
        button{
            width: 80%;
            height: 300px;
        }
    </style>
@if(\Illuminate\Support\Facades\Auth::check())
<div class="container-fluid">
    <div class="row" style="margin: 1%">
        <div class="col-6">
            <button onclick="window.location='{{route('replay')}}'" type="button" style="font-size: 50px" class="border rounded btn btn-success">
                攝影機回放
            </button>
          </a>
        </div>
        <div class="col-6">
            <button onclick="window.location='{{route('playrealtime')}}'" type="button" style="font-size: 50px" class="border rounded btn btn-primary">
                攝影機現場調閱
            </button>
            </a>
        </div>
    </div>
    <div class="row" style="margin: 1%">
        <div class="col-6">
                <button onclick="window.location='{{route('recordconfig')}}'" type="button" style="color: white;font-size: 50px" class="border rounded btn btn-warning">
                    選擇錄製攝影機
                </button>
        </div>
        <div class="col-6">
            <button onclick="window.location='{{route('configcam')}}'" type="button" style="font-size: 50px" class="border rounded btn btn-info">
                新增攝影機
            </button>
                </a>
        </div>
    </div>
</div>
@else
    <h1>請先進行登入唷～</h1>
@endif
@endsection
