-
Notifications
You must be signed in to change notification settings - Fork 1
/
pay.html
93 lines (65 loc) · 2.87 KB
/
pay.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
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<link href="pay.css" rel="stylesheet">
<link href="bit.css" rel="stylesheet">
<html id="body" ng-app="btc_app" ng-init="stdbtc=1;stdusd=0;_btc=100.0;" ng-controller="price">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<!-- JS Libraries -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.6/angular.min.js"></script> <!-- <script src="https://code.angularjs.org/1.6.6/angular-route.js"></script>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script
<!-- <script src="js/clipboard.js-master/dist/clipboard.min.js"></script>-->
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
crossorigin="anonymous"></script>
<script src="USD-BTC-Converter-master/js/index.js"></script>
<title>Pay Demo</title>
</head>
<!------ Include the above in your HEAD tag ---------->
<body id="body" ng-init="stdbtc=1;stdusd=0;_btc=10;">
<br><br><br><br><br><br><center><div class="Rectangle-1">
<div class="Rectangle-2">
<div class="Ellipse-1"></div>
<div class="Ellipse-2"></div>
<div class="Ellipse-3"></div></div><br>
<br><div class="send">Send</div><br>
<div class="BTC"><td id="copy_btc" scope="row" class="h3">{{ (_btc/btc) | number: 7}}</td></div><br><br>
<div class="address">To address</div><br>
<div class="to"><p title="Copy Text" id="text" onclick="copyElementText(this.id)">1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2</p></div><br>
<p class="delay">(If you want to copy this adress click on it)</p>
<br><div class="time"><p id="time">15:00</p></div><br><br>
<center>
<div class="Rectangle1">
<br>
<div class="Bitcoin">Pay</div>
<br>
</div>
</center>
</div>
<br><div class="delay">You have 15 minutes to send funds otherwise the transaction will
be canceled</div>
<br><br><br><br><h5><center>Made by ❤️ by Lenmo</center></h5>
<script>
function startTimer(duration, display) {
var timer = duration, minutes, seconds;
setInterval(function () {
minutes = parseInt(timer / 60, 10);
seconds = parseInt(timer % 60, 10);
minutes = minutes < 10 ? "0" + minutes : minutes;
seconds = seconds < 10 ? "0" + seconds : seconds;
display.textContent = minutes + ":" + seconds;
if (--timer < 0) {
timer = duration;
}
}, 1000);
}
window.onload = function () {
var fiveMinutes = 60 * 15,
display = document.querySelector('#time');
startTimer(fiveMinutes, display);
};
</script>
</center>
</body>
</html>