-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (51 loc) · 2.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a id="navTitle" class="navbar-brand" href="index.html"></a>
</div>
</div>
</nav>
<div class="container-fluid">
<div class=form-inline>
<div class="form-group">
<input type="text" class="form-control" id="desc" placeholder="Description" />
</div>
<div class="form-group">
<input type="text" class="form-control" id="amount" placeholder="Amount" />
</div>
<div class="form-group">
<input type="text" class="form-control" id="value" placeholder="Value" />
</div>
<span id="btnUpdate" style="display: none;">
<span id="inputIDUpdate"></span>
<button onclick="updateData();" class="btn btn-default">Save</button>
<button onclick="resetForm();" class="btn btn-default">Cancel</button>
</span>
<span id="btnAdd">
<button onclick="addData();" class="btn btn-default">Add</button>
<button onclick="resetForm();" class="btn btn-default">Reset</button>
<button onclick="deleteList();" class="btn btn-default">Delete List</button>
</span>
</div>
<div id="errors"></div>
<table id="listTable" class="table table-condensed table-hover"></table>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container">
<h4 class="text-center text-success">
Total: <span id="totalValue">$ 0,00</span>
</h4>
</div>
</nav>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>