-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphone.html
50 lines (48 loc) · 2 KB
/
phone.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>MANNER</title>
<!--Make it the correct scale on mobile.-->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<!--Tell Iphone's to get rid of all that stuff hogging the screen.-->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!--Bring in socket.io so we can talk to the server-->
<script src="/socket.io/socket.io.js"></script>
<link rel="stylesheet" href="phone.css">
</head>
<body>
<div class="page">
<div class="title">
<h1>BlockFarm</h1>
<p>Manual Blockchain Mining Demo</p>
</div>
<p id="points">
Points: 0/0
</p>
<h2>Help Mine a Block</h2>
<div class="in">
<label for="help_with">Block to Help with:</label>
<input size="5" type="number" name="help" value="" id="help_with" placeholder="#"></input>
</div>
<button type="button" ontouchstart="" name="button" id="help">Mine!</button>
<p id="feedback">
All Systems Go
</p>
<h2>Create a New Block</h2>
<!-- What block to build on -->
<div class="in">
<label for="last_block">Block to Build On:</label>
<input size="5" type="number" name="last" value="" id="last_block" placeholder="#"></input>
</div>
<!-- What text to include -->
<div class="in">
<label for="content">Text to Include:</label>
<input type="text" name="text" value="" id="content" maxlength="10">
</div>
<!-- "Mine" button -->
<button type="button" ontouchstart="" name="button" id="button">Mine!</button>
<script src="phone.js" charset="utf-8"></script>
</div>
</body>
</html>