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
a6373131
"resources/vscode:/vscode.git/clone" did not exist on "66556b9023ba736a095de5782fb350898bed0e87"
Commit
a6373131
authored
Jul 06, 2022
by
GuilhermeGz
Browse files
Adicionadas janelas para confirmação de botões de remoção
parent
865c4674
Changes
5
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/analisarProposta.blade.php
View file @
a6373131
...
...
@@ -916,8 +916,7 @@
href
=
"{{ route('admin.visualizarParecerInterno', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
]) }}"
>
Avaliado
</
a
>
@
endif
</
h9
>
<
br
>
<
a
onclick
=
"return confirm('Tem certeza que deseja remover o avaliador
{
{$avaliador->user->name}
}
?')"
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>1]) }}"
>
<
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#removerInterno{{
$avaliador->id
}}"
>
Remover
</
a
>
<
br
>
...
...
@@ -926,6 +925,26 @@
</
a
>
</
div
>
@
endif
<!--
Modal
Remover
-->
<
div
class
=
"modal fade"
id
=
"removerInterno{{
$avaliador->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
>
Remover
Avaliador
Interno
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
p
>
Você
tem
certeza
que
deseja
remover
o
avaliador
:
{{
$avaliador
->
user
->
name
}}
?</
p
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
<
a
type
=
"button"
class
=
"btn btn-danger"
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>1]) }}"
>
Remover
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
div
>
<
br
>
...
...
@@ -949,8 +968,7 @@
</
h9
>
<
br
>
<
a
onclick
=
"return confirm('Tem certeza que deseja remover o avaliador
{
{$avaliador->user->name}
}
?')"
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>0]) }}"
>
<
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#removerAdHoc{{
$avaliador->id
}}"
>
Remover
</
a
>
<
br
>
...
...
@@ -959,6 +977,27 @@
</
a
>
</
div
>
@
endif
<!--
Modal
Remover
-->
<
div
class
=
"modal fade"
id
=
"removerAdHoc{{
$avaliador->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
>
Remover
Avaliador
Ad
Hoc
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
p
>
Você
tem
certeza
que
deseja
remover
o
avaliador
:
{{
$avaliador
->
user
->
name
}}
?</
p
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
<
a
type
=
"button"
class
=
"btn btn-danger"
href
=
"{{ route('admin.removerProjAval', ['trabalho_id' =>
$trabalho->id
, 'avaliador_id' =>
$avaliador->id
,'flag'=>0]) }}"
>
Remover
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
...
...
resources/views/administrador/selecionarAvaliadores.blade.php
View file @
a6373131
...
...
@@ -154,9 +154,31 @@
@
csrf
<
input
type
=
"hidden"
name
=
"avaliador_id"
value
=
"{{
$avaliador->id
}}"
>
<
input
type
=
"hidden"
name
=
"evento_id"
value
=
"{{
$evento->id
}}"
>
<
button
type
=
"
submit
"
class
=
"btn btn-danger"
@
if
(
$avaliador
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
->
count
()
!=
0
)
disabled
=
"disabled"
@
endif
onclick
=
"return confirm('Tem certeza que deseja remover o avaliador
{
{$avaliador->
user->name}
}
?')
"
<
button
type
=
"
button
"
class
=
"btn btn-danger"
@
if
(
$avaliador
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
->
count
()
!=
0
)
disabled
=
"disabled"
@
endif
data
-
toggle
=
"modal"
data
-
target
=
"#modal
{{
$avaliador->
id
}}
"
>
Remover
</
button
>
<!--
Modal
Remover
-->
<
div
class
=
"modal fade"
id
=
"modal{{
$avaliador->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
>
Remover
Avaliador
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
p
>
Você
tem
certeza
que
deseja
remover
o
avaliador
:
{{
$avaliador
->
user
->
name
}}
?</
p
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
<
button
type
=
"submit"
class
=
"btn btn-danger"
>
Remover
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
</
form
>
<
form
action
=
"{{ route('admin.reenviarConvite') }}"
method
=
"POST"
>
@
csrf
...
...
resources/views/naturezas/area/detalhes.blade.php
View file @
a6373131
...
...
@@ -51,18 +51,38 @@
Editar
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
form
method
=
"POST"
action
=
"{{ route('subarea.deletar', ['id' =>
$subArea->id
]) }}"
>
{{
csrf_field
()
}}
<
button
type
=
"submit"
class
=
"dropdown-item dropdown-item-delete text-center"
>
<
button
data
-
toggle
=
"modal"
data
-
target
=
"#removerSubarea{{
$subArea->id
}}"
class
=
"dropdown-item dropdown-item-delete text-center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
</
form
>
</
div
>
</
div
>
</
td
>
</
tr
>
<!--
Modal
Remover
-->
<
div
class
=
"modal fade"
id
=
"removerSubarea{{
$subArea->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
>
Remover
Subárea
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
p
>
Você
tem
certeza
que
deseja
remover
a
Subárea
:
{{
$subArea
->
nome
}}
?</
p
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
<
form
method
=
"POST"
action
=
"{{ route('subarea.deletar', ['id' =>
$subArea->id
]) }}"
>
@
csrf
<
button
type
=
"submit"
class
=
"btn btn-danger"
>
Remover
</
button
>
</
form
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
tbody
>
</
table
>
...
...
resources/views/naturezas/grandeArea/collapse-grande-area.blade.php
View file @
a6373131
...
...
@@ -37,25 +37,45 @@
Editar
</a>
<hr
class=
"dropdown-hr"
>
<form
method=
"POST"
action=
"{{ route('grandearea.deletar', ['id' => $grandeArea->id]) }}"
>
{{ csrf_field() }}
<button
type=
"submit"
class=
"dropdown-item dropdown-item-delete text-center"
>
<button
data-toggle=
"modal"
data-target=
"#removerGrandeArea{{ $grandeArea->id }}"
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
id=
"collapse{{ $grandeArea->id }}"
class=
"collapse ml-3"
aria-labelledby=
"headingOne"
data-parent=
"#accordion1"
>
@include('naturezas.grandeArea.collapse-area')
</div>
</div>
<!-- Modal Remover -->
<div
class=
"modal fade"
id=
"removerGrandeArea{{ $grandeArea->id }}"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"exampleModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-lg"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h5
class=
"modal-title"
id=
"exampleModalLabel"
>
Remover Grande Área
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
>
<p>
Você tem certeza que deseja remover a Grande Área: {{ $grandeArea->nome }}?
</p>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-secondary"
data-dismiss=
"modal"
>
Cancelar
</button>
<form
method=
"POST"
action=
"{{ route('grandearea.deletar', ['id' => $grandeArea->id]) }}"
>
@csrf
<button
type=
"submit"
class=
"btn btn-danger"
>
Remover
</button>
</form>
</div>
</div>
</div>
</div>
@endforeach
</div>
...
...
@@ -93,20 +113,39 @@
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"
>
<button
data-toggle=
"modal"
data-target=
"#removerAreaTematica{{ $areasTematica->id }}"
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>
<!-- Modal Remover -->
<div
class=
"modal fade"
id=
"removerAreaTematica{{ $areasTematica->id }}"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"exampleModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-lg"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h5
class=
"modal-title"
id=
"exampleModalLabel"
>
Remover Área Temática
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
>
<p>
Você tem certeza que deseja remover a Área Temática: {{ $areasTematica->nome }}?
</p>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-secondary"
data-dismiss=
"modal"
>
Cancelar
</button>
<form
method=
"POST"
action=
"{{ route('areaTematica.deletar', ['id' => $areasTematica->id]) }}"
>
@csrf
<button
type=
"submit"
class=
"btn btn-danger"
>
Remover
</button>
</form>
</div>
</div>
</div>
</div>
@endforeach
</div>
\ No newline at end of file
resources/views/naturezas/grandeArea/detalhes.blade.php
View file @
a6373131
...
...
@@ -55,18 +55,38 @@
Editar
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
form
method
=
"POST"
action
=
"{{ route('area.deletar', ['id' =>
$area->id
]) }}"
>
{{
csrf_field
()
}}
<
button
type
=
"submit"
class
=
"dropdown-item dropdown-item-delete text-center"
>
<
button
data
-
toggle
=
"modal"
data
-
target
=
"#removerArea{{
$area->id
}}"
class
=
"dropdown-item dropdown-item-delete text-center"
>
<
img
src
=
"
{
{asset('img/icons/logo_lixeira.png')}
}
"
alt
=
""
>
Deletar
</
button
>
</
form
>
</
div
>
</
div
>
</
td
>
</
tr
>
<!--
Modal
Remover
-->
<
div
class
=
"modal fade"
id
=
"removerArea{{
$area->id
}}"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
>
Remover
Área
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
<
p
>
Você
tem
certeza
que
deseja
remover
a
Área
:
{{
$area
->
nome
}}
?</
p
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
<
form
method
=
"POST"
action
=
"{{ route('area.deletar', ['id' =>
$area->id
]) }}"
>
@
csrf
<
button
type
=
"submit"
class
=
"btn btn-danger"
>
Remover
</
button
>
</
form
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
tbody
>
</
table
>
...
...
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