-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
115 lines (115 loc) · 3.92 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="nb">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Bilinformasjon - Statens Vegvesen</title>
<link rel="stylesheet" href="./scss/bootstrap.scss" />
</head>
<body>
<!-- Start Div for entering registration number -->
<div class="container d-flex justify-content-center ps-2 pe-2 mt-5 sm-m-5">
<div class="">
<div class="bg-dark bg-gradient text-white p-4 mb-4 rounded shadow-sm">
<div class="d-none d-lg-block">
<h3 class="text-center">
Skriv inn registreringsnummeret (AA12345)
</h3>
</div>
<div class="d-sm-block d-md-block d-lg-none">
<h6 class="text-center">
Skriv inn registreringsnummeret (AA12345)
</h6>
</div>
</div>
<!-- End Div for entering registration number -->
<!-- Start Div for input field -->
<div>
<form id="regnrform">
<label for="bilinformasjon" class="form-label"
>Registreringsnummer</label
>
<input
id="bilinformasjon"
class="form-control shadow-sm"
type="text"
/>
<div class="d-flex justify-content-center">
<span
id="feilMelding"
class="helper-text"
data-error="Feil lengde på registreringsnummer"
></span>
<button
id="submitButton"
class="btn btn-primary btn-lg mt-4"
type="submit"
disabled
>
Hent informasjon
</button>
</div>
</form>
</div>
<!-- End Div for input field -->
<!-- Start Div Loading spinner -->
<div id="loadingSpinner" class="container mt-4 text-center d-none">
<h4>Henter informasjon, vennligst vent</h4>
<br />
<div class="spinner-border" role="status">
<span class="visually-hidden"
>Henter informasjon, vennligst vent</span
>
</div>
<div class="row">
<div class="preloader-wrapper small active">
<div class="spinner-layer spinner-teal-only">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
</div>
</div>
<!-- End Div Loading spinner -->
<!-- Start Div information table -->
<div
id="tableElement"
class="container mt-5 d-none animate__animated animate__fadeIn"
>
<table class="table table-responsive table-hover">
<caption class="mt-2">
Kjøretøyinformasjon
</caption>
<thead>
<tr>
<th scope="col">Skilt</th>
<th scope="col">Førstereg</th>
<th scope="col">Eierreg</th>
<th scope="col">EU kontroll</th>
</tr>
</thead>
<tbody>
<tr id="trInfo">
<td id="kjennemerke"> </td>
<td id="forstegangsregistrering"> </td>
<td id="forstegangsregistreringEier"> </td>
<td id="sistKontrollert"> </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- End Div information table -->
<!-- Compiled and minified JavaScript -->
<script type="module" src="./scripts/main.ts"></script>
</body>
</html>