Commit 2ad4b6a1 authored by Alex Beregszaszi's avatar Alex Beregszaszi

udapp: remove disabled code

parent 47c4b416
...@@ -305,7 +305,6 @@ body { ...@@ -305,7 +305,6 @@ body {
content: "\25B6"; content: "\25B6";
} }
#output .poweredBy,
#output .legend { display: none; } #output .legend { display: none; }
#output .udapp { #output .udapp {
......
...@@ -296,9 +296,3 @@ ...@@ -296,9 +296,3 @@
.udapp .legend .attach:before { background-color: #62B762; } .udapp .legend .attach:before { background-color: #62B762; }
.udapp .legend .transact:before { background-color: #D42828; } .udapp .legend .transact:before { background-color: #D42828; }
.udapp .legend .call:before { background-color: #556DF3; } .udapp .legend .call:before { background-color: #556DF3; }
.udapp .poweredBy {
float: right;
color: #666;
font-size: 12px;
}
...@@ -158,9 +158,6 @@ UniversalDApp.prototype.render = function () { ...@@ -158,9 +158,6 @@ UniversalDApp.prototype.render = function () {
.append($('<div class="transact"/>').text('Transact')) .append($('<div class="transact"/>').text('Transact'))
.append($('<div class="call"/>').text('Call')); .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); self.$el.append($legend);
return self.$el; return self.$el;
}; };
...@@ -179,7 +176,7 @@ UniversalDApp.prototype.getABIInputForm = function (cb) { ...@@ -179,7 +176,7 @@ UniversalDApp.prototype.getABIInputForm = function (cb) {
var self = this; var self = this;
var $el = $('<div class="udapp-setup" />'); var $el = $('<div class="udapp-setup" />');
var $jsonInput = $('<textarea class="json" placeholder=\'[ { "name": name, "bytecode": bytecode, "interface": abi }, { ... } ]\'/>'); 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) { $createButton.click(function (ev) {
var contracts = $.parseJSON($jsonInput.val()); var contracts = $.parseJSON($jsonInput.val());
if (cb) { if (cb) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment