|
@@ -1,8 +1,14 @@
|
1
|
1
|
import * as React from 'react';
|
2
|
2
|
|
|
3
|
+import {
|
|
4
|
+ EditSharp,
|
|
5
|
+ MailSharp,
|
|
6
|
+} from '@mui/icons-material'
|
|
7
|
+
|
3
|
8
|
import {
|
4
|
9
|
// descendingComparator,
|
5
|
10
|
rows,
|
|
11
|
+ action_icon,
|
6
|
12
|
Comparar,
|
7
|
13
|
Cuerpo,
|
8
|
14
|
TableHeader as EnhancedTableHead,
|
|
@@ -19,6 +25,7 @@ import {
|
19
|
25
|
|
20
|
26
|
import { Row, Col, Container } from 'react-bootstrap';
|
21
|
27
|
|
|
28
|
+
|
22
|
29
|
export function Contras() {
|
23
|
30
|
|
24
|
31
|
const [order, setOrder] = React.useState('asc');
|
|
@@ -26,7 +33,7 @@ export function Contras() {
|
26
|
33
|
const [selected, setSelected] = React.useState([]);
|
27
|
34
|
const [page, setPage] = React.useState(0);
|
28
|
35
|
const [dense, setDense] = React.useState(false);
|
29
|
|
- const [rowsPerPage, setRowsPerPage] = React.useState(15);
|
|
36
|
+ const [rowsPerPage, setRowsPerPage] = React.useState(10);
|
30
|
37
|
|
31
|
38
|
const handleRequestSort = (_event, property) => {
|
32
|
39
|
const isAsc = orderBy === property && order === 'asc';
|
|
@@ -35,6 +42,7 @@ export function Contras() {
|
35
|
42
|
};
|
36
|
43
|
|
37
|
44
|
const handleSelectAllClick = (event) => {
|
|
45
|
+
|
38
|
46
|
if (event.target.checked) {
|
39
|
47
|
const newSelecteds = rows.map( (n) => n.name);
|
40
|
48
|
setSelected(newSelecteds);
|
|
@@ -135,14 +143,19 @@ export function Contras() {
|
135
|
143
|
scope="row"
|
136
|
144
|
padding="none"
|
137
|
145
|
>
|
138
|
|
- {row.name}
|
|
146
|
+ {row.pass}
|
|
147
|
+ </TableCell>
|
|
148
|
+ <TableCell align="right">{row.nivel}</TableCell>
|
|
149
|
+ <TableCell align="right">{row.puesto}</TableCell>
|
|
150
|
+ <TableCell align="right">{row.cui}</TableCell>
|
|
151
|
+ <TableCell align="right">{row.uso}</TableCell>
|
|
152
|
+ <TableCell align="right">{row.picture}</TableCell>
|
|
153
|
+ <TableCell align="right">{row.cv}</TableCell>
|
|
154
|
+ <TableCell align="right">{row.replic}</TableCell>
|
|
155
|
+ <TableCell align="right">
|
|
156
|
+ <EditSharp style={action_icon} />
|
|
157
|
+ <MailSharp style={action_icon}/>
|
139
|
158
|
</TableCell>
|
140
|
|
- <TableCell align="right">{row.calories}</TableCell>
|
141
|
|
- <TableCell align="right">{row.fat}</TableCell>
|
142
|
|
- <TableCell align="right">{row.carbs}</TableCell>
|
143
|
|
- <TableCell align="right">{row.protein}</TableCell>
|
144
|
|
- <TableCell align="right">{row.protein}</TableCell>
|
145
|
|
- <TableCell align="right">{row.protein}</TableCell>
|
146
|
159
|
</TableRow>
|
147
|
160
|
);
|
148
|
161
|
})}
|