-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
91 lines (81 loc) · 3.48 KB
/
calculator.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
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Remonty i wykończenia domów i mieszkań. Galeria.</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="calc.css">
<link rel="icon" type="image/png" href="pictures/roller_icon.png"/>
</head>
<body>
<h1>Kalkulator</h1>
<div id="main">
<label for="spatial">Gładź, malowanie</label><br>
<div id="spatial" class="row" name="spatial">
<label class="number">Długość (metry)<input type="number" name="len"></label>
<label class="number">Szerokość (metry)<input type="number" name="width"></label>
<label class="number">Wysokość (metry)<input type="number" name="height"></label>
<label class="number">Cena<input type="number" name="price"></label>
<br>
<label><input type="checkbox" class="walls" value="Ściany" checked>Same ściany</label>
<label><input type="checkbox" class="wAndC" value="Ściany i sufit">Ściany i sufit</label>
<br>
<button type="submit" class="submit">Oblicz</button>
</div>
<br>
<label for="flat">Sufit, podłoga</label><br>
<div id="flat" class="row" name="flat">
<label class="number">Długość (metry)<input type="number" name="len"></label>
<label class="number">Szerokość/wysokość (metry)<input type="number" name="width"></label>
<label class="number">Cena<input type="number" name="price"></label>
<br>
<label><input type="checkbox" class="ceil" value="Sufit" checked>Sufit</label>
<label><input type="checkbox" class="floor" value="Podłoga">Podłoga</label>
<br>
<button type="submit" class="submit">Oblicz</button>
</div>
<br>
<label for="circuit">Listwy</label><br>
<div id="circuit" class="row" name="circuit">
<label class="number">Długość (metry)<input type="number" name="len"></label>
<label class="number">Szerokość (metry)<input type="number" name="width"></label>
<label class="number">Cena<input type="number" name="price"></label>
<br>
<button type="submit" class="submit">Oblicz</button>
</div>
<br>
<label for="additive">Dodatkowa kwota</label><br>
<div id="additive" class="row" name="additive">
<label class="number">Kwota<input type="number" name="price"></label>
<br>
<button type="submit" class="submit">Dodaj</button>
</div>
<br>
<div id="output" class="output" name="output">
<table hidden="true">
<th colspan="3">Wyniki</th>
<tr>
<th>Nazwa: </th>
<th>Metraż: </th>
<th>Kwota: </th>
</tr>
<!-- <tr class="comp_part">
<td name="comp_name"></td>
<td name="comp_surface"></td>
<td name="comp_value"></td>
</tr> -->
<tr class="comp_sum">
<td>Suma: </td>
<td name="comp_surface_sum"></td>
<td name="comp_sum"></td>
</tr>
</table>
</div>
<button type="reset" class="reset">Zresetuj</button>
</div>
<script src="calc.js" charset="utf-8"></script>
</body>
</html>