-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
173 lines (152 loc) · 4.58 KB
/
index.html
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Minefield</title>
<script data-main="js/main" src="js/require.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Include Bootstrap CSS -->
<link href="css/app.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/lib/jquery.js"></script>
<script type="text/javascript" src="js/lib/bootstrap.min.js"></script>
<script type="text/javascript" src="js/lib/hive_mock.js"></script>
<style>
body {
margin:0;
padding:0;
}
#game-field td {
background: url('img/niekliknieta_ziemia.gif');
height: 60px;
width: 60px;
}
.center-table
{
margin: 0 auto !important;
float: none !important;
}
</style>
<script id="transaction-page-template" type="text/html">
<div id="transpage">
<div class="row-fluid">
<p class="span2">Cash: </p>
<p class="span10" id="user-account-amount"></p>
</div>
<div class="row-fluid">
<h2 class="span12">Deposit</h2>
<ul class="span12" id="deposit-list-box" ></ul>
<button id="generate-deposit-button" class="btn btn-default">Make deposit</button>
</div>
<div class="row-fluid">
<h2 class="span12">Withdrawal</h2>
<p>Money to withdraw: </p><input id="money-withdrawal" type="text" />
<p>Address: </p><input id="address-withdrawal" type="text" />
<p>
<button id="withdrawal-button" class="btn btn-default">Withdraw</button>
</p>
</div>
<p>all your transactions need to have at least 5 confirmations in order to withdraw</p>
<p>if outgoing transactions are big (10btc+), they might fail, split them into multiple smaller ones.</p>
<h2>Transactions list: </h2>
<ul id="transaction-list-box"></ul>
</div>
</script>
<script id="main-page-template" type="text/html">
<div id="mainpage">
<div class="row-fluid">
<p class="span1"></p>
<p class="span2">Online users: </p>
<p class="span3" id="online-users-count"></p>
<p class="span2">Cash: </p>
<p class="span3" id="user-account-amount"></p>
<p class="span1"></p>
</div>
<div class="row-fluid">
<p class="span1"></p>
<p class="span2">Your bet: </p>
<div class="span3" id="multipiers-box"></div>
<p class="span2">Number of mines: </p>
<div class="span3" id="mines-box"></div>
<p class="span1"></p>
</div>
<div id="game-field" class="row-fluid">
<div class="span12">
<table class="table table-bordered min_width max_width" align="center">
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row-fluid">
<p class="span1"></p>
<p class="span8">Your bet is multiplied by: </p>
<p class="span2" id="mines-multiplier-value"></p>
<p class="span1"></p>
</div>
<div class="row-fluid" align="center">
<button id="start-game-button">Start</button>
<button id="finish-game-button">Finish</button>
</div>
</div>
</script>
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="navbar">
<div class="navbar-inner">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Minefield</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="#mainPage">Main</a></li>
<li><a href="#transactionPage">Transactions</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="app-content"></div>
</div>
</body>
</html>