-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathStatus1.html
117 lines (110 loc) · 3.91 KB
/
Status1.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
116
117
<html>
<head>
<style type="text/css">
.collapsible {
background-color: white;
color: black;
cursor: pointer;
padding: 18px;
width: 100%;
border: 1px solid black;
text-align: left;
outline: none;
font-size: 15px;
}
.active, .collapsible:hover {
background-color: palevioletred;
}
.content {
padding: 0 18px;
display: none;
overflow: hidden;
background-color: #f1f1f1;
width:100%;
}
.img1 {
width:500px;
height:300px;
}
.button {
background-color: #011530;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
figcaption{
font-weight: bold;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: medium;
}
</style>
</head>
<body style="align:left;">
<h1 align="center">Your Documents</h1>
<button type="button" class="collapsible">
<h3>Click to view your documents</h3>
</button>
<div class="content">
<div align="center">
<figure>
<img class="img1" src="licence.jpg" />
<figcaption>Driving License</figcaption><br/> <br/>
<img class="img1" src="rc.jpg"/>
<figcaption>Vehicle Registration Certificate</figcaption><br/><br/>
<img class="img1" src="PUC.jpg"/>
<figcaption>Vehicle Pollution Certificate</figcaption><br/><br/>
<img src="insurance.png"/>
<figcaption>Vehicle insurance</figcaption><br/><br/>
</figure>
</div>
</div>
<h1 align="center">Your Vehicle Details</h1>
<button type="button" class="collapsible">
<h3>Click to view your vehicle details.</h3>
</button>
<div class="content">
<div align="center">
<table border="1">
<tr>
<th>Vehicle Class</th>
<th>Vehicle Type</th>
<th>Model</th>
<th>Action</th>
</tr>
<tr>
<td align="center">Two Wheeler</td>
<td align="center">Scooter</td>
<td align="center">TVS Jupiter ZX 2021</td>
<td><a href="Status.html"><button id="btn1" class="button">Check Status</button></a></td>
</tr>
<tr>
<td align="center">Four Wheeler</td>
<td align="center">Car</td>
<td align="center">Lamborghini Murcielago LP640</td>
<td><a href="Status.html"><button id="btn1" class="button">Check Status</button></a></td>
</tr>
</table>
</div>
</div>
</body>
<script>
var coll = document.getElementsByClassName("collapsible");
var count;
for (count = 0; count < coll.length; count++) {
coll[count].addEventListener("click", function() {
//alert("hello");
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.display === "block") {
content.style.display = "none";
}
else {
content.style.display = "block";
}
});
}
</script>
</html>