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
c7b4e93c
"app/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "381d10f556accae1f45dd73f69be96ea7db4ec98"
Commit
c7b4e93c
authored
Jan 24, 2023
by
Yuri Resende
Browse files
Modificando os modals para adicionar as áreas temáticas
parent
ad478cbc
Changes
4
Show whitespace changes
Inline
Side-by-side
resources/views/administrador/analisarProposta.blade.php
View file @
c7b4e93c
@
extends
(
'layouts.app'
)
@
extends
(
'layouts.app'
)
@
section
(
'styles'
)
<
link
rel
=
"stylesheet"
href
=
"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css"
integrity
=
"sha512-nMNlpuaDPrqlEls3IX/Q56H36qvBASwb3ipuo3MxeWbsQB1881ox0cRv7UPTgBlriqoynt35KjEwgGUeUXIPnw=="
crossorigin
=
"anonymous"
referrerpolicy
=
"no-referrer"
/>
@
endsection
@
section
(
'content'
)
@
section
(
'content'
)
@
php
@
php
$grandesAreas
=
\
App\GrandeArea
::
all
();
$grandesAreas
=
\
App\GrandeArea
::
all
();
...
@@ -1559,6 +1563,15 @@
...
@@ -1559,6 +1563,15 @@
required
>
required
>
</
div
>
</
div
>
<
div
class
=
"form-group"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Áreas Temáticas'
)
}}
<
span
style
=
"color: red; font-weight:bold"
>*</
span
></
label
>
<
select
class
=
"form-control"
id
=
"areaTematicaConvite"
style
=
"width: 425px"
name
=
"grandeAreaConvite[]"
multiple
=
"multiple"
required
>
@
foreach
(
$areasTematicas
as
$areaTematica
)
<
option
value
=
"
{
{$areaTematica->id}}">{{$areaTematica->nome}
}
</option>
@endforeach
</select>
</div>
@if(
$evento->natureza_id
== 3)
@if(
$evento->natureza_id
== 3)
<div class="
form
-
group
">
<div class="
form
-
group
">
<label for="
grandeArea
" class="
col
-
form
-
label
">{{ __('Áreas Temáticas') }} <span
<label for="
grandeArea
" class="
col
-
form
-
label
">{{ __('Áreas Temáticas') }} <span
...
@@ -1709,6 +1722,14 @@
...
@@ -1709,6 +1722,14 @@
@endsection
@endsection
@section('javascript')
@section('javascript')
<script src="
https
://
cdnjs
.
cloudflare
.
com
/
ajax
/
libs
/
select2
/
4.0.13
/
js
/
select2
.
min
.
js
" integrity="
sha512
-
2
ImtlRlf2VVmiGZsjm9bEyhjGW4dU7B6TNwh
/
hx
/
iSByxNENtj3WVE6o
/
9
Lj4TJeVXPi4bnOIMXFIJJAeufa0A
==
" crossorigin="
anonymous
" referrerpolicy="
no
-
referrer
"></script>
<script type="
text
/
javascript
">
$("
#areaTematicaConvite").select2({
placeholder
:
'Selecione as áreas temáticas'
,
allowClear
:
true
});
</
script
>
<
script
type
=
"text/javascript"
src
=
"http://code.jquery.com/jquery-1.7.2.min.js"
></
script
>
<
script
type
=
"text/javascript"
src
=
"http://code.jquery.com/jquery-1.7.2.min.js"
></
script
>
<
script
type
=
"text/javascript"
>
<
script
type
=
"text/javascript"
>
var
avaliacaoForm
;
var
avaliacaoForm
;
...
...
resources/views/administrador/selecionarAvaliadores.blade.php
View file @
c7b4e93c
@
extends
(
'layouts.app'
)
@
extends
(
'layouts.app'
)
@
section
(
'styles'
)
<
link
rel
=
"stylesheet"
href
=
"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css"
integrity
=
"sha512-nMNlpuaDPrqlEls3IX/Q56H36qvBASwb3ipuo3MxeWbsQB1881ox0cRv7UPTgBlriqoynt35KjEwgGUeUXIPnw=="
crossorigin
=
"anonymous"
referrerpolicy
=
"no-referrer"
/>
@
endsection
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 30px;"
>
<
div
class
=
"container"
style
=
"margin-top: 30px;"
>
...
@@ -262,6 +266,15 @@
...
@@ -262,6 +266,15 @@
<
input
type
=
"email"
class
=
"form-control"
name
=
"emailAvaliador"
id
=
"exampleInputEmail1"
required
>
<
input
type
=
"email"
class
=
"form-control"
name
=
"emailAvaliador"
id
=
"exampleInputEmail1"
required
>
</
div
>
</
div
>
<!--
aki
-->
<!--
aki
-->
<
div
class
=
"form-group"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Áreas Temáticas'
)
}}
<
span
style
=
"color: red; font-weight:bold"
>*</
span
></
label
>
<
select
class
=
"form-control"
id
=
"areaTematicaConvite"
style
=
"width: 425px"
name
=
"grandeAreaConvite[]"
multiple
=
"multiple"
required
>
@
foreach
(
$areasTematicas
as
$areaTematica
)
<
option
value
=
"
{
{$areaTematica->id}}">{{$areaTematica->nome}
}
</option>
@endforeach
</select>
</div>
@if(
$evento->natureza_id
!= 3)
@if(
$evento->natureza_id
!= 3)
<div class="
form
-
group
">
<div class="
form
-
group
">
<label for="
grandeArea
" class="
col
-
form
-
label
">{{ __('Grande Área') }} <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<label for="
grandeArea
" class="
col
-
form
-
label
">{{ __('Grande Área') }} <span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
...
@@ -337,6 +350,14 @@
...
@@ -337,6 +350,14 @@
@endsection
@endsection
@section('javascript')
@section('javascript')
<script src="
https
://
cdnjs
.
cloudflare
.
com
/
ajax
/
libs
/
select2
/
4.0.13
/
js
/
select2
.
min
.
js
" integrity="
sha512
-
2
ImtlRlf2VVmiGZsjm9bEyhjGW4dU7B6TNwh
/
hx
/
iSByxNENtj3WVE6o
/
9
Lj4TJeVXPi4bnOIMXFIJJAeufa0A
==
" crossorigin="
anonymous
" referrerpolicy="
no
-
referrer
"></script>
<script type="
text
/
javascript
">
$("
#areaTematicaConvite").select2({
placeholder
:
'Selecione as áreas temáticas'
,
allowClear
:
true
});
</
script
>
<
script
>
<
script
>
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myInput'
)
.
trigger
(
'focus'
)
$
(
'#myInput'
)
.
trigger
(
'focus'
)
...
...
resources/views/administrador/selecionarProjetos.blade.php
View file @
c7b4e93c
@
extends
(
'layouts.app'
)
@
extends
(
'layouts.app'
)
@
section
(
'styles'
)
<
link
rel
=
"stylesheet"
href
=
"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css"
integrity
=
"sha512-nMNlpuaDPrqlEls3IX/Q56H36qvBASwb3ipuo3MxeWbsQB1881ox0cRv7UPTgBlriqoynt35KjEwgGUeUXIPnw=="
crossorigin
=
"anonymous"
referrerpolicy
=
"no-referrer"
/>
@
endsection
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"container"
style
=
"margin-top: 30px;"
>
<
div
class
=
"container"
style
=
"margin-top: 30px;"
>
...
@@ -333,6 +337,15 @@
...
@@ -333,6 +337,15 @@
required>
required>
</div>
</div>
<div class="
form
-
group
">
<label for="
grandeArea
" class="
col
-
form
-
label
">{{ __('Áreas Temáticas') }}<span style="
color
:
red
;
font
-
weight
:
bold
">*</span></label>
<select class="
form
-
control
" id="
areaTematicaConvite
" style="
width
:
425
px
" name="
grandeAreaConvite
[]
" multiple="
multiple
" required>
@foreach(
$areasTematicas
as
$areaTematica
)
<option value="
{{
$areaTematica
->
id
}}
">
{
{$areaTematica->nome}
}
</option>
@endforeach
</select>
</div>
<div class="
form
-
group
">
<div class="
form
-
group
">
@if(
$evento->natureza_id
!= 3)
@if(
$evento->natureza_id
!= 3)
<label for="
grandeArea
" class="
col
-
form
-
label
">{{ __('Grande Área') }} <span
<label for="
grandeArea
" class="
col
-
form
-
label
">{{ __('Grande Área') }} <span
...
@@ -414,6 +427,15 @@
...
@@ -414,6 +427,15 @@
@endsection
@endsection
@section('javascript')
@section('javascript')
<script src="
https
://
cdnjs
.
cloudflare
.
com
/
ajax
/
libs
/
select2
/
4.0.13
/
js
/
select2
.
min
.
js
" integrity="
sha512
-
2
ImtlRlf2VVmiGZsjm9bEyhjGW4dU7B6TNwh
/
hx
/
iSByxNENtj3WVE6o
/
9
Lj4TJeVXPi4bnOIMXFIJJAeufa0A
==
" crossorigin="
anonymous
" referrerpolicy="
no
-
referrer
"></script>
<script type="
text
/
javascript
">
$("
#areaTematicaConvite").select2({
placeholder
:
'Selecione as áreas temáticas'
,
allowClear
:
true
});
</
script
>
<
script
>
<
script
>
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myModal'
)
.
on
(
'shown.bs.modal'
,
function
()
{
$
(
'#myInput'
)
.
trigger
(
'focus'
)
$
(
'#myInput'
)
.
trigger
(
'focus'
)
...
@@ -497,7 +519,5 @@
...
@@ -497,7 +519,5 @@
$
(
"#outra"
)
.
prop
(
'required'
,
false
);
$
(
"#outra"
)
.
prop
(
'required'
,
false
);
}
}
}
}
</
script
>
</
script
>
@
endsection
@
endsection
resources/views/layouts/app.blade.php
View file @
c7b4e93c
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
<link
href=
"{{ asset('css/app.css') }}"
rel=
"stylesheet"
>
<link
href=
"{{ asset('css/app.css') }}"
rel=
"stylesheet"
>
<link
href=
"{{ asset('css/layout.css') }}"
rel=
"stylesheet"
>
<link
href=
"{{ asset('css/layout.css') }}"
rel=
"stylesheet"
>
@yield('styles')
<style>
<style>
...
...
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