Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
c563ef1d
"app/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "1b9d6342e272ff81fac412763ce96e8c09096a03"
Commit
c563ef1d
authored
May 19, 2022
by
Guilherme Silva
Browse files
Telas para manipulação de areas tematicas no sistema
parent
db738888
Changes
3
Show whitespace changes
Inline
Side-by-side
resources/views/areaTematica/create.blade.php
0 → 100644
View file @
c563ef1d
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 50px; margin-bottom: 305px "
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-12"
>
<
h2
style
=
"color: rgb(0, 140, 255);"
>
{{
__
(
'Criar uma nova área temática'
)
}}
</
h2
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<
form
method
=
"POST"
action
=
"{{ route('areaTematica.salvar')}}"
>
@
csrf
<
div
class
=
"col-sm-12"
>
<
label
for
=
"nome"
class
=
"col-form-label"
style
=
"color: rgb(0, 140, 255);"
>
{{
__
(
'Nome'
)
}}
<
span
style
=
"color: red;"
>
*</
span
></
label
>
<
input
id
=
"nome"
type
=
"text"
class
=
"form-control @error('nome') is-invalid @enderror"
name
=
"nome"
value
=
"{{ old('nome') }}"
required
autocomplete
=
"nome"
autofocus
>
@
error
(
'nome'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
button
type
=
"submit"
class
=
"btn btn-info"
style
=
"position:relative;top:10px;"
>
{{
__
(
'Salvar'
)
}}
</
button
>
</
div
>
</
form
>
</
div
>
</
div
>
@
endsection
\ No newline at end of file
resources/views/areaTematica/editar.blade.php
0 → 100644
View file @
c563ef1d
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 50px; margin-bottom: 305px "
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-12"
>
<
h2
style
=
"color: rgb(0, 140, 255);"
>
{{
__
(
'Editar uma área temática'
)
}}
</
h2
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<
form
method
=
"POST"
action
=
"{{ route('areaTematica.atualizar', ['id' =>
$areaTematica->id
])}}"
>
@
csrf
<
div
class
=
"col-sm-12"
>
<
label
for
=
"nome"
class
=
"col-form-label"
style
=
"color: rgb(0, 140, 255);"
>
{{
__
(
'Nome'
)
}}
<
span
style
=
"color: red;"
>
*</
span
></
label
>
<
input
id
=
"nome"
type
=
"text"
class
=
"form-control @error('nome') is-invalid @enderror"
name
=
"nome"
value
=
"{{
$areaTematica->nome
}}"
required
autocomplete
=
"nome"
autofocus
>
@
error
(
'nome'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
button
type
=
"submit"
class
=
"btn btn-info"
style
=
"position:relative;top:10px;"
>
{{
__
(
'Salvar'
)
}}
</
button
>
</
div
>
</
form
>
</
div
>
</
div
>
@
endsection
\ No newline at end of file
resources/views/naturezas/grandeArea/collapse-grande-area.blade.php
View file @
c563ef1d
...
@@ -57,4 +57,56 @@
...
@@ -57,4 +57,56 @@
</div>
</div>
</div>
</div>
@endforeach
@endforeach
</div>
<div
id=
"accordion2"
>
<div
class=
"card"
>
<div
class=
"row"
>
<div
class=
"col-11 "
>
<h2
class=
"m-2"
>
Áreas Temáticas
</h2>
</div>
<div
class=
"col-1 text-center"
>
<a
href=
"{{route('areaTematica.criar')}}"
>
<i
class=
"fas fa-plus-circle fa-2x m-2"
style=
"color: green"
></i>
</a>
</div>
</div>
</div>
@foreach ($areasTematicas as $areasTematica)
<div
class=
"card"
>
<h5
class=
"mb-0"
>
<div
class=
"row"
>
<div
class=
"col-11"
>
<button
class=
"btn btn-link font-size-naturezas"
aria-expanded=
"true"
>
{{ $areasTematica->nome }}
</button>
</div>
<div
class=
"col-1 text-center"
>
<div
class=
" dropright mt-2 text-center"
>
<a
id=
"options"
class=
"dropdown-toggle "
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
{{--
<i
class=
"fas fa-cogs"
></i>
--}}
<i
class=
"fas fa-cog fa-1x"
></i>
</a>
<div
class=
"dropdown-menu"
>
<a
href=
"{{ route('areaTematica.edit', ['id' => $areasTematica->id]) }}"
class=
"dropdown-item text-center"
>
Editar
</a>
<hr
class=
"dropdown-hr"
>
<form
method=
"POST"
action=
"{{ route('areaTematica.deletar', ['id' => $areasTematica->id]) }}"
>
{{ csrf_field() }}
<button
type=
"submit"
class=
"dropdown-item dropdown-item-delete text-center"
>
<img
src=
"{{asset('img/icons/logo_lixeira.png')}}"
alt=
""
>
Deletar
</button>
</form>
</div>
</div>
</div>
</div>
</h5>
</div>
@endforeach
</div>
</div>
\ No newline at end of file
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