-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
127 lines (125 loc) · 4.42 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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="main.css">
<title>Bank app</title>
</head>
<body>
<div class="jumbotron text-center">
<h3 class="display-4">Bank App</h3>
<button id="accountsBtn" class="btn btn-primary">Accounts</button>
<button id="addAccountBtn" class="btn btn-info">Add Account</button>
<button id="editDeleteBtn" class="btn btn-warning">Edit/Delete</button>
<button id="withdrawBtn" class="btn btn-danger">Widthdraw</button>
</div>
<div id="mainRow" class="row">
<div class="col-10 offset-1">
<h3 class="display-5">Accounts</h3>
<div class="row">
<div class="col-10 offset-1">
<table class="table">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Deposit</th>
<th>Credit Card</th>
</tr>
</thead>
<tbody id="mainTbody"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="formRow" class="row">
<div class="col-10 offset-1">
<h3 class="display-5">Add Account</h3>
<div class="row">
<div class="col-10 offset-1">
<input id="addFormId" type="text" placeholder="id" class="form-control"><br>
<input id="addFormName" type="text" placeholder="name" class="form-control"><br>
<input id="addFormDeposit" type="text" placeholder="deposit" class="form-control"><br>
<input id="addFormCard" type="text" placeholder="credit card" class="form-control"><br>
<button id="addBtn" class="btn btn-primary form-control">ADD</button>
</div>
</div>
</div>
</div>
<div id="editFormRow" class="row">
<div class="col-10 offset-1">
<h3 class="display-5">Edit Account</h3>
<div class="row">
<div class="col-10 offset-1">
<input id="editFormId" type="text" placeholder="id" class="form-control"><br>
<input id="editFormName" type="text" placeholder="name" class="form-control"><br>
<input id="editFormDeposit" type="text" placeholder="deposit" class="form-control"><br>
<input id="editFormCard" type="text" placeholder="credit card" class="form-control"><br>
<button id="editFormBtn" class="btn btn-info form-control">EDIT</button>
</div>
</div>
</div>
</div>
<div id="editTableRow" class="row">
<div class="col-10 offset-1">
<h3 class="display-5">Edit/Delete</h3>
<div class="row">
<div class="col-10 offset-1">
<table class="table">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Deposit</th>
<th>Credit Card</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody id="editTbody"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="showWithdrawRow" class="row">
<div class="col-10 offset-1">
<h3 class="display-5">Withdraw</h3>
<div class="row">
<div class="col-10 offset-1">
<table class="table">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Deposit</th>
<th>Credit Card</th>
<th>Widthdraw</th>
</tr>
</thead>
<tbody id="withdrawTbody"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="withdrawInputRow" class="row">
<div class="col-10 offset-1">
<h3 class="display-5">Withdraw amount</h3>
<div class="row">
<div class="col-10 offset-1">
<input id="withdrawFormDeposit" type="text" placeholder="deposit" class="form-control" disabled><br>
<input id="withdrawFormInput" type="number" placeholder="iznos" class="form-control"><br>
<button id="withdrawFormBtn" class="btn btn-info form-control">WITHDRAW</button>
</div>
</div>
</div>
</div>
<script src="main.js"></script>
<script src="main2.js"></script>
</body>
</html>