|
|
@ -27,25 +27,23 @@ export const RemixUITerminalMenu = (props: RemixUiTerminalProps) => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return (<div className='d-flex flex-row align-items-center'> |
|
|
|
return (<div className='d-flex flex-row align-items-center'> |
|
|
|
<CustomTooltip placement="top" tooltipId="terminalClear" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="terminal.pendingTransactions" />}> |
|
|
|
<CustomTooltip placement="top" tooltipId="terminalpendingTransactions" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="terminal.pendingTransactions" />}> |
|
|
|
<div className="mx-2">0</div> |
|
|
|
<div className="mx-2">0</div> |
|
|
|
</CustomTooltip> |
|
|
|
</CustomTooltip> |
|
|
|
<CustomTooltip |
|
|
|
<CustomTooltip |
|
|
|
placement="top" |
|
|
|
placement="top" |
|
|
|
tooltipId="terminalClear" |
|
|
|
tooltipId="terminalListenOnN" |
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
tooltipText={intl.formatMessage({ id: terminalState.isVM ? 'terminal.listenVM' : 'terminal.listenTitle' })} |
|
|
|
tooltipText={terminalState.isVM ? intl.formatMessage({ id: 'terminal.listenVM' }) : intl.formatMessage({ id: 'terminal.listenTitle' })} |
|
|
|
> |
|
|
|
> |
|
|
|
<div className="h-80 mx-3 align-items-center remix_ui_terminal_listenOnNetwork custom-control custom-checkbox"> |
|
|
|
<div className="h-80 mx-3 align-items-center remix_ui_terminal_listenOnNetwork custom-control custom-checkbox"> |
|
|
|
<CustomTooltip placement="top" tooltipId="terminalClear" tooltipClasses="text-nowrap" tooltipText={intl.formatMessage({ id: 'terminal.listenTitle' })}> |
|
|
|
<input |
|
|
|
<input |
|
|
|
className="custom-control-input" |
|
|
|
className="custom-control-input" |
|
|
|
id="listenNetworkCheck" |
|
|
|
id="listenNetworkCheck" |
|
|
|
onChange={listenOnNetwork} |
|
|
|
onChange={listenOnNetwork} |
|
|
|
type="checkbox" |
|
|
|
type="checkbox" |
|
|
|
disabled={terminalState.isVM} |
|
|
|
disabled={terminalState.isVM} |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
<label |
|
|
|
<label |
|
|
|
className="form-check-label custom-control-label text-nowrap" |
|
|
|
className="form-check-label custom-control-label text-nowrap" |
|
|
|
style={{ paddingTop: '0.125rem' }} |
|
|
|
style={{ paddingTop: '0.125rem' }} |
|
|
@ -56,7 +54,7 @@ export const RemixUITerminalMenu = (props: RemixUiTerminalProps) => { |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</CustomTooltip> |
|
|
|
</CustomTooltip> |
|
|
|
<div className="remix_ui_terminal_search d-flex align-items-center h-100"> |
|
|
|
<div className="remix_ui_terminal_search mr-1 d-flex align-items-center h-100"> |
|
|
|
<i className="remix_ui_terminal_searchIcon d-flex align-items-center justify-content-center fas fa-search bg-light" aria-hidden="true"></i> |
|
|
|
<i className="remix_ui_terminal_searchIcon d-flex align-items-center justify-content-center fas fa-search bg-light" aria-hidden="true"></i> |
|
|
|
<input |
|
|
|
<input |
|
|
|
onChange={(event) => setSearchInput(event.target.value.trim())} |
|
|
|
onChange={(event) => setSearchInput(event.target.value.trim())} |
|
|
@ -68,7 +66,7 @@ export const RemixUITerminalMenu = (props: RemixUiTerminalProps) => { |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="mx-2 remix_ui_terminal_console" id="clearConsole" data-id="terminalClearConsole" onClick={handleClearConsole}> |
|
|
|
<div className="mx-2 remix_ui_terminal_console" id="clearConsole" data-id="terminalClearConsole" onClick={handleClearConsole}> |
|
|
|
<CustomTooltip placement="top" tooltipId="terminalClear" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="terminal.clearConsole" />}> |
|
|
|
<CustomTooltip placement="top" tooltipId="terminalClearTerminal" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="terminal.clearConsole" />}> |
|
|
|
<i className="fas fa-ban" aria-hidden="true"></i> |
|
|
|
<i className="fas fa-ban" aria-hidden="true"></i> |
|
|
|
</CustomTooltip> |
|
|
|
</CustomTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|