Telemetry finished
This commit is contained in:
parent
967701b500
commit
06640aceb6
@ -1,6 +1,8 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Banner from '../src/components/banner/Banner';
|
import Banner from '../src/components/banner/Banner';
|
||||||
import { TelemetriaView, Buttons} from '../styles/layouts/Telemetria/TelemetriaView';
|
import { TelemetriaView, Buttons} from '../styles/layouts/Telemetria/TelemetriaView';
|
||||||
|
import GradientButton from '../src/components/buttons/gradientButton/GradientButton'
|
||||||
|
import Header from '../src/components/header/Header';
|
||||||
import MenuItem from '@mui/material/MenuItem';
|
import MenuItem from '@mui/material/MenuItem';
|
||||||
import FormControl from '@mui/material/FormControl';
|
import FormControl from '@mui/material/FormControl';
|
||||||
import Select, { SelectChangeEvent } from '@mui/material/Select';
|
import Select, { SelectChangeEvent } from '@mui/material/Select';
|
||||||
@ -21,14 +23,14 @@ export default function Telemetria() {
|
|||||||
return(
|
return(
|
||||||
|
|
||||||
<TelemetriaView>
|
<TelemetriaView>
|
||||||
|
<Header name='' />
|
||||||
<Banner title ='Telemetria' subtitle='Dados Coletados do Sistema de Coleta de Dados de Energia -
|
<Banner title ='Telemetria' subtitle='Dados Coletados do Sistema de Coleta de Dados de Energia -
|
||||||
SCDE da Câmara de Comercialização de Energia Elétrica - CCEE,
|
SCDE da Câmara de Comercialização de Energia Elétrica - CCEE,
|
||||||
sendo que as quantidades aqui informadas são de responsabilidade do agente de medição
|
sendo que as quantidades aqui informadas são de responsabilidade do agente de medição
|
||||||
- Distribuidora.' imgSource='/assets/graphical.png' />
|
- Distribuidora.' imgSource='/assets/graphical.png' />
|
||||||
|
|
||||||
|
|
||||||
<FormControl size="small" sx={{ width: 240, mt:10 , pl:4 }} style={{}}>
|
<FormControl size="small" sx={{ width: 300, mt:10 , pl:7 }} style={{}}>
|
||||||
<p className='title'>Unidade</p>
|
<p className='title'>Unidade</p>
|
||||||
<Select
|
<Select
|
||||||
value={age}
|
value={age}
|
||||||
@ -46,7 +48,7 @@ export default function Telemetria() {
|
|||||||
|
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<FormControl size="small" sx={{ width: 260, mt:10 , pl:5}} >
|
<FormControl size="small" sx={{ width: 300, mt:10 , pl:7}} >
|
||||||
<p className='title'>Data Inicial</p>
|
<p className='title'>Data Inicial</p>
|
||||||
<Select
|
<Select
|
||||||
value={age}
|
value={age}
|
||||||
@ -63,7 +65,7 @@ export default function Telemetria() {
|
|||||||
</Select>
|
</Select>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<FormControl size="small" sx={{ width: 260, mt:10 , pl:5, }} >
|
<FormControl size="small" sx={{ width: 300, mt:10 , pl:7, }} >
|
||||||
<p className='title'>Data Final</p>
|
<p className='title'>Data Final</p>
|
||||||
<Select
|
<Select
|
||||||
value={age}
|
value={age}
|
||||||
@ -80,7 +82,7 @@ export default function Telemetria() {
|
|||||||
</Select>
|
</Select>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<FormControl size="small" sx={{ width: 270, mt:10 , pl:5}} >
|
<FormControl size="small" sx={{ width: 280, mt:10 , pl:5}} >
|
||||||
<p className='title'>Discretização</p>
|
<p className='title'>Discretização</p>
|
||||||
<Select
|
<Select
|
||||||
value={age}
|
value={age}
|
||||||
@ -98,9 +100,9 @@ export default function Telemetria() {
|
|||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<Buttons>
|
<Buttons>
|
||||||
<button className='btnGrafico'> <p className='btnTitle'>GRÁFICOS</p> <br /> GERAR GRÁFICOS COM OS DADOS SELECIONADOS</button>
|
<GradientButton title='GRÁFICO' description='Gerar gráficos com os dados selecionados' orange />
|
||||||
<button className='btndownload'> <p>DOWNLOADS</p> <br /> DADOS BRUTOS SELECIONADOS</button>
|
<GradientButton title='DOWNLOADS' description='Gerar gráficos com os dados selecionados' purple />
|
||||||
<button className='btnDados'> <p>DADOS</p> <br /> HORÁRIOS DO MÊS ATUAL</button>
|
<GradientButton title='DADOS' description='Gerar gráficos com os dados selecionados' green />
|
||||||
</Buttons>
|
</Buttons>
|
||||||
</TelemetriaView>
|
</TelemetriaView>
|
||||||
)
|
)
|
||||||
|
|||||||
@ -18,13 +18,16 @@ export const BannerView = styled.div`
|
|||||||
|
|
||||||
.text {
|
.text {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 82px 0 0 20px;
|
margin: 90px 30px;
|
||||||
|
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
|
font-size:19px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|
||||||
color: white;
|
color: white;
|
||||||
|
padding-top:45px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
`
|
`
|
||||||
|
|||||||
@ -7,7 +7,7 @@ export const BasicButtonView = styled.button`
|
|||||||
|
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
|
cursor: pointer;
|
||||||
background: #254F7F;
|
background: #254F7F;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
|
|||||||
@ -6,16 +6,19 @@ export const GradientButtonView = styled.button`
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
border-radius: 2px;
|
||||||
|
|
||||||
width: 30%;
|
width: 25%;
|
||||||
height: 150px;
|
height: 110px;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
|
font-size: 10px;
|
||||||
|
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
|
||||||
background: ${ props => props.color==='orange'?
|
background: ${ props => props.color==='orange'?
|
||||||
'linear-gradient(200.86deg, #F48665 8.03%, #F48665 91.97%, #FDA23F 91.97%), #FFFFFF'
|
'linear-gradient(200.86deg, #F48665 8.03%, #F48665 91.97%), #FFFFFF'
|
||||||
:
|
:
|
||||||
props.color === 'purple'?
|
props.color === 'purple'?
|
||||||
'linear-gradient(200.69deg, #9A56FF 8.53%, #D78AFD 91.47%), #FFFFFF'
|
'linear-gradient(200.69deg, #9A56FF 8.53%, #D78AFD 91.47%), #FFFFFF'
|
||||||
|
|||||||
@ -37,10 +37,11 @@ export const Buttons = styled.div`
|
|||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-top: 5rem;
|
margin-top: 5rem;
|
||||||
|
padding: 1px 60px;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
height: 6rem;
|
height: 6rem;
|
||||||
/* flex-direction: column; */
|
|
||||||
/*
|
/*
|
||||||
.btnSucess{
|
.btnSucess{
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
@ -49,7 +50,7 @@ export const Buttons = styled.div`
|
|||||||
border: none;
|
border: none;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
.btnGrafico {
|
/* .btnGrafico {
|
||||||
box-shadow:inset 0px 34px 0px -15px #F48665;
|
box-shadow:inset 0px 34px 0px -15px #F48665;
|
||||||
background-color:#F48665;
|
background-color:#F48665;
|
||||||
border:none;
|
border:none;
|
||||||
@ -110,7 +111,7 @@ p{
|
|||||||
.myButton:active {
|
.myButton:active {
|
||||||
position:relative;
|
position:relative;
|
||||||
/* justify-content: space-between; */
|
/* justify-content: space-between; */
|
||||||
top:1px;
|
/* top:1px;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -119,8 +120,8 @@ p{
|
|||||||
box-shadow:inset 100% #23BDB8;
|
box-shadow:inset 100% #23BDB8;
|
||||||
background-color:#23BDB8;
|
background-color:#23BDB8;
|
||||||
border:none;
|
border:none;
|
||||||
border-radius: 2px;
|
border-radius: 2px; */
|
||||||
display:inline-block;
|
/* display:inline-block;
|
||||||
width: 17rem;
|
width: 17rem;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
color:#ffffff;
|
color:#ffffff;
|
||||||
@ -140,9 +141,9 @@ p{
|
|||||||
}
|
}
|
||||||
.myButton:active {
|
.myButton:active {
|
||||||
position:relative;
|
position:relative;
|
||||||
/* justify-content: space-between; */
|
justify-content: space-between;
|
||||||
top:1px;
|
top:1px;
|
||||||
}
|
} */
|
||||||
|
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user