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
2ad4b6a1
Commit
2ad4b6a1
authored
Sep 01, 2016
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udapp: remove disabled code
parent
47c4b416
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
11 deletions
+1
-11
browser-solidity.css
assets/css/browser-solidity.css
+0
-1
universal-dapp.css
assets/css/universal-dapp.css
+0
-6
universal-dapp.js
src/universal-dapp.js
+1
-4
No files found.
assets/css/browser-solidity.css
View file @
2ad4b6a1
...
...
@@ -305,7 +305,6 @@ body {
content
:
"\25B6"
;
}
#output
.poweredBy
,
#output
.legend
{
display
:
none
;
}
#output
.udapp
{
...
...
assets/css/universal-dapp.css
View file @
2ad4b6a1
...
...
@@ -296,9 +296,3 @@
.udapp
.legend
.attach
:before
{
background-color
:
#62B762
;
}
.udapp
.legend
.transact
:before
{
background-color
:
#D42828
;
}
.udapp
.legend
.call
:before
{
background-color
:
#556DF3
;
}
.udapp
.poweredBy
{
float
:
right
;
color
:
#666
;
font-size
:
12px
;
}
src/universal-dapp.js
View file @
2ad4b6a1
...
...
@@ -158,9 +158,6 @@ UniversalDApp.prototype.render = function () {
.
append
(
$
(
'<div class="transact"/>'
).
text
(
'Transact'
))
.
append
(
$
(
'<div class="call"/>'
).
text
(
'Call'
));
self
.
$el
.
append
(
$
(
'<div class="poweredBy" />'
)
.
html
(
'<a href="http://github.com/d11e9/universal-dapp">Universal ÐApp</a> powered by The Blockchain'
));
self
.
$el
.
append
(
$legend
);
return
self
.
$el
;
};
...
...
@@ -179,7 +176,7 @@ UniversalDApp.prototype.getABIInputForm = function (cb) {
var
self
=
this
;
var
$el
=
$
(
'<div class="udapp-setup" />'
);
var
$jsonInput
=
$
(
'<textarea class="json" placeholder=
\'
[ { "name": name, "bytecode": bytecode, "interface": abi }, { ... } ]
\'
/>'
);
var
$createButton
=
$
(
'<button class="udapp-create"/>'
).
text
(
'
Create a Universal ÐApp
'
);
var
$createButton
=
$
(
'<button class="udapp-create"/>'
).
text
(
'
Render ABI
'
);
$createButton
.
click
(
function
(
ev
)
{
var
contracts
=
$
.
parseJSON
(
$jsonInput
.
val
());
if
(
cb
)
{
...
...
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