-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
154 lines (146 loc) · 5.47 KB
/
index.html
File metadata and controls
154 lines (146 loc) · 5.47 KB
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gider Takip Uygulaması</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body style="height: 99.4vh">
<header class="text-warning text-center display-5 my-1">
Aylık Gider Uygulaması
</header>
<main class="container" style="max-width: 800px">
<form id="ekle-formu" class="d-flex gap-2">
<input
id="gelir-input"
class="form-control"
type="number"
min="0"
autofocus
placeholder="Gelirinizi giriniz."
required
/>
<button id="ekle-btn" type="submit" class="btn btn-warning">
Ekle
</button>
</form>
<form
id="harcama-formu"
class="row g-3 p-3 mt-1 border rounded-4 m-0"
>
<h4 class="text-center text-warning display-5 fw-light">
Harcama Formu
</h4>
<div class="col-6">
<label for="harcama-alani" class="form-label"
>Harcama Alanı</label
>
<input
type="text"
class="form-control"
id="harcama-alani"
placeholder="Manav, Bakkal, fatura"
required
/>
</div>
<div class="col-6">
<label for="tarih" class="form-label">Tarih</label>
<input
type="date"
class="form-control"
id="tarih"
required
/>
</div>
<div class="col-12">
<label for="miktar" class="form-label"
>Harcanan Miktar</label
>
<input
type="number"
class="form-control"
id="miktar"
placeholder="200 €"
required
/>
</div>
<div class="col-12 text-center">
<button id="kaydet" type="submit" class="btn btn-warning">
Kaydet
</button>
</div>
</form>
<table
id="harcama-tablosu"
class="table table-bordered table-hover table-striped mt-1 text-center"
>
<thead>
<tr>
<th scope="col" class="w-25">Tarih</th>
<th scope="col" class="w-50">Harcama Alanı</th>
<th scope="col">Miktar (€)</th>
<th scope="col">İşlem</th>
</tr>
</thead>
<tbody id="harcama-body">
<!-- <tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr> -->
</tbody>
</table>
<table
id="sonuc-tablosu"
class="table table-bordered table-hover table-striped mt-1 text-center w-25 ms-auto"
>
<tbody class="text-end border">
<tr>
<th>Geliriniz:</th>
<td id="geliriniz">0</td>
</tr>
<tr>
<th>Gideriniz:</th>
<td id="gideriniz">0</td>
</tr>
<tr>
<th>Kalan:</th>
<td id="kalan">0</td>
</tr>
</tbody>
</table>
<section class="text-center">
<button id="temizle-btn" class="btn btn-warning">
Bilgileri Temizle
</button>
</section>
</main>
<!-- ?for Bootstrap -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"
></script>
<!-- ?for sweetalert -->
<!-- <script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script> -->
<!-- ?for app_objesiz.js -->
<!-- <script src="app_objesiz.js"></script> -->
<script src="app.js"></script>
</body>
</html>