|
|
|
@ -122,14 +122,14 @@ const App = () => { |
|
|
|
|
<section> |
|
|
|
|
<div className="px-3 pt-3 mb-3 w-100"> |
|
|
|
|
<CustomTooltip placement="bottom" tooltipText="Clone a repo of Vyper examples. Switch to the File Explorer to see the examples."> |
|
|
|
|
<Button data-id="add-repository" className="w-100 btn btn-secondary" onClick={() => { |
|
|
|
|
<button data-id="add-repository" className="w-100 btn border" onClick={() => { |
|
|
|
|
{cloneCount === 0 ? remixClient.cloneVyperRepo() : remixClient.cloneVyperRepo(cloneCount)} |
|
|
|
|
setCloneCount((prev) => { |
|
|
|
|
return ++prev |
|
|
|
|
}) |
|
|
|
|
}}> |
|
|
|
|
Clone a repo of Vyper examples |
|
|
|
|
</Button> |
|
|
|
|
</button> |
|
|
|
|
</CustomTooltip> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -137,11 +137,11 @@ const App = () => { |
|
|
|
|
<div className="border-0"> |
|
|
|
|
<div className=""> |
|
|
|
|
<CustomAccordionToggle eventKey="0"> |
|
|
|
|
<label className="h6">Advanced Configurations</label> |
|
|
|
|
<label className="h6">Configurations</label> |
|
|
|
|
</CustomAccordionToggle> |
|
|
|
|
</div> |
|
|
|
|
<Accordion.Collapse eventKey="0"> |
|
|
|
|
<div className="pt-2"> |
|
|
|
|
<div className="pb-2 border-bottom"> |
|
|
|
|
<Form> |
|
|
|
|
<div className="d-flex flex-row justify-content-around mb-1 mt-2"> |
|
|
|
|
<div className={`custom-control custom-radio ${state.environment === 'remote' ? 'd-flex' : 'd-flex cursor-status'}`}> |
|
|
|
@ -185,7 +185,7 @@ const App = () => { |
|
|
|
|
</Accordion.Collapse> |
|
|
|
|
</div> |
|
|
|
|
</Accordion> |
|
|
|
|
<span className="w-100 px-3 mt-3 mb-3 small text-warning"> |
|
|
|
|
<span className="w-100 px-3 mt-3 mb-1 small text-warning"> |
|
|
|
|
Specify the{' '} |
|
|
|
|
<a className="text-warning" target="_blank" href="https://remix-ide.readthedocs.io/en/latest/vyper.html#specify-vyper-version"> |
|
|
|
|
compiler version |
|
|
|
|