This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
65 lines (62 loc) · 2.86 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
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>Dummy shop</title>
<link rel="stylesheet" href="./styles/styles.css">
<link rel="stylesheet" href="./bootstrap/bootstrap.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./bootstrap/jquery.min.js"></script>
<script src="./bootstrap/bootstrap.min.js"></script>
<script src="./js/payment.js"></script>
<script>var payment = new Payment();</script>
</head>
<body class=main, id="mainBody">
<!-- navBar -->
<div class="navigation">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" id="pageName">Dummy page</a>
<!-- dropDown main menu when scaled down -->
<button class="navbar-toggler"
type="button"
data-toggle="collapse"
ata-target="#navbarColor01"
aria-controls="navbarColor01"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- navbar content -->
<div class="collapse navbar-collapse" id="navbarMain">
<ul class="navbar-nav mr-auto">
<li class="nav-item active" id="homeButton">
<a class="nav-link" href="./">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item dropdown" id="stylingDropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Styles</a>
<div class="dropdown-menu">
<a class="dropdown-item secondary" onClick="payment.quickStyles('dark')">Dark</a>
<a class="dropdown-item secondary" onClick="payment.quickStyles('standard')">Standard</a>
</div>
</li>
</ul>
</div>
</nav>
</div>
<left>
<!-- payment parameters -->
<div class="input" id="inputs">
<input id="hvUrl" type="text" class="form-control mr-sm-2" name="link" placeholder="payment link">
<input id="style" type="text" class="form-control mr-sm-2 disabled" name="styling" placeholder="Styling">
</div>
<div class="button" id="buttons">
<button id="applyStyle" class="btn btn-success my-2 my-sm-0" onclick="payment.applyStyling()">Apply
</button>
<button id="kickIt"class="btn btn-success my-2 my-sm-0" onclick="payment.kickit()">Kickit!
</button>
</div>
</left>
<!-- iframe for payment -->
<div class="payment" id="payment-container">
</body>
</html>