aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mist')
-rw-r--r--cmd/mist/assets/examples/coin.html20
-rw-r--r--cmd/mist/assets/html/home.html142
2 files changed, 81 insertions, 81 deletions
diff --git a/cmd/mist/assets/examples/coin.html b/cmd/mist/assets/examples/coin.html
index a84a828af..9d1a83171 100644
--- a/cmd/mist/assets/examples/coin.html
+++ b/cmd/mist/assets/examples/coin.html
@@ -93,18 +93,18 @@
function transact() {
var to = document.querySelector("#address").value;
if( to.length == 0 ) {
- to = "0x4205b06c2cfa0e30359edcab94543266cb6fa1d3";
+ to = "0x4205b06c2cfa0e30359edcab94543266cb6fa1d3";
} else {
to = "0x"+to;
}
-
- var value = parseInt( document.querySelector("#amount").value );
-
- contract.transact({gas: "10000", gasprice: eth.gasPrice}).send( to, value );
- }
-
- reflesh();
-</script>
-
+
+ var value = parseInt( document.querySelector("#amount").value );
+
+ contract.transact({gas: "10000", gasprice: eth.gasPrice}).send( to, value );
+ }
+
+ reflesh();
+ </script>
+
</html>
diff --git a/cmd/mist/assets/html/home.html b/cmd/mist/assets/html/home.html
index 7116f5dde..3b27917fd 100644
--- a/cmd/mist/assets/html/home.html
+++ b/cmd/mist/assets/html/home.html
@@ -1,75 +1,75 @@
<!doctype>
<html>
-<head>
-<title>Ethereum</title>
-<script type="text/javascript" src="../ext/bignumber.min.js"></script>
-<script type="text/javascript" src="../ext/ethereum.js/dist/ethereum.js"></script>
-<style type="text/css">
- body {
- font-family: Helvetica;
- }
- div.logo {
- width: 192px;
- margin: 40px auto;
- }
-</style>
-</head>
-<body>
- <div class="logo"><img src="logo.png"></img></div>
- <h1>Info</h1>
-
- <table width="100%">
- <tr>
- <td>Block number</td>
- <td id="number"></td>
- </tr>
-
- <tr>
- <td>Peer count</td>
- <td id="peer_count"></td>
- </tr>
-
- <tr>
- <td>Accounts</td>
- <td id="accounts"></td>
- </tr>
-
- <tr>
- <td>Gas price</td>
- <td id="gas_price"></td>
- </tr>
-
- <tr>
- <td>Mining</td>
- <td id="mining"></td>
- </tr>
-
- <tr>
- <td>Listening</td>
- <td id="listening"></td>
- </tr>
-
- <tr>
- <td>Coinbase</td>
- <td id="coinbase"></td>
- </tr>
- </table>
-</body>
-
-<script type="text/javascript">
- var web3 = require('web3');
- var eth = web3.eth;
-
- web3.setProvider(new web3.providers.HttpSyncProvider('http://localhost:8080'));
-
- document.querySelector("#number").innerHTML = eth.number;
- document.querySelector("#coinbase").innerHTML = eth.coinbase
- document.querySelector("#peer_count").innerHTML = eth.peerCount;
- document.querySelector("#accounts").innerHTML = eth.accounts;
- document.querySelector("#gas_price").innerHTML = eth.gasPrice;
- document.querySelector("#mining").innerHTML = eth.mining;
- document.querySelector("#listening").innerHTML = eth.listening;
-</script>
-
+ <head>
+ <title>Ethereum</title>
+ <script type="text/javascript" src="../ext/bignumber.min.js"></script>
+ <script type="text/javascript" src="../ext/ethereum.js/dist/ethereum.js"></script>
+ <style type="text/css">
+ body {
+ font-family: Helvetica;
+ }
+ div.logo {
+ width: 192px;
+ margin: 40px auto;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="logo"><img src="logo.png"></img></div>
+ <h1>Info</h1>
+
+ <table width="100%">
+ <tr>
+ <td>Block number</td>
+ <td id="number"></td>
+ </tr>
+
+ <tr>
+ <td>Peer count</td>
+ <td id="peer_count"></td>
+ </tr>
+
+ <tr>
+ <td>Accounts</td>
+ <td id="accounts"></td>
+ </tr>
+
+ <tr>
+ <td>Gas price</td>
+ <td id="gas_price"></td>
+ </tr>
+
+ <tr>
+ <td>Mining</td>
+ <td id="mining"></td>
+ </tr>
+
+ <tr>
+ <td>Listening</td>
+ <td id="listening"></td>
+ </tr>
+
+ <tr>
+ <td>Coinbase</td>
+ <td id="coinbase"></td>
+ </tr>
+ </table>
+ </body>
+
+ <script type="text/javascript">
+ var web3 = require('web3');
+ var eth = web3.eth;
+
+ web3.setProvider(new web3.providers.HttpSyncProvider('http://localhost:8080'));
+
+ document.querySelector("#number").innerHTML = eth.number;
+ document.querySelector("#coinbase").innerHTML = eth.coinbase
+ document.querySelector("#peer_count").innerHTML = eth.peerCount;
+ document.querySelector("#accounts").innerHTML = eth.accounts;
+ document.querySelector("#gas_price").innerHTML = eth.gasPrice;
+ document.querySelector("#mining").innerHTML = eth.mining;
+ document.querySelector("#listening").innerHTML = eth.listening;
+ </script>
+
</html>