Commit 5cd0b6ab authored by Marcos Albano's avatar Marcos Albano 💬

Adicionada pagina de agendamentoContato

parent 83be8594
......@@ -10,21 +10,7 @@
@breadcrumb(['page'=>$page,'items'=>$breadcrumb ?? []])
@endbreadcrumb
<fieldset class="fielAgendamentoTitulo">
@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>
<fieldset class="nomeUsuario">
<div>
<input type="text" id="getnome" name="getnome" placeholder="Nome do Usuário">
<input type="text" id="getcpf" name="getcpf" placeholder="Numero CPF usuário">
</div>
</fieldset>
@form(['action'=>route($routeName.'.store'),'method'=>'POST'])
<h1 class="menuh1">Agendamento <span class="idaceFonte">IDACE</span></h1>
......@@ -47,7 +33,7 @@
<p class="barraContato"><span class="idaceFonte"><img id="emailContatos" src="imagem/contato_email.png">
E-mail</span> idace@gov.ce.gov.br</p>
</fieldset>
@endform
@endpage
@endsection
......@@ -30,7 +30,7 @@
</fieldset>
<fieldset class="fielmenuAgendamento-1">
<div style="cursor: pointer" onclick="window.location = '{{route('roles.index')}}'" class="button_meusAgendamento">
<div style="cursor: pointer" onclick="window.location = '{{route('agendamentos.index')}}'" class="button_meusAgendamento">
<div class="card-body">
<p class="card-text">@lang('agendamento.meus_agendamentos')</p>
<p><img id="idace2" src="img/Eventos.png"></p>
......@@ -48,7 +48,7 @@
</div>
</fieldset>
<fieldset class="fielmenuAgendamento-2">
<div style="cursor: pointer" onclick="window.location = '{{route('agendamentos.index')}}'" class="button_contato">
<div style="cursor: pointer" onclick="window.location = '{{route('agendamentoContato')}}'" class="button_contato">
<div class="card-body">
<p class="card-text">@lang('agendamento.contato')</p>
<p><img id="idace4" src="img/Contato.png"></p>
......
......@@ -67,7 +67,9 @@ Route::any('/agendamentoTitulo', function () {
(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 . '.agendamentoTitulo', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
})->name('agendamentoTitulo');
......@@ -81,7 +83,9 @@ Route::any('/agendamentoTituloEntrega', function () {
(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');
......@@ -95,6 +99,23 @@ Route::any('/agendamentoTituloSede', function () {
(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('/agendamentoContato', 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 . '.agendamentoContato', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
})->name('agendamentoContato');
//->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