diff options
-rw-r--r-- | index.xhtml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/index.xhtml b/index.xhtml index 5b38b69..30352bf 100644 --- a/index.xhtml +++ b/index.xhtml @@ -11,13 +11,18 @@ <meta name="author" content="Alexandre Renoux,Pierre-Emmanuel Novac"/> <title>CraftMine</title> <script type="text/javascript" charset="utf-8" src="js/craftmine.js"></script> + <script type="text/javascript" charset="utf-8" src="js/guild.js"></script> </head> <body onload="init()"> <h1>CraftMine</h1> - <span id="gold">0</span> - <span id="mine">0</span> + <p>Gold : <span id="gold">0</span></p> + <p>Mine : <span id="mine">0</span></p> + <p>Miners : <span id="miners">0</span></p> + <span id="guild"></span> <form class="form-horizontal" method="post" action="craftmine.php"> <button type="button" name="withdraw" onclick="withdrawMine()">Withdraw</button> + <button type="button" name="createGuild" onclick="createGuild()">Create your guild</button> + <button type="button" name="hireMiner" onclick="hireMiner()">Hire one miner</button> </form> </body> </html> |