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
28f9e179
Commit
28f9e179
authored
Oct 06, 2015
by
d11e9
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix contract output collapsing/hiding
parent
c8a6060f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
index.html
index.html
+1
-0
browser-solidity.css
stylesheets/browser-solidity.css
+31
-0
No files found.
index.html
View file @
28f9e179
...
...
@@ -471,6 +471,7 @@ THE SOFTWARE.
.
append
(
textRow
(
'uDApp'
,
combined
(
contractName
,
contract
[
'interface'
],
contract
.
bytecode
),
'deploy'
))
.
append
(
getDetails
(
contract
,
source
,
contractName
));
$
(
'#txorigin'
).
text
(
'0x'
+
dapp
.
address
.
toString
(
'hex'
));
$contractOutput
.
find
(
'.title'
).
click
(
function
(
ev
){
$
(
this
).
closest
(
'.udapp'
).
toggleClass
(
'hide'
)
});
$
(
'#output'
).
append
(
$contractOutput
);
}
$
(
'.col2 input,textarea'
).
click
(
function
()
{
this
.
select
();
});
...
...
stylesheets/browser-solidity.css
View file @
28f9e179
...
...
@@ -119,6 +119,37 @@ body {
float
:
left
;
}
.udapp.hide
{
padding-bottom
:
0
;
}
.udapp.hide
>
*
:not
(
.contract
)
{
display
:
none
;
}
.udapp.hide
.contract
{
margin
:
0
;
}
.udapp.hide
.contract
>
*
:not
(
.title
)
{
display
:
none
;
}
.udapp
.contract
>
.title
{
cursor
:
pointer
;
}
.udapp
.contract
>
.title
:before
{
content
:
"\25BC"
;
opacity
:
0.5
;
margin-right
:
0.4em
;
font-size
:
10px
;
}
.udapp.hide
>
.contract
>
.title
:before
{
content
:
"\25B6"
;
}
#output
.poweredBy
,
#output
.legend
{
display
:
none
;
}
...
...
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