|
|
|
@ -175,8 +175,11 @@ class CompileTab extends ApiFactory { |
|
|
|
|
</button> |
|
|
|
|
<!-- Copy to Clipboard --> |
|
|
|
|
<div class="${css.contractHelperButtons}"> |
|
|
|
|
<span class="${css.copyToClipboard}">Copy to Clipboard : </span> |
|
|
|
|
<div class="btn-group" role="group" aria-label="Copy to clipboard"> |
|
|
|
|
<div class="input-group"> |
|
|
|
|
<div class="input-group-prepend"> |
|
|
|
|
<span class="input-group-text">Copy to clipboard</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="btn-group" role="group" aria-label="Copy to Clipboard"> |
|
|
|
|
<button class="btn btn-secondary" title="Copy ABI to clipboard" onclick="${() => { this.copyABI() }}"> |
|
|
|
|
<i class="${css.copyIcon} fa fa-clipboard" aria-hidden="true"></i> |
|
|
|
|
<span>ABI</span> |
|
|
|
@ -187,6 +190,7 @@ class CompileTab extends ApiFactory { |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</article> |
|
|
|
|
</section>` |
|
|
|
|
: yo`<section class="${css.container}"><article class="${css.compilerArticle}">
|
|
|
|
@ -338,7 +342,7 @@ class CompileTab extends ApiFactory { |
|
|
|
|
this.listenToEvents() |
|
|
|
|
this.compilerContainer.activate() |
|
|
|
|
|
|
|
|
|
this._view.errorContainer = yo`<div></div>` |
|
|
|
|
this._view.errorContainer = yo`<div class="${css.errorBlobs}"></div>` |
|
|
|
|
this._view.contractSelection = this.contractSelection() |
|
|
|
|
this._view.compilerContainer = this.compilerContainer.render() |
|
|
|
|
const currentFile = this.fileManager.currentFile() |
|
|
|
|