|
|
@ -150,12 +150,11 @@ module.exports = class SettingsTab { |
|
|
|
<div class="${css.info}"> |
|
|
|
<div class="${css.info}"> |
|
|
|
<div class=${css.title}>Plugin</div> |
|
|
|
<div class=${css.title}>Plugin</div> |
|
|
|
<div class="${css.crowNoFlex}"> |
|
|
|
<div class="${css.crowNoFlex}"> |
|
|
|
<div><input onclick=${() => { onLoadPlugin('oraclize') }} type="button" value="Oraclize" class="${css.pluginLoad}"></div> |
|
|
|
<input onclick=${() => { onLoadPlugin('oraclize') }} type="button" value="Oraclize" class="${css.pluginLoad}"> |
|
|
|
<div><input onclick=${() => { onLoadPlugin('etherscan-general') }} type="button" value="Etherscan-general" class="${css.pluginLoad}"></div> |
|
|
|
<input onclick=${() => { onLoadPlugin('etherscan-general') }} type="button" value="Etherscan-general" class="${css.pluginLoad}"> |
|
|
|
<div> |
|
|
|
<div>Load plugin from JSON description: </div> |
|
|
|
${self._view.pluginInput} |
|
|
|
${self._view.pluginInput} |
|
|
|
<input onclick=${onloadPluginJson} type="button" value="Load" class="${css.pluginLoad}"> |
|
|
|
<input onclick=${onloadPluginJson} type="button" value="Load" class="${css.pluginLoad}"> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div>` |
|
|
|
</div>` |
|
|
|
self._view.config.remixd = yo` |
|
|
|
self._view.config.remixd = yo` |
|
|
@ -331,7 +330,7 @@ const css = csjs` |
|
|
|
.select { |
|
|
|
.select { |
|
|
|
font-weight: bold; |
|
|
|
font-weight: bold; |
|
|
|
margin-top: 1em; |
|
|
|
margin-top: 1em; |
|
|
|
${styles.rightPanel.settingsTab.dropdown_SelectCompiler} |
|
|
|
${styles.rightPanel.settingsTab.dropdown_SelectCompiler}; |
|
|
|
} |
|
|
|
} |
|
|
|
.heading { |
|
|
|
.heading { |
|
|
|
margin-bottom: 0; |
|
|
|
margin-bottom: 0; |
|
|
@ -343,6 +342,7 @@ const css = csjs` |
|
|
|
input { |
|
|
|
input { |
|
|
|
margin-right: 5px; |
|
|
|
margin-right: 5px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
width: inherit; |
|
|
|
} |
|
|
|
} |
|
|
|
input[type=radio] { |
|
|
|
input[type=radio] { |
|
|
|
margin-top: 2px; |
|
|
|
margin-top: 2px; |
|
|
@ -352,6 +352,9 @@ const css = csjs` |
|
|
|
} |
|
|
|
} |
|
|
|
.pluginLoad { |
|
|
|
.pluginLoad { |
|
|
|
vertical-align: top; |
|
|
|
vertical-align: top; |
|
|
|
|
|
|
|
${styles.rightPanel.settingsTab.button_LoadPlugin}; |
|
|
|
|
|
|
|
width: inherit; |
|
|
|
|
|
|
|
display: inline-block; |
|
|
|
} |
|
|
|
} |
|
|
|
i.warnIt { |
|
|
|
i.warnIt { |
|
|
|
color: ${styles.appProperties.warningText_Color}; |
|
|
|
color: ${styles.appProperties.warningText_Color}; |
|
|
|