-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (65 loc) · 2.98 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="https://github.com/yenilikci">
<meta name="url" content="https://github.com/yenilikci/JavaScript-Fiyat-Hesaplayici">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" />
<title>Fiyat Hesaplayıcı</title>
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<div class="container">
<a href="#" class="navbar-brand">
Fiyat Hesaplayıcı
</a>
</div>
</nav>
<div class="container">
<div class="card mt-3">
<div class="card-body">
<form>
<div class="form-row">
<div class="form-group col-md-6">
<input type="text" id="productName" class="form-control" placeholder="İsim (Name)">
</div>
<div class="form-group col-md-6">
<input type="text" id="productPrice" class="form-control" placeholder="Fiyat (Price)">
</div>
</div>
<button type="submit" class="btn btn-success btn-sm" id="addBtn">
<i class="fas fa-plus"></i> Ekle (Add)
</button>
<button type="submit" class="btn btn-primary btn-sm" id="updateBtn">
<i class="far fa-edit"></i> Değişiklikleri Kaydet (Save Changes)
</button>
<button type="submit" class="btn btn-danger btn-sm" id="deleteBtn">
<i class="fas fa-times"></i> Sil (Delete)
</button>
<button type="submit" class="btn btn-warning text-white btn-sm" id="cancelBtn">
<i class="fas fa-arrow-circle-left"></i> İptal (Cancel)
</button>
</form>
</div>
</div>
<div id="productCard" class="card mt-3">
<table class="table">
<tbody id="item-list">
</tbody>
</table>
</div>
<div class="card mt-3">
<div class="card-footer text-right">
<p>Toplam (TL) <strong><span id="total-tl">0</span> TL</strong></p>
<p>Total ($) <strong><span id="total-dolar">0 </span> $</strong></p>
</div>
</div>
</div>
<script src="app/app.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>