Commit b0aa2ed1 authored by Marcos Roberto Silva's avatar Marcos Roberto Silva

Funcionalidade do botao agendar e adicao da pagina agendamentoTitulo.html sem css

parent e6dac50f
......@@ -221,4 +221,22 @@ class AgendamentoController extends Controller
$routeName = $this->route;
return redirect()->route($routeName . '.index');
}
// public function agendamentoTitulo()
// {
// $routeName = $this->route;
// $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 . '.agendamentoTitulo', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
// }
}
......@@ -55,4 +55,10 @@ return [
'telefone'=>'Phone',
'sobrenome'=>'Surname',
'next'=>'Next',
'agendar'=>'Schedule',
'meus_agendamentos'=>'My Schedules',
'entrega_titulos'=>'Delivery of Títulos',
'contato'=>'Contact',
'receber_titulo_evento'=>'Receive Event Title',
'receber_titulo_sede'=>'Receive Idace Title',
];
......@@ -53,4 +53,10 @@ return [
'telefone'=>'Telefone',
'sobrenome'=>'Sobrenome',
'next'=>'Próximo',
'agendar'=>'Agendar',
'meus_agendamentos'=>'Meus Agendamentos',
'entrega_titulos'=>'Entrega de Títulos',
'contato'=>'Contato',
'receber_titulo_evento'=>'Receber Título no Evento',
'receber_titulo_sede'=>'Receber Título na Sede',
];
\ No newline at end of file
@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('agendamentoTitulo'),'method'=>'POST'])
<fieldset class="fielAgendamentoTitulo">
<button class="button_tituloEvento">@lang('agendamento.receber_titulo_evento')</button>
<button class="button_tituloSede">@lang('agendamento.receber_titulo_evento')</button>
</fieldset>
@endform
@endpage
@endsection
......@@ -16,9 +16,9 @@
</div>
@endif
{{-- <input type="checkbox" class="check" id="check">
<label id="icone" for="check"><img src="img/icone_menuLateral.png"></label> --}}
{{-- <div class="barra">
<label id="icone" for="check"><img src="img/icone_menuLateral.png"></label> --}}
{{--
<div class="barra">
<div class="imaLogosMenu1">
<img id="govce" src="img/Logo governo_150px.png">
</div>
......@@ -42,44 +42,41 @@
<form action="#" method="POST" class="formMenuAgedamento">
{{-- <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> --}}
<h1 class="menuh1">Agendamento <span class="idaceFonte">IDACE</span></h1>
<!-- formMenuAgedamento -->
<fieldset class="fielmenuAgendamento">
<button type="submit" class="button_agendar"><br>Agendar
<p><img id="idace1" src="img/icone agenda.png"></p>
</button>
<button type="submit" class="button_meusAgendamento"><br>Meus Agendamentos
<p><img id="idace2" src="img/Eventos.png"></p>
</button>
<button type="submit" class="button_entregaTitulos"><br>Entrega de Titulos
<p><img id="idace3" src="img/meus agendamentos.png"></p>
</button>
<button type="submit" class="button_contato"><br>Contato
<p><img id="idace4" src="img/Contato.png"></p>
</button>
<div style="cursor: pointer" onclick="window.location = '{{route('agendamentos.agendamentoTitulo')}}'" class="button_agendar">
<div class="card-body">
<p class="card-text">@lang('agendamento.agendar')</p>
<p><img id="idace1" src="img/icone agenda.png"></p>
</div>
</div>
<div style="cursor: pointer" onclick="window.location = '{{route('roles.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>
</div>
</div>
<div style="cursor: pointer" onclick="window.location = '{{route('permissions.index')}}'" class="button_entregaTitulos">
<div class="card-body">
<p class="card-text">@lang('agendamento.entrega_titulos')</p>
<p><img id="idace2" src="img/Eventos.png"></p>
</div>
</div>
<div style="cursor: pointer" onclick="window.location = '{{route('agendamentos.index')}}'" class="button_contato">
<div class="card-body">
<p class="card-text">@lang('agendamento.contato')</p>
<p><img id="idace4" src="img/Contato.png"></p>
</div>
</div>
</fieldset>
</form>
<div class="imaLogosMenu2">
<img id="idaceMenu" src="img/logo-idace.png" alt="">
</div>
{{-- <div class="row">
{{-- <div class="row">
<div style="cursor: pointer" onclick="window.location = '{{route('users.index')}}'" class="card text-white bg-primary mb-3" style="max-width: 18rem;">
<div class="card-header">@lang('agendamento.list', ['page'=>__('agendamento.user_list')])</div>
<div class="card-body">
......@@ -104,7 +101,10 @@
<p class="card-text">@lang('agendamento.create_or_edit')</p>
</div>
</div>
</div> --}}
</div> --}}
</div>
<div class="imaLogosMenu2">
<img id="idaceMenu" src="{!! asset('img/logo-idace.png') !!}">
</div>
</div>
</div>
......
......@@ -24,7 +24,6 @@ Route::get('lang', function () {
}
session(['lang' => $lang]);
return redirect()->back();
})->name('lang');
Route::get('/', function () {
......@@ -44,4 +43,17 @@ Route::prefix('admin')->namespace('Admin')->group(function () {
Route::resource('/roles', 'RoleController');
Route::resource('/agendamentos', 'AgendamentoController');
});
Route::get('/agendamentoTitulo', 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 . '.agendamentoTitulo', ['page' => $page, 'page_create' => $page_create, 'routeName' => $routeName, 'breadcrumb' => $breadcrumb]);
})->name('agendamentoTitulo');
//->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