-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (87 loc) · 3.74 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
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CO2 - Kostenverteiler</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<script type="text/javascript" src="app.js"></script>
</head>
<body>
<!-- Header Section -->
<header class="hero is-primary">
<div class="hero-body">
<div class="container">
<h1 class="title">CO2 - Kostenverteiler</h1>
<h2 class="subtitle">Berechnen Sie die Aufteilung der CO₂-Kosten einfach und schnell</h2>
</div>
</div>
</header>
<!-- Main Content Section -->
<div class="container" style="margin-top: 20px;">
<div class="columns is-desktop is-multiline">
<!-- Living Area Input -->
<div class="column ">
<div class="field">
<label class="label">Wohnfläche in m²</label>
<div class="control">
<input id="living_area" class="input" type="text" placeholder="" />
</div>
</div>
</div>
<!-- Energy Consumption Input -->
<div class="column ">
<div class="field">
<label class="label">Energieverbrauch in kWh</label>
<div class="control">
<input id="energy_consumption" class="input" type="text" placeholder="" />
</div>
</div>
</div>
<!-- Conversion Factor Input -->
<div class="column ">
<div class="field">
<label class="label">kWh zu kg CO₂ Faktor</label>
<div class="control">
<input id="conversion_factor" class="input" type="text" placeholder="0.20088 kg CO₂/kWh" />
</div>
<p class="help">Standardwert wird verwendet, wenn leer gelassen</p>
</div>
</div>
<!-- CO2 Cost Input -->
<div class="column ">
<div class="field">
<label class="label">CO₂-Kosten (€ pro Tonne CO₂)</label>
<div class="control">
<input id="co2_cost" class="input" type="text" placeholder="30 € pro Tonne CO₂" />
</div>
<p class="help">Standardwert wird verwendet, wenn leer gelassen</p>
</div>
</div>
<!-- Mehrwertsteuer (VAT) Input -->
<div class="column ">
<div class="field">
<label class="label">Mehrwertsteuer (MwSt) in %</label>
<div class="control">
<input id="vat_rate" class="input" type="text" placeholder="19 %" />
</div>
<p class="help">Standardwert 19% wird verwendet, wenn leer gelassen</p>
</div>
</div>
</div>
<!-- Result Display -->
<div id="result" class="notification is-info" style="margin-top: 10px; display: none;"></div>
</div>
<!-- Footer Section -->
<footer class="footer" style="margin-top: 40px; padding: 20px 0;">
<div class="content has-text-centered">
<p>
<strong>CO2 - Kostenverteiler</strong> von <a href="https://github.com/aikitori/co2-kostenverteiler" target="_blank">aikitori</a>.
</p>
<p>
Diese Anwendung ist für Bildungszwecke gedacht. Ich übernehme keine Haftung für etwaige Fehler oder ungenaue Berechnungen.
</p>
</div>
</footer>
</body>
</html>