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
fc6f61a1
Commit
fc6f61a1
authored
Jan 24, 2021
by
Marcos Vinicius Felix De Sousa da Silva
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://172.28.1.20/marcos.albano/sisage
parents
f5ed272d
7a91fe0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
5 deletions
+70
-5
UserController.php
app/Http/Controllers/Admin/UserController.php
+2
-2
home.blade.php
resources/views/home.blade.php
+68
-3
No files found.
app/Http/Controllers/Admin/UserController.php
View file @
fc6f61a1
...
@@ -91,7 +91,7 @@ class UserController extends Controller
...
@@ -91,7 +91,7 @@ class UserController extends Controller
$data
[
'password'
]
=
Hash
::
make
(
$data
[
'password'
]);
$data
[
'password'
]
=
Hash
::
make
(
$data
[
'password'
]);
FacadesValidator
::
make
(
$data
,
[
FacadesValidator
::
make
(
$data
,
[
'n
a
me'
=>
'required|string|max:255'
,
'n
o
me'
=>
'required|string|max:255'
,
'sobrenome'
=>
'required|string'
,
'sobrenome'
=>
'required|string'
,
'email'
=>
'required|string|email|max:255|unique:users'
,
'email'
=>
'required|string|email|max:255|unique:users'
,
'password'
=>
'required|string|min:6|confirmed'
,
'password'
=>
'required|string|min:6|confirmed'
,
...
@@ -190,7 +190,7 @@ class UserController extends Controller
...
@@ -190,7 +190,7 @@ class UserController extends Controller
}
}
FacadesValidator
::
make
(
$data
,
[
FacadesValidator
::
make
(
$data
,
[
'n
a
me'
=>
'required|string|max:255'
,
'n
o
me'
=>
'required|string|max:255'
,
'sobrenome'
=>
'required|string'
,
'sobrenome'
=>
'required|string'
,
'email'
=>
[
'required'
,
'string'
,
'email'
,
'max:255'
,
Rule
::
unique
(
'users'
)
->
ignore
(
$id
)],
'email'
=>
[
'required'
,
'string'
,
'email'
,
'max:255'
,
Rule
::
unique
(
'users'
)
->
ignore
(
$id
)],
'password'
=>
'sometimes|required|string|min:6|confirmed'
,
'password'
=>
'sometimes|required|string|min:6|confirmed'
,
...
...
resources/views/home.blade.php
View file @
fc6f61a1
...
@@ -15,8 +15,73 @@
...
@@ -15,8 +15,73 @@
{{
session
(
'status'
)
}}
{{
session
(
'status'
)
}}
</
div
>
</
div
>
@
endif
@
endif
<
div
class
=
"row"
>
<
input
type
=
"checkbox"
class
=
"check"
id
=
"check"
>
<
label
id
=
"icone"
for
=
"check"
><
img
src
=
"imagem/icone_menuLateral.png"
></
label
>
<
div
class
=
"barra"
>
<
div
class
=
"imaLogosMenu1"
>
<
img
id
=
"govce"
src
=
"imagem/Logo governo_150px.png"
>
</
div
>
<
nav
>
<
fieldset
class
=
"menuNomeUsuario"
>
<
div
>
<
p
id
=
"pmenu"
>
Olá
,
</
p
>
<
input
type
=
"text"
id
=
"mNome"
name
=
"getnome"
placeholder
=
" Nome do Usuário "
>
</
div
>
</
fieldset
>
<
div
class
=
"link"
><
img
id
=
"icone1"
src
=
"imagem/icone_1.png"
>
Inicio
</
div
>
<
div
class
=
"link"
><
img
id
=
"icone2"
src
=
"imagem/icone_2.png"
>
Meus
dados
</
div
>
<
div
class
=
"link"
><
img
id
=
"icone3"
src
=
"imagem/icone_3.png"
>
Noticias
</
div
>
<
div
class
=
"link"
><
img
id
=
"icone4"
src
=
"imagem/icone_4.png"
>
Sair
</
div
>
</
nav
>
</
div
>
<
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
=
"imagem/icone agenda.png"
></
p
>
</
button
>
<
button
type
=
"submit"
class
=
"button_meusAgendamento"
><
br
>
Meus
Agendamentos
<
p
><
img
id
=
"idace2"
src
=
"imagem/Eventos.png"
></
p
>
</
button
>
<
button
type
=
"submit"
class
=
"button_entregaTitulos"
><
br
>
Entrega
de
Titulos
<
p
><
img
id
=
"idace3"
src
=
"imagem/meus agendamentos.png"
></
p
>
</
button
>
<
button
type
=
"submit"
class
=
"button_contato"
><
br
>
Contato
<
p
><
img
id
=
"idace4"
src
=
"imagem/Contato.png"
></
p
>
</
button
>
</
fieldset
>
</
form
>
<
div
class
=
"imaLogosMenu2"
>
<
img
id
=
"idaceMenu"
src
=
"imagem/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
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-header"
>@
lang
(
'agendamento.list'
,
[
'page'
=>
__
(
'agendamento.user_list'
)])
</
div
>
<
div
class
=
"card-body"
>
<
div
class
=
"card-body"
>
...
@@ -41,7 +106,7 @@
...
@@ -41,7 +106,7 @@
<
p
class
=
"card-text"
>@
lang
(
'agendamento.create_or_edit'
)
</
p
>
<
p
class
=
"card-text"
>@
lang
(
'agendamento.create_or_edit'
)
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
--
}}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
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