forked from zpalmtree/box-turtle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
109 lines (108 loc) · 4.27 KB
/
index.html
File metadata and controls
109 lines (108 loc) · 4.27 KB
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
<!--
2014 XDN Developers
2018 TurtleCoin Developers
-->
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1" name="viewport">
<link rel="icon" type="image/icon" href="favicon.png">
<title>Box WTIP</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.3.1.min.js">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js">
</script>
<script src="config.js">
</script>
<script src="rpc.js">
</script>
</head>
<body>
<div class="container">
<!-- LOGO -->
<div class="row">
<div class="col">
<img class="logo" src="https://wtipwallet.havens.space/assets/img/wtip.png">
<!-- <span class="text1">Box Worktips - Home Wallet</span> -->
<h1 class="text1">Box Worktips - Home Wallet</h1>
</div>
</div><br>
<!-- HOST AND PORT -->
<div class="row">
<div class="col-8">
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<div class="input-group-text">
<strong><i class="fas fa-wallet"></i> Host</strong>
</div>
</div><input class="form-control" id="rpcHost" name="textinput" type="text" value="" placeholder="Host">
</div>
</div>
<div class="col">
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<div class="input-group-text">
<strong><i class="fas fa-plug"></i> Port</strong>
</div>
</div><input class="form-control" id="rpcPort" name="textinput" type="text" value="" placeholder="Port">
</div>
</div>
</div><br>
<!-- TRANSFER TO: RECIPIENT -->
<div class="row">
<div class="col rpc-method">
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<div class="input-group-text">
<strong><i class="fas fa-handshake"></i> To:</strong>
</div>
</div><input class="form-control" id="address" placeholder="Address" type="text" minlength=99 maxlength=99 required>
</div>
</div>
</div><br>
<!-- AMOUNT / FEE -->
<div class="row">
<div class="col">
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<div class="input-group-text">
<strong><i class="fas fa-money-bill-alt"></i> WTIP</strong>
</div>
</div><input class="form-control" id="amount" placeholder="Amount" min="0" type="number" required>
</div>
</div>
<div class="col-4">
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<div class="input-group-text">
<strong><i class="fas fa-money-bill-wave-alt"></i> Fee</strong>
</div>
</div><input class="form-control" id="fee" placeholder="Fee" value="0.1" min="0.001" type="number" required>
</div>
</div>
</div><br>
<!-- RESULTS -->
<div class="row">
<div class="col">
<p id="rpc-result"></p>
</div>
</div><!-- BUTTONS -->
<div class="row">
<div class="col rpc-method">
<button class="btn btn-success btn-block btn-lg" id="getBalance" data-method="getBalance">Check Balance</button>
</div>
<div class="col rpc-method">
<button class="btn btn-primary btn-block btn-lg" id="sendTransaction" data-method="sendTransaction">Transfer funds</button>
</div>
</div>
</div>
<div class="footer">
<p style="color: #fff"><a href="https://github.com/Havenstd06/box-worktips" target="_blank" style="color: #fff"><i class="fab fa-github fa-lg"></i> havenstd06/wtip-box</a></p>
<p style="color: #fff"><a href="https://github.com/turtlecoin/box-turtle" target="_blank" style="color: #fff"><i class="fas fa-bolt"></i> Powered by turtle-box</p>
</div>
</body>
</html>