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
b0234ae5
Commit
b0234ae5
authored
Apr 10, 2017
by
chriseth
Committed by
GitHub
Apr 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #505 from ethereum/fixcontractrow
Do not completely hide `contract` row
parents
bd91b6c1
1fa433a4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
browser-solidity.css
assets/css/browser-solidity.css
+3
-3
universal-dapp.css
assets/css/universal-dapp.css
+3
-3
renderer.js
src/app/renderer.js
+1
-1
universal-dapp.js
src/universal-dapp.js
+1
-1
No files found.
assets/css/browser-solidity.css
View file @
b0234ae5
...
...
@@ -355,12 +355,12 @@ body {
width
:
100%
;
}
.contract.hide
{
.contract.hide
sub
{
padding-bottom
:
0
;
margin
:
0
;
}
.contract.hide
>
*
:not
(
.title
)
{
.contract.hide
sub
>
*
:not
(
.title
)
{
display
:
none
;
}
...
...
@@ -376,7 +376,7 @@ body {
margin-top
:
0.2em
;
}
.contract.hide
>
.title
:before
{
.contract.hide
sub
>
.title
:before
{
content
:
"\25B6"
;
}
...
...
assets/css/universal-dapp.css
View file @
b0234ae5
...
...
@@ -150,7 +150,7 @@
cursor
:
pointer
;
}
.udapp
.instance.hide
.title
{
.udapp
.instance.hide
sub
.title
{
margin-bottom
:
0
;
padding-right
:
1.5em
;
word-wrap
:
break-word
;
...
...
@@ -164,11 +164,11 @@
margin-top
:
0.2em
;
}
.udapp
.instance.hide
>
*
:not
(
.title
)
{
.udapp
.instance.hide
sub
>
*
:not
(
.title
)
{
display
:
none
;
}
.udapp
.instance.hide
>
.title
:before
{
.udapp
.instance.hide
sub
>
.title
:before
{
content
:
"\25B6"
;
}
...
...
src/app/renderer.js
View file @
b0234ae5
...
...
@@ -306,7 +306,7 @@ Renderer.prototype.contracts = function (data, source) {
}
})
$contractOutput
.
find
(
'.title'
).
click
(
function
(
ev
)
{
$
(
this
).
closest
(
'.contract'
).
toggleClass
(
'hide'
)
})
$contractOutput
.
find
(
'.title'
).
click
(
function
(
ev
)
{
$
(
this
).
closest
(
'.contract'
).
toggleClass
(
'hide
sub
'
)
})
$
(
'#output'
).
append
(
$contractOutput
)
$
(
'.col2 input,textarea'
).
click
(
function
()
{
this
.
select
()
})
}
...
...
src/universal-dapp.js
View file @
b0234ae5
...
...
@@ -275,7 +275,7 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar
address
=
(
address
.
slice
(
0
,
2
)
===
'0x'
?
''
:
'0x'
)
+
address
.
toString
(
'hex'
)
var
$title
=
$
(
'<span class="title"/>'
).
text
(
contract
.
name
+
' at '
+
address
+
' ('
+
context
+
')'
)
$title
.
click
(
function
()
{
$instance
.
toggleClass
(
'hide'
)
$instance
.
toggleClass
(
'hide
sub
'
)
})
var
$events
=
$
(
'<div class="events"/>'
)
...
...
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