-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (79 loc) · 3.3 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
<!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>Budget Planner</title>
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/ionic.esm.js"
></script>
<script
nomodule
src="https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/ionic.js"
></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@ionic/core/css/ionic.bundle.css"
/>
</head>
<body>
<ion-app>
<ion-header>
<ion-toolbar color="primary">
<ion-title>Budget Planner</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-grid>
<ion-row>
<ion-col size-md="6" offset-md="3">
<ion-card>
<ion-card-header>
<ion-card-title>New Expense</ion-card-title>
</ion-card-header>
<ion-card-content>
<ion-item>
<ion-label position="floating">
Expense Reason
</ion-label>
<ion-input type="text" id="input-reason"></ion-input>
</ion-item>
<ion-item>
<ion-label position="floating">
Expense Amount
</ion-label>
<ion-input type="Number" id="input-amount"></ion-input>
</ion-item>
<div margin-vertical text-right>
<ion-button id="btn-cancel" fill="outline" color="danger">
<ion-icon slot="start" name="close"></ion-icon>
Clear
</ion-button>
<ion-button id="btn-confirm">
<ion-icon slot="start" name="add"></ion-icon>
Add Expense</ion-button>
</div>
</ion-card-content>
</ion-card>
</ion-col>
</ion-row>
<ion-row>
<ion-col size-md="6" offset-md="3">
<ion-list id="expenses-list">
</ion-list>
</ion-col>
</ion-row>
<ion-row>
<ion-col size-md="6" offset-md="3">
<p margin>Total Expenses: $<span id="total-expenses"></span> </p>
</ion-col>
</ion-row>
</ion-grid>
</ion-content>
<ion-alert-controller></ion-alert-controller>
</ion-app>
<script src="app.js"></script>
</body>
</html>