@@ -10,6 +10,8 @@ import { MeteorPubSub } from '@sofie-automation/meteor-lib/dist/api/pubsub'
10
10
import { ExpectedPackagesStatus } from './Status/package-status'
11
11
import { MediaStatus } from './Status/media-status'
12
12
import { CorelibPubSub } from '@sofie-automation/corelib/dist/pubsub'
13
+ import Row from 'react-bootstrap/Row'
14
+ import Col from 'react-bootstrap/Col'
13
15
14
16
interface IStatusMenuProps {
15
17
match ?: any
@@ -75,35 +77,25 @@ export default function Status(props: Readonly<IStatusProps>): JSX.Element {
75
77
useSubscription ( CorelibPubSub . showStyleVariants , null , null )
76
78
77
79
return (
78
- < div className = "mx-5 mt-5 has-statusbar" >
79
- { /* <header className='mvs'>
80
- <h1>{t('Status')}</h1>
81
- </header> */ }
82
- < div className = "mod mvl mhs" >
83
- < div className = "flex-row hide-m-up" >
84
- < div className = "flex-col c12 rm-c1 status-menu" >
85
- < StatusMenu match = { props . match } />
86
- </ div >
87
- </ div >
88
- < div className = "flex-row" >
89
- < div className = "flex-col c12 rm-c1 show-m-up status-menu" >
90
- < StatusMenu match = { props . match } />
91
- </ div >
92
- < div className = "flex-col c12 rm-c11 status-dialog" >
93
- < Switch >
94
- { /* <Route path='/status' exact component={WelcomeToStatus} /> */ }
95
- < Route path = "/status/messages" component = { ExternalMessages } />
96
- < Route path = "/status/media" component = { MediaStatus } />
97
- < Route path = "/status/media-legacy" component = { MediaManagerStatus } />
98
- < Route path = "/status/expected-packages" component = { ExpectedPackagesStatus } />
99
- < Route path = "/status/system" component = { SystemStatus } />
100
- < Route path = "/status/userLog" component = { UserActivity } />
101
- < Route path = "/status/evaluations" component = { EvaluationView } />
102
- < Redirect to = "/status/system" />
103
- </ Switch >
104
- </ div >
105
- </ div >
106
- </ div >
80
+ < div className = "mt-5 mx-5 has-statusbar" >
81
+ < Row >
82
+ < Col xs = { 12 } sm = { 4 } md = { 3 } lg = { 2 } >
83
+ < StatusMenu match = { props . match } />
84
+ </ Col >
85
+ < Col xs = { 12 } sm = { 8 } md = { 9 } lg = { 10 } >
86
+ < Switch >
87
+ { /* <Route path='/status' exact component={WelcomeToStatus} /> */ }
88
+ < Route path = "/status/messages" component = { ExternalMessages } />
89
+ < Route path = "/status/media" component = { MediaStatus } />
90
+ < Route path = "/status/media-legacy" component = { MediaManagerStatus } />
91
+ < Route path = "/status/expected-packages" component = { ExpectedPackagesStatus } />
92
+ < Route path = "/status/system" component = { SystemStatus } />
93
+ < Route path = "/status/userLog" component = { UserActivity } />
94
+ < Route path = "/status/evaluations" component = { EvaluationView } />
95
+ < Redirect to = "/status/system" />
96
+ </ Switch >
97
+ </ Col >
98
+ </ Row >
107
99
</ div >
108
100
)
109
101
}
0 commit comments