|
|
@ -54,58 +54,67 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="buttons"> |
|
|
|
<div className="buttons"> |
|
|
|
<div className="stepButtons btn-group py-1"> |
|
|
|
<div className="stepButtons btn-group py-1"> |
|
|
|
<button id='overback' className='btn btn-primary btn-sm navigator stepButton' title='Step over back' onClick={() => { stepOverBack && stepOverBack() }} disabled={state.overBackDisabled} > |
|
|
|
<OverlayTrigger |
|
|
|
<OverlayTrigger |
|
|
|
placement="top-start" |
|
|
|
placement="top-start" |
|
|
|
overlay={ |
|
|
|
overlay={ |
|
|
|
<Tooltip className="text-nowrap" id="overbackTooltip"> |
|
|
|
<Tooltip className="text-nowrap" id="overbackTooltip"> |
|
|
|
<span>Step over back</span> |
|
|
|
<span>Step over back</span> |
|
|
|
</Tooltip> |
|
|
|
</Tooltip> |
|
|
|
} |
|
|
|
} |
|
|
|
> |
|
|
|
> |
|
|
|
<div onClick={() => { stepOverBack && stepOverBack() }}> |
|
|
|
<span className="fas fa-reply"></span> |
|
|
|
<button id='overback' className='btn btn-primary btn-sm navigator stepButton' onClick={() => { stepOverBack && stepOverBack() }} disabled={state.overBackDisabled} style={{ pointerEvents: 'none' }}> |
|
|
|
</OverlayTrigger> |
|
|
|
<span className="fas fa-reply"></span> |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
<button id='intoback' data-id="buttonNavigatorIntoBack" className='btn btn-primary btn-sm navigator stepButton' title='Step back' onClick={() => { stepIntoBack && stepIntoBack() }} disabled={state.intoBackDisabled}> |
|
|
|
</div> |
|
|
|
<OverlayTrigger |
|
|
|
</OverlayTrigger> |
|
|
|
placement="top-start" |
|
|
|
<OverlayTrigger |
|
|
|
overlay={ |
|
|
|
placement="top-start" |
|
|
|
<Tooltip className="text-nowrap" id="intobackTooltip"> |
|
|
|
overlay={ |
|
|
|
<span>Step back</span> |
|
|
|
<Tooltip className="text-nowrap" id="intobackTooltip"> |
|
|
|
</Tooltip> |
|
|
|
<span>Step back</span> |
|
|
|
} |
|
|
|
</Tooltip> |
|
|
|
> |
|
|
|
} |
|
|
|
<span className="fas fa-level-up-alt"></span> |
|
|
|
> |
|
|
|
</OverlayTrigger> |
|
|
|
<div onClick={() => { stepIntoBack && stepIntoBack() }}> |
|
|
|
</button> |
|
|
|
<button id='intoback' data-id="buttonNavigatorIntoBack" className='btn btn-primary btn-sm navigator stepButton' onClick={() => { stepIntoBack && stepIntoBack() }} disabled={state.intoBackDisabled} style={{ pointerEvents: 'none' }}> |
|
|
|
<button id='intoforward' data-id="buttonNavigatorIntoForward" className='btn btn-primary btn-sm navigator stepButton' title='Step into' onClick={() => { stepIntoForward && stepIntoForward() }} disabled={state.intoForwardDisabled}> |
|
|
|
<span className="fas fa-level-up-alt"></span> |
|
|
|
<OverlayTrigger |
|
|
|
</button> |
|
|
|
placement="top-start" |
|
|
|
</div> |
|
|
|
overlay={ |
|
|
|
</OverlayTrigger> |
|
|
|
<Tooltip className="text-nowrap" id="intoforwardTooltip"> |
|
|
|
<OverlayTrigger |
|
|
|
<span>Step into</span> |
|
|
|
placement="top-start" |
|
|
|
</Tooltip> |
|
|
|
overlay={ |
|
|
|
} |
|
|
|
<Tooltip className="text-nowrap" id="intoforwardTooltip"> |
|
|
|
> |
|
|
|
<span>Step into</span> |
|
|
|
<span className="fas fa-level-down-alt"></span> |
|
|
|
</Tooltip> |
|
|
|
</OverlayTrigger> |
|
|
|
} |
|
|
|
</button> |
|
|
|
> |
|
|
|
<button id='overforward' className='btn btn-primary btn-sm navigator stepButton' title='Step over forward' onClick={() => { stepOverForward && stepOverForward() }} disabled={state.overForwardDisabled}> |
|
|
|
<div onClick={() => { stepIntoForward && stepIntoForward() }}> |
|
|
|
<OverlayTrigger |
|
|
|
<button id='intoforward' data-id="buttonNavigatorIntoForward" className='btn btn-primary btn-sm navigator stepButton' onClick={() => { stepIntoForward && stepIntoForward() }} disabled={state.intoForwardDisabled} |
|
|
|
placement="top-end" |
|
|
|
style={{ pointerEvents: 'none' }} |
|
|
|
overlay={ |
|
|
|
> |
|
|
|
<Tooltip className="text-nowrap" id="overforwardTooltip"> |
|
|
|
<span className="fas fa-level-down-alt"></span> |
|
|
|
<span>Step into</span> |
|
|
|
</button> |
|
|
|
</Tooltip> |
|
|
|
</div> |
|
|
|
} |
|
|
|
</OverlayTrigger> |
|
|
|
> |
|
|
|
<OverlayTrigger |
|
|
|
<span className="fas fa-share"></span> |
|
|
|
placement="top-end" |
|
|
|
</OverlayTrigger> |
|
|
|
overlay={ |
|
|
|
</button> |
|
|
|
<Tooltip className="text-nowrap" id="overforwardTooltip"> |
|
|
|
|
|
|
|
<span>Step into</span> |
|
|
|
|
|
|
|
</Tooltip> |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div onClick={() => { stepOverForward && stepOverForward() }}> |
|
|
|
|
|
|
|
<button id='overforward' className='btn btn-primary btn-sm navigator stepButton' onClick={() => { stepOverForward && stepOverForward() }} disabled={state.overForwardDisabled} style={{ pointerEvents: 'none' }}> |
|
|
|
|
|
|
|
<span className="fas fa-share"></span> |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</OverlayTrigger> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div className="jumpButtons btn-group py-1"> |
|
|
|
<div className="jumpButtons btn-group py-1"> |
|
|
|
<button className='btn btn-primary btn-sm navigator jumpButton' id='jumppreviousbreakpoint' data-id="buttonNavigatorJumpPreviousBreakpoint" onClick={() => { jumpPreviousBreakpoint && jumpPreviousBreakpoint() }} disabled={state.jumpPreviousBreakpointDisabled}> |
|
|
|
|
|
|
|
<OverlayTrigger |
|
|
|
<OverlayTrigger |
|
|
|
placement="top-start" |
|
|
|
placement="top-start" |
|
|
|
overlay={ |
|
|
|
overlay={ |
|
|
@ -114,10 +123,12 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, |
|
|
|
</Tooltip> |
|
|
|
</Tooltip> |
|
|
|
} |
|
|
|
} |
|
|
|
> |
|
|
|
> |
|
|
|
<span className="fas fa-step-backward"></span> |
|
|
|
<div onClick={() => { jumpPreviousBreakpoint && jumpPreviousBreakpoint() }}> |
|
|
|
|
|
|
|
<button className='btn btn-primary btn-sm navigator jumpButton' id='jumppreviousbreakpoint' data-id="buttonNavigatorJumpPreviousBreakpoint" onClick={() => { jumpPreviousBreakpoint && jumpPreviousBreakpoint() }} disabled={state.jumpPreviousBreakpointDisabled} style={{ pointerEvents: 'none' }}> |
|
|
|
|
|
|
|
<span className="fas fa-step-backward"></span> |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</OverlayTrigger> |
|
|
|
</OverlayTrigger> |
|
|
|
</button> |
|
|
|
|
|
|
|
<button className='btn btn-primary btn-sm navigator jumpButton' id='jumpout' onClick={() => { jumpOut && jumpOut() }} disabled={state.jumpOutDisabled}> |
|
|
|
|
|
|
|
<OverlayTrigger |
|
|
|
<OverlayTrigger |
|
|
|
placement="top-end" |
|
|
|
placement="top-end" |
|
|
|
overlay={ |
|
|
|
overlay={ |
|
|
@ -126,10 +137,12 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, |
|
|
|
</Tooltip> |
|
|
|
</Tooltip> |
|
|
|
} |
|
|
|
} |
|
|
|
> |
|
|
|
> |
|
|
|
<span className="fas fa-eject"></span> |
|
|
|
<div onClick={() => { jumpOut && jumpOut() }}> |
|
|
|
|
|
|
|
<button className='btn btn-primary btn-sm navigator jumpButton' id='jumpout' onClick={() => { jumpOut && jumpOut() }} disabled={state.jumpOutDisabled} style={{ pointerEvents: 'none' }}> |
|
|
|
|
|
|
|
<span className="fas fa-eject"></span> |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</OverlayTrigger> |
|
|
|
</OverlayTrigger> |
|
|
|
</button> |
|
|
|
|
|
|
|
<button className='btn btn-primary btn-sm navigator jumpButton' id='jumpnextbreakpoint' data-id="buttonNavigatorJumpNextBreakpoint" onClick={() => { jumpNextBreakpoint && jumpNextBreakpoint() }} disabled={state.jumpNextBreakpointDisabled}> |
|
|
|
|
|
|
|
<OverlayTrigger |
|
|
|
<OverlayTrigger |
|
|
|
placement="top-end" |
|
|
|
placement="top-end" |
|
|
|
overlay={ |
|
|
|
overlay={ |
|
|
@ -138,9 +151,12 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, |
|
|
|
</Tooltip> |
|
|
|
</Tooltip> |
|
|
|
} |
|
|
|
} |
|
|
|
> |
|
|
|
> |
|
|
|
<span className="fas fa-step-forward"></span> |
|
|
|
<div onClick={() => { jumpNextBreakpoint && jumpNextBreakpoint() }}> |
|
|
|
|
|
|
|
<button className='btn btn-primary btn-sm navigator jumpButton' id='jumpnextbreakpoint' data-id="buttonNavigatorJumpNextBreakpoint" onClick={() => { jumpNextBreakpoint && jumpNextBreakpoint() }} disabled={state.jumpNextBreakpointDisabled} style={{ pointerEvents: 'none' }}> |
|
|
|
|
|
|
|
<span className="fas fa-step-forward"></span> |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</OverlayTrigger> |
|
|
|
</OverlayTrigger> |
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id='reverted' style={{ display: revertedReason === '' ? 'none' : 'block' }}> |
|
|
|
<div id='reverted' style={{ display: revertedReason === '' ? 'none' : 'block' }}> |
|
|
|
<span className='text-warning'>This call has reverted, state changes made during the call will be reverted.</span> |
|
|
|
<span className='text-warning'>This call has reverted, state changes made during the call will be reverted.</span> |
|
|
|