|
|
|
@ -303,7 +303,9 @@ function HomeTabFile({ plugin }: HomeTabFileProps) { |
|
|
|
|
</CustomTooltip> |
|
|
|
|
<CustomTooltip placement={'top'} tooltipId="overlay-tooltip" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="home.gitCloneTooltip" />} tooltipTextClasses="border bg-light text-dark p-1 pr-3" |
|
|
|
|
> |
|
|
|
|
<button className="btn text-nowrap p-2 mr-2 border my-1" data-id="landingPageImportFromGitHubButton" onClick={() => showFullMessage('GitHub', 'github URL', ['https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol', 'https://github.com/OpenZeppelin/openzeppelin-solidity/blob/67bca857eedf99bf44a4b6a0fc5b5ed553135316/contracts/access/Roles.sol'])}> |
|
|
|
|
<button className="btn text-nowrap p-2 mr-2 border my-1" data-id="landingPageImportFromGitHubButton" onClick={async () => { |
|
|
|
|
await plugin.call('filePanel', 'clone') |
|
|
|
|
}}> |
|
|
|
|
Git Clone |
|
|
|
|
</button> |
|
|
|
|
</CustomTooltip> |
|
|
|
|