-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
139 lines (127 loc) · 5.2 KB
/
dashboard.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
128
129
130
131
132
133
134
135
136
137
138
139
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Track Expense Dashboard</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="style/style.css" />
<link rel="icon" href="./favicon.ico" type="image/x-icon">
</head>
<body class="bg-dark">
<h1>Track Expenses</h1>
<body>
<div class="container main">
<br><br> <h2 style="color: aliceblue;">Welcome Sumeeth !</h2><br><br>
<div class="buttons">
<button class="btn btn-warning" id="addExpenseBtn" onclick="addexps()">Add Expense</button>
<button class="btn btn-warning" id="ViewBtn" onclick="viewexps()">View Expense</button>
</div>
<!-- View Expense Section -->
<div class="container view-expense" id="viewexp">
<h3>Name: Sumeeth </h3><br>
<h3>Phone no: 9873516914</h3>
<h3> Total Expenses / Month: <br> $1926.30 </h3>
<img height="400" width="300" src="https://cdn.dribbble.com/users/60016/screenshots/3194774/attachments/680765/real-pixels-16px.png">
</div>
<!-- Add Expense Section -->
<div class="container add-expense" id="addexp">
<form class="" id="addExpenseForm" method="post" onsubmit="sub()">
<div class="form-group">
<label for="exampleInputEmail1">Expense Name</label>
<input
type="text"
class="form-control"
id="exampleInputEmail1"
aria-describedby="emailHelp"
placeholder="Enter Expense "
required />
</div>
<div class="form-group">
<label for="exampleFormControlSelect1">Expense Date</label>
<input
type="date"
class="form-control"
id="exampleFormControlSelect1"
required />
</div>
<div class="form-group">
<label for="expamt">Expense Amount</label>
<input
onblur="num()"
type="text"
class="form-control"
id="Expamt"
placeholder="Enter Expense Amount"
required
/>
</div>
<div class="form-group">
<label for="exampleFormControlSelect1">Expense Type</label>
<select class="form-control" id="exampleFormControlSelect1" required>
<option></option>
<option>Food</option>
<option>Water</option>
<option>Grocery</option>
<option>Rent</option>
<option>Electricity</option>
<option>Entertainment</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlTextarea1">Expense Description</label>
<textarea
class="form-control"
id="exampleFormControlTextarea1"
rows="3"
></textarea>
</div>
<!-- individual items -->
<h4>Individual Items</h4>
<div class="form-group hide" id="items">
<label for="exampleFormControlSelect1">Expense Items</label>
<div class="row">
<div class="col-md-4">
<input
type="text"
class="form-control"
id="exampleFormControlSelect1"
placeholder="Enter Item Name"
/>
</div>
<div class="col-md-4">
<input
type="text"
onblur="num2()"
class="form-control"
id="itemamt"
placeholder="Enter Item Amount"
/>
</div>
<div class="btn btn-primary col-md-4">Add</div>
</div>
</div>
<!-- end individual items -->
<div class="form-group"><br>
<label for="exampleFormControlFile1">Expense Image/Bills</label>
<input
type="file"
class="form-control-file"
id="exampleFormControlFile1"
accept="image/png, image/gif, image/jpeg"
/>
</div>
<input type="submit" class="btn btn-primary" id="submitBtn" value="Submit">
</form>
</div>
</div>
</body>
<script src="js/exp.js"></script>
</html>