@ -216,7 +216,9 @@ contract HelloWorld {
return (
return (
< >
< >
< ModalDialog id = "homeTab" title = { 'Import from ' + state . modalInfo . title } okLabel = "Import" hide = { ! state . showModalDialog } handleHide = { ( ) = > hideFullMessage ( ) } okFn = { ( ) = > processLoading ( state . modalInfo . title ) } >
< ModalDialog id = "homeTab" title = { 'Import from ' + state . modalInfo . title }
okLabel = "Import" hide = { ! state . showModalDialog } handleHide = { ( ) = > hideFullMessage ( ) }
okFn = { ( ) = > processLoading ( state . modalInfo . title ) } >
< div className = "p-2 user-select-auto" >
< div className = "p-2 user-select-auto" >
{ state . modalInfo . loadItem !== '' && < span > Enter the { state . modalInfo . loadItem } you would like to load . < / span > }
{ state . modalInfo . loadItem !== '' && < span > Enter the { state . modalInfo . loadItem } you would like to load . < / span > }
{ state . modalInfo . examples . length !== 0 && (
{ state . modalInfo . examples . length !== 0 && (
@ -270,7 +272,7 @@ contract HelloWorld {
< / div >
< / div >
) }
) }
< / div >
< / div >
< div className = "d-flex flex-column flex-nowrap pt-3 " >
< div className = "d-flex flex-column flex-nowrap pt-5 " >
< label style = { { fontSize : '1.2rem' } } >
< label style = { { fontSize : '1.2rem' } } >
< FormattedMessage id = "home.files" / >
< FormattedMessage id = "home.files" / >
< / label >
< / label >
@ -302,13 +304,16 @@ contract HelloWorld {
< button className = "btn text-nowrap p-2 mr-2 border my-1" onClick = { ( ) = > showFullMessage ( 'Ipfs' , 'ipfs hash' , [ 'ipfs://QmQQfBMkpDgmxKzYaoAtqfaybzfgGm9b2LWYyT56Chv6xH' ] , 'ipfs://' ) } >
< button className = "btn text-nowrap p-2 mr-2 border my-1" onClick = { ( ) = > showFullMessage ( 'Ipfs' , 'ipfs hash' , [ 'ipfs://QmQQfBMkpDgmxKzYaoAtqfaybzfgGm9b2LWYyT56Chv6xH' ] , 'ipfs://' ) } >
IPFS
IPFS
< / button >
< / button >
{ /* <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 = { ( ) = > 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 = { ( ) = > 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' ] ) } >
Git Clone
Git Clone
< / button >
< / button >
< button className = "btn text-nowrap p-2 mr-2 border my-1" data - id = "landingPageImportFromGistButton" onClick = { ( ) = > importFromGist ( ) } >
< button className = "btn text-nowrap p-2 mr-2 border my-1" data - id = "landingPageImportFromGistButton" onClick = { ( ) = > importFromGist ( ) } >
Gist
Gist
< / button >
< / button >
< / div >
< / div >
< div className = "d-flex mt-2 align-items-end w-100" >
< button
< button
className = "btn text-nowrap p-2 mr-2 border my-1"
className = "btn text-nowrap p-2 mr-2 border my-1"
onClick = { ( ) = >
onClick = { ( ) = >
@ -317,9 +322,6 @@ contract HelloWorld {
>
>
HTTPS
HTTPS
< / button >
< / button >
< / div >
< / div >
< div className = "d-flex mt-2 align-items-end w-100" >
< CustomTooltip placement = { 'top' } tooltipId = "overlay-tooltip" tooltipClasses = "text-nowrap" tooltipText = { < FormattedMessage id = "home.connectToLocalhost" / > } tooltipTextClasses = "border bg-light text-dark p-1 pr-3" >
< CustomTooltip placement = { 'top' } tooltipId = "overlay-tooltip" tooltipClasses = "text-nowrap" tooltipText = { < FormattedMessage id = "home.connectToLocalhost" / > } tooltipTextClasses = "border bg-light text-dark p-1 pr-3" >
< button className = "btn btn-block text-nowrap p-2 border my-1" onClick = { ( ) = > connectToLocalhost ( ) } >
< button className = "btn btn-block text-nowrap p-2 border my-1" onClick = { ( ) = > connectToLocalhost ( ) } >
< i className = "fa-regular fa-desktop pr-2" > < / i >
< i className = "fa-regular fa-desktop pr-2" > < / i >