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
d4705dd3
Commit
d4705dd3
authored
Jan 25, 2021
by
Marcos Vinicius Felix De Sousa da Silva
Browse files
Options
Browse Files
Download
Plain Diff
html no agendamento e css e pos da logoIdace correção.
parents
df49861e
bdbfa092
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
126 additions
and
16 deletions
+126
-16
AgendamentoController.php
app/Http/Controllers/Admin/AgendamentoController.php
+4
-3
agendamentoTitulo.blade.php
...rces/views/admin/agendamentos/agendamentoTitulo.blade.php
+7
-10
agendamentoTituloEntrega.blade.php
...ews/admin/agendamentos/agendamentoTituloEntrega.blade.php
+28
-0
agendamentoTituloSede.blade.php
.../views/admin/agendamentos/agendamentoTituloSede.blade.php
+36
-0
home.blade.php
resources/views/home.blade.php
+9
-2
web.php
routes/web.php
+42
-1
No files found.
app/Http/Controllers/Admin/AgendamentoController.php
View file @
d4705dd3
...
...
@@ -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
,
[
Facades
Validator
::
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
,
[
Facades
Validator
::
make
(
$data
,
[
'municipio'
=>
'required|string|max:255'
,
'name'
=>
'required|string|max:255'
,
'cpf'
=>
'required|string|min:11'
,
...
...
resources/views/admin/agendamentos/agendamentoTitulo.blade.php
View file @
d4705dd3
...
...
@@ -9,18 +9,15 @@
@
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
>
@
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
>
@
endform
@
endpage
@
endsection
resources/views/admin/agendamentos/agendamentoTituloEntrega.blade.php
0 → 100644
View file @
d4705dd3
@
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
resources/views/admin/agendamentos/agendamentoTituloSede.blade.php
0 → 100644
View file @
d4705dd3
@
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
resources/views/home.blade.php
View file @
d4705dd3
...
...
@@ -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
>
...
...
routes/web.php
View file @
d4705dd3
...
...
@@ -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')
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