html no agendamento e css e pos da logoIdace correção.

parents df49861e bdbfa092
......@@ -5,7 +5,8 @@ namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Repositories\Contracts\AgendamentoRepositoryInterface;
use Illuminate\Http\Request;
use Validator;
use Illuminate\Support\Facades\Validator as FacadesValidator;
class AgendamentoController extends Controller
{
......@@ -81,7 +82,7 @@ class AgendamentoController extends Controller
{
$data = $request->all();
Validator::make($data, [
FacadesValidator::make($data, [
'municipio' => 'required|string|max:255',
'name' => 'required|string|max:255',
'cpf' => 'required|string|min:11',
......@@ -180,7 +181,7 @@ class AgendamentoController extends Controller
unset($data['password']);
}
Validator::make($data, [
FacadesValidator::make($data, [
'municipio' => 'required|string|max:255',
'name' => 'required|string|max:255',
'cpf' => 'required|string|min:11',
......
......@@ -10,17 +10,14 @@
@breadcrumb(['page'=>$page,'items'=>$breadcrumb ?? []])
@endbreadcrumb
@form(['action'=>route('agendamentoTitulo'),'method'=>'POST'])
<fieldset class="fielAgendamentoTitulo">
<button class="button_tituloEvento">@lang('agendamento.receber_titulo_evento')</button>
<button class="button_tituloSede">@lang('agendamento.receber_titulo_sede')</button>
</fieldset>
@form(['action'=>route('agendamentoTituloEntrega'), 'method'=>'POST'])
<button class="button_tituloEvento" onclick="window.location = '{{route('agendamentoTituloEntrega')}}'">@lang('agendamento.receber_titulo_evento')</button>
@endform
@form(['action'=>route('agendamentoTituloSede'), 'method'=>'POST'])
<button class="button_tituloSede" onclick="window.location = '{{route('agendamentoTituloSede')}}'">@lang('agendamento.receber_titulo_sede')</button>
@endform
</fieldset>
@endpage
@endsection
@extends('layouts.app')
@section('content')
@page(['col'=>12, 'page'=>__('agendamento.create_crud', ['page'=>$page_create])])
@alert(['msg' => session('msg'), 'status' => session('status')])
@endalert
@breadcrumb(['page'=>$page,'items'=>$breadcrumb ?? []])
@endbreadcrumb
@form(['action'=>route('agendamentoTituloEntrega'), 'method'=>'POST'])
<form class="formAgedamentoTitulo">
<fieldset class="fielTituloEntrega">
<button class="button_tituloEvento">Abaiara</button>
<button class="button_tituloSede">Acaraú</button>
<button class="button_tituloEvento">Bela Cruz</button>
<button class="button_tituloSede">Amontada</button>
</fieldset>
@endform
<div class="imaLogosEventoTitulo">
<img id="idaceTituloEvento" src="imagem/logo-idace.png" alt="">
</div>
</form>
@endpage
@endsection
@extends('layouts.app')
@section('content')
@page(['col'=>12, 'page'=>__('agendamento.create_crud', ['page'=>$page_create])])
@alert(['msg' => session('msg'), 'status' => session('status')])
@endalert
@breadcrumb(['page'=>$page,'items'=>$breadcrumb ?? []])
@endbreadcrumb
@form(['action'=>route('agendamentoTituloSede'), 'method'=>'POST'])
<fieldset class="fieldAgendar">
<p id="agendar">Agendar</p>
</fieldset>
<fieldset class="calendario">
<label for="data">Data Agendamento</label>
<br>
<input type="date" id="data" name="dataAgendamento">
<br>
<!-- <label for="hora">Hora agendamento</label>
<br>
<input type="time" id="hora" name="horaAgendamento"> -->
</fieldset>
@endform
@endpage
@endsection
......@@ -17,8 +17,6 @@
<img id="govce" src="img/logo_governo_150.png">
</div>
<form class="formMenuAgedamento">
<h1 class="menuh1">Agendamento <span class="idaceFonte">IDACE</span></h1>
<!-- formMenuAgedamento -->
......@@ -35,12 +33,17 @@
<p class="card-text">@lang('agendamento.meus_agendamentos')</p>
<p><img id="idace2" src="img/Eventos.png"></p>
</div>
<<<<<<< HEAD
</div> -->
=======
</div>
>>>>>>> bdbfa092185fc2e38c7ff07b693922b1764a8c1e
</fieldset>
<fieldset class="fielmenuAgendamento-1">
<<<<<<< HEAD
<!-- <div style="cursor: pointer" onclick="window.location = '{{route('agendamentoTitulo')}}'" class="button_agendar">
<div class="card-body">
<p class="card-text">@lang('agendamento.agendar')</p>
......@@ -59,6 +62,10 @@
<fieldset class="fielmenuAgendamento-2">
<div style="cursor: pointer" onclick="window.location = '{{route('permissions.index')}}'" class="button_entregaTitulos">
=======
<div style="cursor: pointer" onclick="window.location = '{{route('agendamentoTituloEntrega')}}'" class="button_entregaTitulos">
>>>>>>> bdbfa092185fc2e38c7ff07b693922b1764a8c1e
<div class="card-body">
<p class="card-text">@lang('agendamento.entrega_titulos')</p>
<p><img id="idace2" src="img/Eventos.png"></p>
......
......@@ -44,7 +44,20 @@ Route::prefix('admin')->namespace('Admin')->group(function () {
Route::resource('/agendamentos', 'AgendamentoController');
});
Route::get('/agendamentoTitulo', function () {
Route::any('/agendamentoTituloSede', function () {
$routeName = 'agendamentos';
$page = trans('agendamento.agendamento_list');
$page_create = trans('agendamento.agendamento');
$breadcrumb = [
(object) ['url' => route('home'), 'title' => trans('agendamento.home')],
(object) ['url' => route($routeName . '.index'), 'title' => trans('agendamento.list', ['page' => $page])],
(object) ['url' => '', 'title' => trans('agendamento.create_crud', ['page' => $page_create])],
];
return view('admin.' . $routeName . '.agendamentoTituloSede', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
})->name('agendamentoTituloSede');
Route::any('/agendamentoTitulo', function () {
$routeName = 'agendamentos';
$page = trans('agendamento.agendamento_list');
$page_create = trans('agendamento.agendamento');
......@@ -56,4 +69,32 @@ Route::get('/agendamentoTitulo', function () {
];
return view('admin.' . $routeName . '.agendamentoTitulo', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
})->name('agendamentoTitulo');
Route::any('/agendamentoTituloEntrega', function () {
$routeName = 'agendamentos';
$page = trans('agendamento.agendamento_list');
$page_create = trans('agendamento.agendamento');
$breadcrumb = [
(object) ['url' => route('home'), 'title' => trans('agendamento.home')],
(object) ['url' => route($routeName . '.index'), 'title' => trans('agendamento.list', ['page' => $page])],
(object) ['url' => '', 'title' => trans('agendamento.create_crud', ['page' => $page_create])],
];
return view('admin.' . $routeName . '.agendamentoTituloEntrega', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
})->name('agendamentoTituloEntrega');
Route::any('/agendamentoTituloSede', function () {
$routeName = 'agendamentos';
$page = trans('agendamento.agendamento_list');
$page_create = trans('agendamento.agendamento');
$breadcrumb = [
(object) ['url' => route('home'), 'title' => trans('agendamento.home')],
(object) ['url' => route($routeName . '.index'), 'title' => trans('agendamento.list', ['page' => $page])],
(object) ['url' => '', 'title' => trans('agendamento.create_crud', ['page' => $page_create])],
];
return view('admin.' . $routeName . '.agendamentoTituloSede', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
})->name('agendamentoTituloSede');
//->middleware('auth')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment