blob: 4eb2e6330ac4ce3ba44e43e8a93000364abc2028 (
plain) (
blame)
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
|
{{#yield-scripts}}
{{#js}}js/wallet{{/js}}
{{/yield-scripts}}
<form action="/{{user}}" method="post" style="display: none">
<h1>Wallet</h1>
<input type="hidden" id="username" name="username" value="{{user}}" />
<input type="hidden" id="email" name="email" />
<div class="form-group">
<label>Available Balance:</label>
<b id="balance" class="lead">0</b> <b id="unit" class="lead"></b> /
<b id="fiat" class="lead">0</b>
</div>
<div>
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#withdraw" aria-controls="withdraw" role="tab" data-toggle="tab">Withdraw</a></li>
<li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Manage Keys</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="withdraw">
<div class="form-group">
<label for="amount">Amount:</label>
<div class="input-group">
<input type="number" id="amount" name="amount" class="form-control" />
<span class="input-group-btn">
<button id="currency_toggle" type="button" class="btn"></button>
</span>
<span class="input-group-btn">
<button id="max" type="button" class="btn">Max</button>
</span>
</div>
</div>
<div class="form-group">
<label for="amount">Receiving Address:</label>
<div class="input-group">
<input type="text" id="recipient" name="recipient" class="form-control" />
<span class="input-group-btn">
<button type="button" class="btn"><span class="glyphicon glyphicon-camera"></span></button>
</span>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="settings">
<div class="form-group">
<label for="pubkey">Bitcoin Receiving Address or HD Wallet Pubkey:</label>
<textarea id="pubkey" name="pubkey" class="form-control" placeholder="xpub..." rows="3"></textarea>
<input type="hidden" id="privkey" name="privkey" />
</div>
</div>
</div>
</div>
<input class="btn btn-primary" type="submit" value="Done" />
</form>
|