Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sisage
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marcos Albano
sisage
Commits
b0aa2ed1
Commit
b0aa2ed1
authored
Jan 24, 2021
by
Marcos Roberto Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Funcionalidade do botao agendar e adicao da pagina agendamentoTitulo.html sem css
parent
e6dac50f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
101 additions
and
33 deletions
+101
-33
AgendamentoController.php
app/Http/Controllers/Admin/AgendamentoController.php
+18
-0
DocumentoPessoaRepositoryphp
app/Repositories/Eloquent/DocumentoPessoaRepositoryphp
+0
-0
agendamento.php
resources/lang/en/agendamento.php
+6
-0
agendamento.php
resources/lang/pt-br/agendamento.php
+6
-0
agendamentoTitulo.blade.php
...rces/views/admin/agendamentos/agendamentoTitulo.blade.php
+26
-0
home.blade.php
resources/views/home.blade.php
+32
-32
web.php
routes/web.php
+13
-1
No files found.
app/Http/Controllers/Admin/AgendamentoController.php
View file @
b0aa2ed1
...
...
@@ -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]);
// }
}
app/Repositories/Eloquent/DocumentoPessoaRepository
.
php
→
app/Repositories/Eloquent/DocumentoPessoaRepositoryphp
View file @
b0aa2ed1
File moved
resources/lang/en/agendamento.php
View file @
b0aa2ed1
...
...
@@ -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'
,
];
resources/lang/pt-br/agendamento.php
View file @
b0aa2ed1
...
...
@@ -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
resources/views/admin/agendamentos/agendamentoTitulo.blade.php
0 → 100644
View file @
b0aa2ed1
@
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
resources/views/home.blade.php
View file @
b0aa2ed1
...
...
@@ -17,8 +17,8 @@
@
endif
{{
--
<
input
type
=
"checkbox"
class
=
"check"
id
=
"check"
>
<
label
id
=
"icone"
for
=
"check"
><
img
src
=
"img/icone_menuLateral.png"
></
label
>
--
}}
{{
--
<
div
class
=
"barra"
>
{{
--
<
div
class
=
"barra"
>
<
div
class
=
"imaLogosMenu1"
>
<
img
id
=
"govce"
src
=
"img/Logo governo_150px.png"
>
</
div
>
...
...
@@ -42,43 +42,40 @@
<
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
<
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
>
</
button
>
<
button
type
=
"submit"
class
=
"button_meusAgendamento"
><
br
>
Meus
Agendamentos
</
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
>
</
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
</
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
>
</
button
>
</
div
>
</
div
>
</
fieldset
>
</
form
>
<
div
class
=
"imaLogosMenu2"
>
<
img
id
=
"idaceMenu"
src
=
"img/logo-idace.png"
alt
=
""
>
</
div
>
{{
--
<
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
>
...
...
@@ -106,6 +103,9 @@
</
div
>
</
div
>
--
}}
</
div
>
<
div
class
=
"imaLogosMenu2"
>
<
img
id
=
"idaceMenu"
src
=
"{!! asset('img/logo-idace.png') !!}"
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
routes/web.php
View file @
b0aa2ed1
...
...
@@ -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')
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment