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