aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/html/home.html
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-06-24 01:19:33 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-06-24 01:19:33 +0800
commit72e2613a9fe3205fa5a67b72b832e03b2357ee88 (patch)
treebbc987510d279d9e174ff8f684158d668131661e /cmd/mist/assets/html/home.html
parent5daf8729be88eca87b302ebf7a46fc69cad0f6d0 (diff)
parent67e6f74e9af00ff011a6a02f18644804eb18cdaa (diff)
downloadgo-tangerine-0.9.32.tar
go-tangerine-0.9.32.tar.gz
go-tangerine-0.9.32.tar.bz2
go-tangerine-0.9.32.tar.lz
go-tangerine-0.9.32.tar.xz
go-tangerine-0.9.32.tar.zst
go-tangerine-0.9.32.zip
Merge branch 'release/0.9.32'v0.9.32
Diffstat (limited to 'cmd/mist/assets/html/home.html')
-rw-r--r--cmd/mist/assets/html/home.html83
1 files changed, 0 insertions, 83 deletions
diff --git a/cmd/mist/assets/html/home.html b/cmd/mist/assets/html/home.html
deleted file mode 100644
index dc96cc754..000000000
--- a/cmd/mist/assets/html/home.html
+++ /dev/null
@@ -1,83 +0,0 @@
-<!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:8545'));
-
- 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;
-
- eth.watch('pending').changed(function() {
- console.log("pending changed");
- });
- eth.watch('chain').changed(function() {
- document.querySelector("#number").innerHTML = eth.number;
- });
-
-</script>
-
-</html>
-