Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PortalMEC-React
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PortalMEC
PortalMEC-React
Commits
264c6dfc
Commit
264c6dfc
authored
4 years ago
by
lfr20
Browse files
Options
Downloads
Patches
Plain Diff
fixed request and responsiveness
parent
e3f0993d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
4 merge requests
!57
Merge of develop into master
,
!56
Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...
,
!39
Update admin system
,
!36
Fix perfil into develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Components/TabPanels/PanelComponents/ButtonsArea.js
+36
-41
36 additions, 41 deletions
src/Components/TabPanels/PanelComponents/ButtonsArea.js
with
36 additions
and
41 deletions
src/Components/TabPanels/PanelComponents/ButtonsArea.js
+
36
−
41
View file @
264c6dfc
...
...
@@ -18,76 +18,71 @@ along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>
import
React
from
'
react
'
import
styled
from
'
styled-components
'
import
{
Carregados
}
from
'
../StyledComponents.js
'
import
{
Carregados
}
from
'
../StyledComponents.js
'
import
Button
from
'
@material-ui/core/Button
'
;
export
function
ButtonsAreaRecurso
(
props
)
{
export
function
ButtonsAreaRecurso
(
props
)
{
return
(
<
Carregados
>
<
p
style
=
{{
margin
:
"
0 0 10px
"
,
fontSize
:
"
14px
"
}}
>
<
p
style
=
{{
margin
:
"
0 0 10px
"
,
fontSize
:
"
14px
"
}}
>
Carregados
{
props
.
sliceLength
}
de
{
props
.
length
}
<
/p
>
{
props
.
length
>
4
&&
<
React
.
Fragment
>
<
ButtonMostrarMaisRecurso
onClick
=
{()
=>
{
props
.
showMore
()}}
>
<
span
style
=
{{
color
:
"
#fff
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
MAIS
<
/span
>
<
/ButtonMostrarMaisRecurso
>
<
ButtonMostrarTodos
onClick
=
{()
=>
{
props
.
showAll
()}}
>
<
span
style
=
{{
color
:
"
#666
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
TODOS
<
/span
>
<
/ButtonMostrarTodos
>
<
/React.Fragment
>
props
.
end
?
null
:
<
React
.
Fragment
>
<
ButtonMostrarMaisRecurso
onClick
=
{()
=>
props
.
showMore
()}
>
<
span
style
=
{{
color
:
"
#fff
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
MAIS
<
/span
>
<
/ButtonMostrarMaisRecurso
>
<
ButtonMostrarTodos
onClick
=
{()
=>
{
props
.
showAll
()
}}
>
<
span
style
=
{{
color
:
"
#666
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
TODOS
<
/span
>
<
/ButtonMostrarTodos
>
<
/React.Fragment
>
}
<
/Carregados
>
)
}
export
function
ButtonsAreaColecao
(
props
)
{
export
function
ButtonsAreaColecao
(
props
)
{
return
(
<
Carregados
>
<
p
style
=
{{
margin
:
"
0 0 10px
"
,
fontSize
:
"
14px
"
}}
>
<
p
style
=
{{
margin
:
"
0 0 10px
"
,
fontSize
:
"
14px
"
}}
>
Carregados
{
props
.
sliceLength
}
de
{
props
.
length
}
<
/p
>
{
props
.
length
>
4
&&
<
React
.
Fragment
>
<
ButtonMostrarMaisColecao
onClick
=
{()
=>
{
props
.
showMore
()}}
>
<
span
style
=
{{
color
:
"
#fff
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
MAIS
<
/span
>
<
/ButtonMostrarMaisColecao
>
<
ButtonMostrarTodos
onClick
=
{()
=>
{
props
.
showAll
()}}
>
<
span
style
=
{{
color
:
"
#666
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
TODOS
<
/span
>
<
/ButtonMostrarTodos
>
<
/React.Fragment
>
}
<
React
.
Fragment
>
<
ButtonMostrarMaisColecao
onClick
=
{()
=>
{
props
.
showMore
()
}}
>
<
span
style
=
{{
color
:
"
#fff
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
MAIS
<
/span
>
<
/ButtonMostrarMaisColecao
>
<
ButtonMostrarTodos
onClick
=
{()
=>
{
props
.
showAll
()
}}
>
<
span
style
=
{{
color
:
"
#666
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
TODOS
<
/span
>
<
/ButtonMostrarTodos
>
<
/React.Fragment
>
<
/Carregados
>
)
}
export
function
ButtonsAreaRede
(
props
)
{
export
function
ButtonsAreaRede
(
props
)
{
return
(
<
Carregados
>
<
p
style
=
{{
margin
:
"
0 0 10px
"
,
fontSize
:
"
14px
"
}}
>
<
p
style
=
{{
margin
:
"
0 0 10px
"
,
fontSize
:
"
14px
"
}}
>
Carregados
{
props
.
sliceLength
}
de
{
props
.
length
}
<
/p
>
{
props
.
length
>
4
&&
<
React
.
Fragment
>
<
ButtonMostrarMaisRede
onClick
=
{()
=>
{
props
.
showMore
()}}
>
<
span
style
=
{{
color
:
"
#fff
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
MAIS
<
/span
>
<
/ButtonMostrarMaisRede
>
<
ButtonMostrarTodos
onClick
=
{()
=>
{
props
.
showAll
()}}
>
<
span
style
=
{{
color
:
"
#666
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
TODOS
<
/span
>
<
/ButtonMostrarTodos
>
<
/React.Fragment
>
}
<
React
.
Fragment
>
<
ButtonMostrarMaisRede
onClick
=
{()
=>
{
props
.
showMore
()
}}
>
<
span
style
=
{{
color
:
"
#fff
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
MAIS
<
/span
>
<
/ButtonMostrarMaisRede
>
<
ButtonMostrarTodos
onClick
=
{()
=>
{
props
.
showAll
()
}}
>
<
span
style
=
{{
color
:
"
#666
"
,
fontSize
:
"
14px
"
,
fontWeight
:
"
500
"
}}
>
MOSTRAR
TODOS
<
/span
>
<
/ButtonMostrarTodos
>
<
/React.Fragment
>
<
/Carregados
>
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment