use info icon

pull/1/head
yann300 6 years ago
parent 89e14224d4
commit 4be75219ef
  1. 2
      src/app/tabs/run-tab.js
  2. 1
      src/app/tabs/styles/run-tab-styles.js

@ -292,7 +292,7 @@ function contractDropdown (events, self) {
instanceContainer.appendChild(instanceContainerTitle) instanceContainer.appendChild(instanceContainerTitle)
instanceContainer.appendChild(self._view.noInstancesText) instanceContainer.appendChild(self._view.noInstancesText)
var compFails = yo`<i title="Contract compilation failed. Please check the compile tab for more information." class="fa fa-times-circle ${css.errorIcon}" ></i>` var compFails = yo`<i title="Contract compilation failed. Please check the compile tab for more information." class="fa fa-times-circle ${css.errorIcon}" ></i>`
var info = yo`<i class="fa fa-question-circle-o ${css.infoDeployAction}" aria-hidden="true" title="*.sol files allows deploying and accessing contracts. *.abi files only allows accessing contracts."></i>` var info = yo`<i class="fa fa-info ${css.infoDeployAction}" aria-hidden="true" title="*.sol files allows deploying and accessing contracts. *.abi files only allows accessing contracts."></i>`
self._deps.compiler.event.register('compilationFinished', function (success, data, source) { self._deps.compiler.event.register('compilationFinished', function (success, data, source) {
getContractNames(success, data) getContractNames(success, data)
if (success) { if (success) {

@ -240,6 +240,7 @@ var css = csjs`
} }
.infoDeployAction { .infoDeployAction {
margin-left: 5px; margin-left: 5px;
font-size: 13px;
} }
` `

Loading…
Cancel
Save