@extends('layouts.dashboard')

@section('title', 'vagas')

@section('container-dashboard')
     <div class="layout-page">
          <!-- Navbar -->
            @include('layouts._includes.nav-menu')
          <!-- / Navbar -->
          
         <!-- Content wrapper -->
          <div class="content-wrapper">
            <!-- Content -->
            <div class="container-xxl flex-grow-1 container-p-y">
                
                <form method="POST" action="{{ route('restauro.tabelas') }}" onsubmit="return confirm('Tem certeza que deseja restaurar essas tabelas?')">
                    @csrf
                    <button type="submit" class="btn mb-2 btn-danger">
                        Restaurar o Sistema
                    </button>
                </form>

                <div class="bg-white p-4 shadow">
                    <p>O sistema só permite restuarar as seguintes tabelas por via de segurança</p>
                    <ul>
                        <li>Tabela de candidadutras</li>
                        <li>Tabela de Clientes</li>
                        <li>Tabela de Pedidos</li>
                        <li>Tabela de Produtos</li>
                        <li>Tabela de Vagas</li>
                    </ul>
                </div>
          </div>
          <!-- Content wrapper -->
        </div>
  <form action="{{route('vagas.store')}}" method="POST" enctype="multipart/form-data">
    @csrf
    @include('dashboard.admin.pages.vagas._includes.modal-form-vaga')
  </form>
  
@endsection        
       