|
|
@ -282,13 +282,13 @@ export function ContractDropdownUI (props: ContractDropdownProps) { |
|
|
|
<label className="udapp_settingsLabel pr-1"> |
|
|
|
<label className="udapp_settingsLabel pr-1"> |
|
|
|
<FormattedMessage id='udapp.contract' /> |
|
|
|
<FormattedMessage id='udapp.contract' /> |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
{compilerName && compilerName !== '' &&
|
|
|
|
{ compilerName && compilerName !== '' && compilerName !== 'remix' && |
|
|
|
<label className='udapp_settingsCompiledBy badge badge-secondary' data-id="udappCompiledBy"> |
|
|
|
<label className='udapp_settingsCompiledBy badge badge-secondary' data-id="udappCompiledBy"> |
|
|
|
<FormattedMessage id='udapp.compiledBy' values={{ compilerName: <span className="text-capitalize">{compilerName}</span> }} /> |
|
|
|
<FormattedMessage id='udapp.compiledBy' values={{ compilerName: <span className="text-capitalize">{compilerName}</span> }} /> |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{props.remixdActivated ? |
|
|
|
{ props.remixdActivated ? |
|
|
|
(<CustomTooltip |
|
|
|
(<CustomTooltip |
|
|
|
placement={'right'} |
|
|
|
placement={'right'} |
|
|
|
tooltipClasses="text-wrap text-left" |
|
|
|
tooltipClasses="text-wrap text-left" |
|
|
@ -304,7 +304,7 @@ export function ContractDropdownUI (props: ContractDropdownProps) { |
|
|
|
<i style={{ cursor: 'pointer' }} className="fa fa-refresh mr-2 mt-2" aria-hidden="true"></i> |
|
|
|
<i style={{ cursor: 'pointer' }} className="fa fa-refresh mr-2 mt-2" aria-hidden="true"></i> |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
</CustomTooltip>) |
|
|
|
</CustomTooltip>) |
|
|
|
: null} |
|
|
|
: null } |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="udapp_subcontainer"> |
|
|
|
<div className="udapp_subcontainer"> |
|
|
|
<CustomTooltip |
|
|
|
<CustomTooltip |
|
|
@ -326,7 +326,7 @@ export function ContractDropdownUI (props: ContractDropdownProps) { |
|
|
|
return <option key={index} value={contract.alias}> |
|
|
|
return <option key={index} value={contract.alias}> |
|
|
|
{contract.alias} - {contract.file} |
|
|
|
{contract.alias} - {contract.file} |
|
|
|
</option> |
|
|
|
</option> |
|
|
|
})} |
|
|
|
}) } |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</CustomTooltip> |
|
|
|
</CustomTooltip> |
|
|
@ -345,7 +345,7 @@ export function ContractDropdownUI (props: ContractDropdownProps) { |
|
|
|
} |
|
|
|
} |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<div className="udapp_deployDropdown"> |
|
|
|
<div className="udapp_deployDropdown"> |
|
|
|
{(((contractList[currentFile] && contractList[currentFile].filter(contract => contract)) || []).length > 0 && loadedContractData) && |
|
|
|
{ (((contractList[currentFile] && contractList[currentFile].filter(contract => contract)) || []).length > 0 && loadedContractData) && |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<ContractGUI |
|
|
|
<ContractGUI |
|
|
|
title={intl.formatMessage({ id: 'udapp.deploy' })} |
|
|
|
title={intl.formatMessage({ id: 'udapp.deploy' })} |
|
|
|