aboutsummaryrefslogtreecommitdiffstats
path: root/index.xhtml
blob: 30352bf1be8d1fc7470198af261489927f1216ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="css/bootstrap.min.css"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
	<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>    
	<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>
	<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>