@@ -559,9 +559,40 @@ class App extends Component {
559559 if ( this . state . showCurrentPlaylist ) {
560560 playlistDialog = (
561561 < >
562- < div className = "row mx-n2" ref = { this . playlistDialogRef } key = 'a02' >
563- < div className = "py-1 col-8" >
564- < h5 className = "" > Current Playlist</ h5 >
562+ < div className = "row mx-xl-n4 mx-lg-n4 mx-md-n4 mx-n4" ref = { this . playlistDialogRef } >
563+ < div className = "py-1 col-xl-12 px-xl-4 col-lg-12 px-lg-4 col-md-12 col-12 px-4" >
564+ < div className = "row px-xl-2 pr-lg-2 px-md-2 px-2" >
565+ < div className = "col-xl-1 px-xl-1 mr-xl-auto col-lg-1 px-lg-1 mr-lg-auto col-md-1 px-md-1 mr-md-auto col-12 px-1" >
566+ < h3 className = "" > Current Playlist</ h3 >
567+ </ div >
568+ </ div >
569+ </ div >
570+ < div className = "py-1 col-xl-12 px-xl-4 col-lg-12 px-lg-4 col-md-12 col-12" >
571+ < div className = "row rows-cols-3" >
572+ < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-3 text-nowrap ml-3" >
573+ < button
574+ className = "btn btn-secondary text-left playlist btn-playlist-bulk"
575+ disabled = { this . state . deactivateEnableAllButton }
576+ onClick = { this . enableAllPatterns } >
577+ Enable All
578+ </ button >
579+ </ div >
580+ < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-3 text-nowrap mr-1" >
581+ < button
582+ className = "btn btn-secondary text-left playlist btn-playlist-bulk"
583+ disabled = { this . state . deactivateDisableAllButton }
584+ onClick = { this . disableAllPatterns } >
585+ Disable All
586+ </ button >
587+ </ div >
588+ < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-3 text-nowrap mr-1" >
589+ < button
590+ className = "btn btn-secondary text-left btn-playlist-bulk"
591+ onClick = { ( e ) => this . openPlaylistDialog ( e ) } >
592+ Current Playlist
593+ </ button >
594+ </ div >
595+ </ div >
565596 </ div >
566597 </ div >
567598 < div className = "row" >
@@ -588,11 +619,11 @@ class App extends Component {
588619 { pattern . duration }
589620 </ div >
590621 { ( getStatus ( pattern . name ) === 'running' ) ? (
591- < div className = "alert alert-success col-3 p-1 col-auto" role = "alert" >
622+ < div className = "alert alert-success col-3 p-1 col-auto py-0 mb-0 " role = "alert" >
592623 running
593624 </ div >
594625 ) : (
595- < div className = "alert alert-dark col-3 p-1 col-auto" role = "alert" >
626+ < div className = "alert alert-dark col-3 p-1 col-auto py-0 mb-0 " role = "alert" >
596627 queued
597628 </ div >
598629 ) }
@@ -693,34 +724,35 @@ class App extends Component {
693724 Patterns
694725 </ h3 >
695726 </ div >
696- < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-auto px-1" >
727+ </ div >
728+ </ div >
729+ < div className = "py-1 col-xl-12 px-xl-4 col-lg-12 px-lg-4 col-md-12 col-12" >
730+ < div className = "row rows-cols-3" >
731+ < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-3 text-nowrap ml-3" >
697732 < button
698733 className = "btn btn-secondary text-left playlist btn-playlist-bulk"
699734 disabled = { this . state . deactivateEnableAllButton }
700735 onClick = { this . enableAllPatterns } >
701736 Enable All
702737 </ button >
703738 </ div >
704- < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-auto px -1" >
739+ < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-3 text-nowrap mr -1" >
705740 < button
706741 className = "btn btn-secondary text-left playlist btn-playlist-bulk"
707742 disabled = { this . state . deactivateDisableAllButton }
708743 onClick = { this . disableAllPatterns } >
709744 Disable All
710745 </ button >
711746 </ div >
712- < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-auto px -1" >
747+ < div className = "py-2 col-xl-auto px-xl-1 col-lg-auto px-lg-1 col-md-auto px-md-1 col-3 text-nowrap mr -1" >
713748 < button
714749 className = "btn btn-secondary text-left btn-playlist-bulk"
715750 onClick = { ( e ) => this . openPlaylistDialog ( e ) } >
716- View Current Playlist
751+ Current Playlist
717752 </ button >
718753 </ div >
719754 </ div >
720755 </ div >
721- </ div >
722- < div className = "row mx-xl-n4 mx-n4" >
723-
724756 </ div >
725757 < div className = "list-group" >
726758 { ( this . state . isProcessing ) &&
0 commit comments