File tree Expand file tree Collapse file tree 19 files changed +332
-327
lines changed Expand file tree Collapse file tree 19 files changed +332
-327
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function App () {
74
74
75
75
return (
76
76
< ApolloProvider client = { client } >
77
- < Box display = " flex" >
77
+ < Box display = ' flex' >
78
78
< TopBar
79
79
subheader = { topBarSubheader }
80
80
error = { error !== undefined }
@@ -91,7 +91,7 @@ function App () {
91
91
/>
92
92
) }
93
93
< Box
94
- component = " main"
94
+ component = ' main'
95
95
sx = { {
96
96
flexGrow : 1 ,
97
97
height : '100vh' ,
@@ -101,13 +101,13 @@ function App () {
101
101
>
102
102
< Container maxWidth = { false } sx = { { paddingY : 4 } } >
103
103
< Routes >
104
- < Route path = " /sessions" element = { < Sessions /> } />
105
- < Route path = " /help" element = { < Help /> } />
106
- < Route path = "/" element = { < Overview /> } />
107
- < Route path = "*" element = { < Help /> } />
104
+ < Route path = ' /sessions' element = { < Sessions /> } />
105
+ < Route path = ' /help' element = { < Help /> } />
106
+ < Route path = '/' element = { < Overview /> } />
107
+ < Route path = '*' element = { < Help /> } />
108
108
</ Routes >
109
109
</ Container >
110
- < Footer />
110
+ < Footer />
111
111
</ Box >
112
112
</ Box >
113
113
</ ApolloProvider >
Original file line number Diff line number Diff line change @@ -24,11 +24,12 @@ function EnhancedTableToolbar (props) {
24
24
return (
25
25
< Toolbar sx = { { paddingLeft : 2 , paddingRight : 1 } } >
26
26
< Typography
27
- textAlign = { 'center' }
27
+ textAlign = 'center'
28
28
sx = { { flex : '1 1 100%' } }
29
- variant = "h3"
30
- id = "tableTitle"
31
- component = "div" >
29
+ variant = 'h3'
30
+ id = 'tableTitle'
31
+ component = 'div'
32
+ >
32
33
{ title }
33
34
</ Typography >
34
35
</ Toolbar >
Original file line number Diff line number Diff line change @@ -22,31 +22,31 @@ function Error (props) {
22
22
const { message, errorMessage } = props
23
23
return (
24
24
< Box
25
- height = " 100%"
26
- width = " 100%"
25
+ height = ' 100%'
26
+ width = ' 100%'
27
27
paddingY = { 3 }
28
28
>
29
29
< Box
30
- display = " flex"
31
- flexDirection = " column"
32
- height = " 100%"
33
- justifyContent = " center"
30
+ display = ' flex'
31
+ flexDirection = ' column'
32
+ height = ' 100%'
33
+ justifyContent = ' center'
34
34
>
35
- < Container maxWidth = "md" >
35
+ < Container maxWidth = 'md' >
36
36
< Box mb = { 3 } >
37
37
< Typography
38
- align = " center"
39
- color = " textPrimary"
40
- variant = "h3"
38
+ align = ' center'
39
+ color = ' textPrimary'
40
+ variant = 'h3'
41
41
>
42
42
{ message }
43
43
</ Typography >
44
44
</ Box >
45
45
< Typography
46
- align = " center"
47
- color = " textPrimary"
48
- variant = "h4"
49
- component = " span"
46
+ align = ' center'
47
+ color = ' textPrimary'
48
+ variant = 'h4'
49
+ component = ' span'
50
50
>
51
51
< pre >
52
52
{ errorMessage }
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ import Snackbar from '@mui/material/Snackbar'
23
23
24
24
const Alert = React . forwardRef < HTMLDivElement , AlertProps > ( function Alert (
25
25
props ,
26
- ref ,
26
+ ref
27
27
) {
28
- return < MuiAlert elevation = { 6 } ref = { ref } variant = " filled" { ...props } />
28
+ return < MuiAlert elevation = { 6 } ref = { ref } variant = ' filled' { ...props } />
29
29
} )
30
30
31
31
function LiveView ( props ) {
@@ -148,7 +148,7 @@ function LiveView (props) {
148
148
onMouseLeave = { handleMouseLeave }
149
149
>
150
150
< PasswordDialog
151
- title = " LiveView (VNC) Password"
151
+ title = ' LiveView (VNC) Password'
152
152
open = { open }
153
153
openDialog = { handlePasswordDialog }
154
154
onConfirm = { handleCredentialsEntered }
@@ -160,7 +160,7 @@ function LiveView (props) {
160
160
autoHideDuration = { 6000 }
161
161
onClose = { handleClose }
162
162
>
163
- < Alert severity = " error" sx = { { width : '100%' } } >
163
+ < Alert severity = ' error' sx = { { width : '100%' } } >
164
164
{ message }
165
165
</ Alert >
166
166
</ Snackbar >
@@ -170,7 +170,7 @@ function LiveView (props) {
170
170
autoHideDuration = { 4000 }
171
171
onClose = { ( ) => setOpenSuccessAlert ( false ) }
172
172
>
173
- < Alert severity = " success" sx = { { width : '100%' } } >
173
+ < Alert severity = ' success' sx = { { width : '100%' } } >
174
174
Connected successfully!
175
175
</ Alert >
176
176
</ Snackbar >
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const PasswordDialog = (props) => {
64
64
< Dialog
65
65
open = { open }
66
66
onClose = { ( ) => openDialog ( false ) }
67
- aria-labelledby = " password-dialog"
67
+ aria-labelledby = ' password-dialog'
68
68
>
69
69
< DialogTitle id = 'password-dialog' > { title } </ DialogTitle >
70
70
< DialogContent >
@@ -73,17 +73,17 @@ const PasswordDialog = (props) => {
73
73
</ DialogContentText >
74
74
< FormControl
75
75
sx = { { margin : 1 , width : '25ch' } }
76
- variant = " standard"
76
+ variant = ' standard'
77
77
>
78
78
< InputLabel
79
- htmlFor = " standard-adornment-password"
79
+ htmlFor = ' standard-adornment-password'
80
80
>
81
81
Password
82
82
</ InputLabel >
83
83
< Input
84
- id = " standard-adornment-password"
84
+ id = ' standard-adornment-password'
85
85
autoFocus
86
- margin = " dense"
86
+ margin = ' dense'
87
87
type = { values . showPassword ? 'text' : 'password' }
88
88
value = { values . password }
89
89
fullWidth
@@ -105,22 +105,22 @@ const PasswordDialog = (props) => {
105
105
</ DialogContent >
106
106
< DialogActions >
107
107
< Button
108
- variant = " contained"
108
+ variant = ' contained'
109
109
onClick = { ( ) => {
110
110
openDialog ( false )
111
111
onCancel ( )
112
112
} }
113
- color = " secondary"
113
+ color = ' secondary'
114
114
>
115
115
Cancel
116
116
</ Button >
117
117
< Button
118
- variant = " contained"
118
+ variant = ' contained'
119
119
onClick = { ( ) => {
120
120
// setOpen(false)
121
121
onConfirm ( values . password )
122
122
} }
123
- color = " primary"
123
+ color = ' primary'
124
124
>
125
125
Accept
126
126
</ Button >
Original file line number Diff line number Diff line change @@ -97,9 +97,9 @@ function NavBarBottom (props): JSX.Element {
97
97
< div >
98
98
< Box p = { 3 } m = { 1 } >
99
99
< Typography
100
- align = " center"
100
+ align = ' center'
101
101
gutterBottom
102
- variant = "h4"
102
+ variant = 'h4'
103
103
>
104
104
Queue size: { sessionQueueSize }
105
105
</ Typography >
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function NoData (props) {
37
37
< Typography
38
38
align = 'center'
39
39
color = 'textPrimary'
40
- variant = "h1"
40
+ variant = 'h1'
41
41
paddingBottom = { 1 }
42
42
>
43
43
{ message }
Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ function Node (props) {
37
37
< CardContent sx = { { pl : 2 , pr : 1 } } >
38
38
< Grid
39
39
container
40
- justifyContent = " space-between"
40
+ justifyContent = ' space-between'
41
41
spacing = { 1 }
42
42
>
43
43
< Grid item xs = { 10 } >
44
44
< Typography
45
- color = " textPrimary"
45
+ color = ' textPrimary'
46
46
gutterBottom
47
- variant = "h6"
47
+ variant = 'h6'
48
48
>
49
49
< Box fontWeight = 'fontWeightBold' mr = { 1 } display = 'inline' >
50
50
URI:
You can’t perform that action at this time.
0 commit comments