-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (105 loc) · 5.35 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
<!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">
<title>Expensify: The Expense Manager</title>
<!-- jQuery added via CDN -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Bootstrap CSS and JS included via CDN -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<!-- Custom styling -->
<link href="style.css" rel="stylesheet" />
<!-- Custom JS -->
<script src="script.js"></script>
</head>
<body>
<div class="container">
<div class="heading text-center">
<h1>Expensify</h1>
</div>
<div id="status">
<!-- Show the status of expense of each category -->
</div>
<div> </div>
<div> </div>
<div> </div>
<div class="sub-container text-center">
<div class="sub-heading text-center">
<h2>What do you want to do?</h2>
</div>
<div class="text-center">
<button type="button" class="btn btn-primary" id="toggleAddExpenses">Add Expenses</button>
<button type="button" class="btn btn-primary" id="toggleAddCategories">Add Categories</button>
</div>
<div class="section">
<div id="add-expenses">
<h2>Add Expenses</h2>
<form class="form-horizontal" id="addExpensesForm">
<div class="form-group">
<label class="control-label col-sm-2" for="amount">Amount:</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="amount" name="amount" placeholder="Enter amount">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="category">Select Category:</label>
<div class="col-sm-10">
<select class="form-control" id="select-category">
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="payment-method">Payment Method:</label>
<div class="col-sm-10">
<select class="form-control" id="payment-method">
<option>Credit Card</option>
<option>Debit Card</option>
<option>COD</option>
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Expense Name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="pwd" placeholder="Enter Expense Name">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</form>
</div>
<div id="add-categories">
<h2>Add Categories</h2>
<form class="form-horizontal" id="addCategoriesForm">
<div class="form-group">
<label class="control-label col-sm-2" for="category">Category Name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="category" placeholder="Enter Category Name">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="target-expense">Target Expense:</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="target-expense" name="target-expense" placeholder="Enter target-expense">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>