|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <title>MetaCoin - Truffle Webpack Demo w/ Frontend</title> |
| 5 | + <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'> |
| 6 | + <script src="./app.js"></script> |
| 7 | +</head> |
| 8 | +<body> |
| 9 | + <h1>MetaCoin</h1> |
| 10 | + <h2>Example Truffle Dapp</h2> |
| 11 | + <h3>You have <span class="black"><span id="balance"></span> META</span></h3> |
| 12 | + |
| 13 | + <br> |
| 14 | + <h1>Send MetaCoin</h1> |
| 15 | + <br><label for="amount">Amount:</label><input type="text" id="amount" placeholder="e.g., 95"></input> |
| 16 | + <br><label for="receiver">To Address:</label><input type="text" id="receiver" placeholder="e.g., 0x93e66d9baea28c17d9fc393b53e3fbdd76899dae"></input> |
| 17 | + <br><br><button id="send" onclick="App.sendCoin()">Send MetaCoin</button> |
| 18 | + <br><br> |
| 19 | + <span id="status"></span> |
| 20 | + <br> |
| 21 | + <span class="hint"><strong>Hint:</strong> open the browser developer console to view any errors and warnings.</span> |
| 22 | +</body> |
| 23 | +</html> |
0 commit comments