32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Óraállások rögzítése</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<h1>km-számlálók állásának rögzítése</h1>
|
|
<form action="" id="former">
|
|
<label for="plate">Rendszám: </label>
|
|
<input type="text" name="" id="plate" required pattern="[a-zA-Z]{3}[0-9]{3}" list="valaszlista" autocomplete="off">
|
|
<datalist id="valaszlista">
|
|
</datalist>
|
|
<br>
|
|
<label for="date">Leolvasás dátum: </label>
|
|
<input type="date" name="" id="date" required>
|
|
<br>
|
|
<label for="amount">Óraállás: </label>
|
|
<input type="number" name="" id="amount" required min="0">
|
|
<br>
|
|
<button type="submit" id="save">Mentés</button>
|
|
</form>
|
|
<div class="liststyle">
|
|
<h2>A jármű eddig rögzített km-óra állásai:</h2>
|
|
<ol id="korabbiallasok">
|
|
</ol>
|
|
</div>
|
|
<script src="./script.js"></script>
|
|
</body>
|
|
</html> |