aboutsummaryrefslogtreecommitdiffstats
path: root/index.xhtml
blob: 6ec45efc2a55af27baffcdb10b716189127abce8 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="css/bootstrap.min.css"?>
<?xml-stylesheet type="text/css" href="css/craftmine.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/shop.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/gui.js"></script>
</head>
<body onload="init()" onhashchange="changeTab()">
<div class="container-fluid">
<div class="row">
	<h1>CraftMine</h1>
</div>
<div class="row">
	<div class="col-md-4">
		<div class="row">
			<div class="col-md-10">
				<span id="gold">0</span>
				<span id="mine">0</span>
				<form class="form-horizontal" method="post" action="craftmine.php">
					<button class="btn btn-default" type="button" name="withdraw" onclick="withdrawMine()">Withdraw</button>
				</form>
			</div>
		</div>
		<div id="error-box" class="row" style="margin-top:1em;display:none">
			<div class="col-md-10">
				<div class="alert alert-danger">
					<ul>
					</ul>
				</div>
			</div>
		</div>
		<div id="info-box" class="row" style="margin-top:1em;display:none">
			<div class="col-md-10">
				<div class="alert alert-success">
					<ul>
					</ul>
				</div>
			</div>
		</div>

	</div>
	<div class="col-md-8">
		<div class="row">

		<div id="tabs-panel" class="tabbable">
		<ul class="nav nav-tabs">
			<li role="presentation"><a href="#tab1" data-toggle="tab">Build</a></li>
			<li role="presentation"><a href="#tab2" data-toggle="tab">Shop</a></li>
			<li role="presentation"><a href="#tab3" data-toggle="tab">Inventory</a></li>
			<li role="presentation"><a href="#tab4" data-toggle="tab">Dungeon</a></li>
		</ul>
		<div class="tab-content">
			<div class="tab-pane" id="tab1">
				<h4>Select a building to build:</h4>
				<ul class="list-inline">
					<li><button class="btn btn-default" type="button" onclick="">Miner's guild</button></li>
					<li><button class="btn btn-default" type="button" onclick="buildShop()">Shop</button></li>
				</ul>
			</div>
			<div class="tab-pane" id="tab2">
				<h4>There's no shop in this city.</h4>
			</div>
			<div class="tab-pane" id="tab3">
				<h4>Your inventory is empty.</h4>
			</div>
			<div class="tab-pane" id="tab4">
				<h4>Look at how poor you are! You can't access the dungeon, it is only for the elite.</h4>
			</div>
		</div>
		</div>



	</div>
	</div>
</div>
</div>
</body>
</html>