-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (47 loc) · 1.65 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
<script>
function lw() {
var i = document.getElementById("inp").value
var xhr = new XMLHttpRequest();
xhr.open("GET","http://localhost/cgi-bin/RIP/rto.py?x="+i,true);
xhr.send();
xhr.onload = function() {
var output = xhr.responseText;
document.getElementById("d1").innerHTML = output;
}
}
</script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rider Information Provider</title>
<link rel="stylesheet" href="style.css">
<body>
<div class="flex-container">
<div class="flex-child magenta">
<img src="src/car1.png" style="width: 660px; height: 610;">
</div>
<div class="flex-child green">
<!-- <h1>RTO NOTIFIER</h1> -->
<h1>Rider Info Provider <img src="src/caricon1.png" alt="logo" /></h1><br>
<!-- <div class="text-input">
<input type="text" id="plate-no" placeholder="Enter number">
<label for="input1">Enter License plate number </label>
</div><br><br>
<button type="submit" onclick="lw()" class="btn">submit</button>
</form>
</div>
</div> -->
<div class="text-input">
<input type= "text" id="inp" placeholder= "Enter License plate number">
<label for="input1">Enter License plate number </label>
</div>
<br><br>
<button id="submit" onclick="lw()" class="btn">submit</button>
<br>
<div id="d1">
</div>
</body>
</head>
</html>