89 lines
2.4 KiB
HTML
89 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport"
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Aroma Calculator</title>
|
|
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<h1>Aroma Calculator</h1>
|
|
|
|
<form id="calculator">
|
|
<div class="mischrechner">
|
|
<h3>Mischrechner</h3>
|
|
|
|
<label for="aromaamount">Aromamenge: </label>
|
|
<input type="text" id="aromaamount" name="aromaamount">
|
|
|
|
<label for="aromaconc">Aromakonzentration in %: </label>
|
|
<input type="text" id="aromaconc" name="aromaconc">
|
|
|
|
<label for="vg">Teile VG: </label>
|
|
<input type="text" id="vg" name="vg">
|
|
|
|
<label for="pg">Teile PG: </label>
|
|
<input type="text" id="pg" name="pg">
|
|
|
|
<label for="other">Teile Sonstiges: </label>
|
|
<input type="text" id="other" name="other">
|
|
|
|
<label for="nicdose">Nikotindosis: </label>
|
|
<input type="text" id="nicdose" name="nicdose">
|
|
</div>
|
|
|
|
<div class="nikotinshot">
|
|
<h3>Nikotinshot</h3>
|
|
|
|
<label for="nicshotamount"> Menge:</label>
|
|
<input type="text" id="nicshotamount" name="nicshotamount">
|
|
|
|
<label for="nicshotnicppm"> Nikotin pro mL:</label>
|
|
<input type="text" id="nicshotnicppm" name="nicshotnicppm">
|
|
|
|
<label for="nicshotvg"> Teile VG:</label>
|
|
<input type="text" id="nicshotvg" name="nicshotvg">
|
|
|
|
<label for="nicshotpg"> Teile PG:</label>
|
|
<input type="text" id="nicshotpg" name="nicshotpg">
|
|
</div>
|
|
|
|
<div class="break"></div>
|
|
|
|
<button id="calculate" type="submit">Berechne</button>
|
|
</form>
|
|
|
|
|
|
<table style="display:none" id="results">
|
|
<caption>
|
|
<h3>Ergebnisse:</h3>
|
|
</caption>
|
|
<tr>
|
|
<td><label for="volume"> Gesamtmenge:</label></td>
|
|
<td><input type="text" id="volume" name="volume"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="countnicshot"> Zahl Nikotinshots:</label></td>
|
|
<td><input type="text" id="countnicshot" name="countnicshot"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="amountvg"> Menge VG:</label></td>
|
|
<td><input type="text" id="amountvg" name="amountvg"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="amountpg"> Menge PG:</label></td>
|
|
<td><input type="text" id="amountpg" name="amountpg"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="amountothers"> Menge Sonstiges:</label></td>
|
|
<td><input type="text" id="amountothers" name="amountothers"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script src="aromacalc.js"></script>
|
|
|
|
</body>
|
|
</html> |