CEC-244 Remote car commands, search, sortable tables (#42)

* Add sortable table header

* Send bulk commands page
Update table page sizes
All tables are sortable

* Update site layout
Add search to update packages

* Reenable Datadog

* remove dev stuff
This commit is contained in:
John Wu
2021-05-26 15:46:46 -07:00
committed by GitHub
parent 64995ef7a6
commit 931e1521e8
29 changed files with 1886 additions and 1541 deletions

View File

@@ -17,7 +17,7 @@ const useStyles = makeStyles((theme) => ({
padding: theme.spacing(2, 4, 3),
},
paper: {
marginTop: theme.spacing(8),
marginTop: theme.spacing(1),
display: "flex",
flexDirection: "column",
alignItems: "center",
@@ -105,7 +105,7 @@ const useStyles = makeStyles((theme) => ({
padding: theme.spacing(0, 1),
// necessary for content to be below app bar
...theme.mixins.toolbar,
justifyContent: "flex-end",
justifyContent: "flex-start",
},
content: {
flexGrow: 1,
@@ -134,6 +134,34 @@ const useStyles = makeStyles((theme) => ({
textDecorationLine: "underline",
color: "Blue",
},
hiddenSortSpan: {
border: 0,
clip: "rect(0 0 0 0)",
height: 1,
margin: -1,
overflow: "hidden",
padding: 0,
position: "absolute",
top: 20,
width: 1,
},
margin: {
margin: theme.spacing(1),
},
textField: {
width: "25ch",
},
tableToolbar: {
textAlign: "left",
paddingLeft: theme.spacing(2),
paddingRight: theme.spacing(1),
width: "100%",
},
logo: {
height: 60,
width: 60,
margin: "auto",
},
}));
export default useStyles;