@@ -10,6 +10,8 @@ import { PeripheralDeviceCategory } from '@sofie-automation/shared-lib/dist/peri
1010import { IngestRundownStatuses } from './collections'
1111import { IngestPartStatus , IngestRundownStatus } from '@sofie-automation/shared-lib/dist/ingest/rundownStatus'
1212import { MeteorPubSub } from '@sofie-automation/meteor-lib/dist/api/pubsub'
13+ import Row from 'react-bootstrap/Row'
14+ import Col from 'react-bootstrap/Col'
1315
1416interface IMappingsViewProps {
1517 match ?: {
@@ -22,11 +24,11 @@ function IngestRundownStatusView(props: Readonly<IMappingsViewProps>): JSX.Eleme
2224 const { t } = useTranslation ( )
2325
2426 return (
25- < div className = "mtl gutter " >
26- < header className = "mvs " >
27+ < div className = "mx-5 " >
28+ < header className = "my-2 " >
2729 < h1 > { t ( 'Ingest Rundown Status' ) } </ h1 >
2830 </ header >
29- < div className = "mod mvl " >
31+ < div className = "my-5 " >
3032 { props . match && props . match . params && (
3133 < ComponentMappingsTable peripheralDeviceId = { props . match . params . peripheralDeviceId } />
3234 ) }
@@ -54,32 +56,32 @@ function ComponentMappingsTable({ peripheralDeviceId }: Readonly<ComponentMappin
5456
5557function StatusesForRundown ( { rundown } : { rundown : IngestRundownStatus } ) : JSX . Element {
5658 return (
57- < div className = "mbl" >
58- < h3 >
59- { rundown . externalId } ({ unprotectString ( rundown . _id ) } )
60- </ h3 >
59+ < Row >
60+ < Col xs = { 12 } >
61+ < h3 >
62+ { rundown . externalId } ({ unprotectString ( rundown . _id ) } )
63+ </ h3 >
6164
62- < p > Status: { rundown . active } </ p >
65+ < p > Status: { rundown . active } </ p >
6366
64- < table className = "testtools-timelinetable mll" >
65- < tbody >
66- < tr >
67- < th > Segment Id</ th >
68- < th > Part Id</ th >
69- < th > Ready</ th >
70- < th > Status</ th >
71- < th > Items</ th >
72- </ tr >
73- { rundown . segments . flatMap ( ( segment ) =>
74- segment . parts . map ( ( part ) => (
75- < StatusesForSegmentRow key = { segment . externalId } part = { part } segmentId = { segment . externalId } />
76- ) )
77- ) }
78- </ tbody >
79- </ table >
80-
81- < p > </ p >
82- </ div >
67+ < table className = "testtools-timelinetable" >
68+ < tbody >
69+ < tr >
70+ < th > Segment Id</ th >
71+ < th > Part Id</ th >
72+ < th > Ready</ th >
73+ < th > Status</ th >
74+ < th > Items</ th >
75+ </ tr >
76+ { rundown . segments . flatMap ( ( segment ) =>
77+ segment . parts . map ( ( part ) => (
78+ < StatusesForSegmentRow key = { segment . externalId } part = { part } segmentId = { segment . externalId } />
79+ ) )
80+ ) }
81+ </ tbody >
82+ </ table >
83+ </ Col >
84+ </ Row >
8385 )
8486}
8587
@@ -106,11 +108,11 @@ function IngestRundownStatusSelect(): JSX.Element | null {
106108 const devices = useTracker ( ( ) => PeripheralDevices . find ( { category : PeripheralDeviceCategory . INGEST } ) . fetch ( ) , [ ] )
107109
108110 return (
109- < div className = "mhl gutter recordings-studio-select" >
110- < header className = "mbs " >
111+ < div className = "mx-5 recordings-studio-select" >
112+ < header className = "mb-2 " >
111113 < h1 > { t ( 'Ingest Rundown Statuses' ) } </ h1 >
112114 </ header >
113- < div className = "mod mvl " >
115+ < div className = "my-5 " >
114116 < strong > Peripheral Device</ strong >
115117 < ul >
116118 { devices ?. map ( ( device ) => (
0 commit comments