Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
f5066729
Unverified
Commit
f5066729
authored
Apr 18, 2019
by
Liana Husikyan
Committed by
GitHub
Apr 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1877 from ethereum/swap_it_style_fixes_l
remove copy to clipboard label from compiler tab
parents
61144522
a45a644e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
DropdownPanel.js
src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js
+1
-1
compile-tab.js
src/app/tabs/compile-tab.js
+0
-3
card.js
src/app/ui/card.js
+5
-3
No files found.
src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js
View file @
f5066729
...
...
@@ -99,7 +99,7 @@ DropdownPanel.prototype.update = function (_data, _header) {
DropdownPanel
.
prototype
.
setContent
=
function
(
node
)
{
if
(
!
this
.
view
)
return
var
parent
=
this
.
view
.
querySelector
(
'.dropdownpanel div.dropdowncontent'
)
parent
.
replaceChild
(
node
,
parent
.
firstElementChild
)
if
(
parent
)
parent
.
replaceChild
(
node
,
parent
.
firstElementChild
)
}
DropdownPanel
.
prototype
.
render
=
function
(
overridestyle
)
{
...
...
src/app/tabs/compile-tab.js
View file @
f5066729
...
...
@@ -183,9 +183,6 @@ class CompileTab extends CompilerApi {
<!--
Copy
to
Clipboard
-->
<
div
class
=
"${css.contractHelperButtons} btn-secondary"
>
<
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
>
...
...
src/app/ui/card.js
View file @
f5066729
...
...
@@ -34,9 +34,11 @@ module.exports = class Card {
function
trigger
(
el
)
{
var
body
=
self
.
_view
.
cardBody
var
status
=
self
.
_view
.
statusBar
el
.
classList
.
toggle
(
'fa-angle-up'
)
var
arrow
=
el
.
classList
.
toggle
(
'fa-angle-down'
)
?
'up'
:
'down'
self
.
event
.
trigger
(
'expandCollapseCard'
,
[
arrow
,
body
,
status
])
if
(
el
.
classList
)
{
el
.
classList
.
toggle
(
'fa-angle-up'
)
var
arrow
=
el
.
classList
.
toggle
(
'fa-angle-down'
)
?
'up'
:
'down'
self
.
event
.
trigger
(
'expandCollapseCard'
,
[
arrow
,
body
,
status
])
}
}
// HTML
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment