comstatus.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Complaint Status</title>
<link rel="stylesheet" href="complaint.css">
</head>
<style>
.b{
background-color: aquamarine;
}
.menu
{
border-radius: 2%;
padding: 1%;
width: 60%;
margin-left: 25%;
background-color: azure;
}
.nav
{
font-size: smaller;
border-radius: 10px;
border-color: rgb(3, 3, 3);
padding: 2%;
background-color: rgb(196, 196, 196);
}
.CustName
{
padding: 2%;
text-align: end;
}
.File
{
color: azure;
padding-left: 1%;
border-radius: 5px;
background-color: rgb(75, 171, 226);
padding : 1%;
}
.button
{
text-align: center;
margin-top: 3%;
margin: 1%;
}
</style>
<body class="b">
<div class="menu">
<div class="Ebill">
<h3 style="color: rgb(211, 5, 5);">Quick Ebill</h3>
</div>
<hr>
<div Class="nav">
<nav>
<a href="viewbill.html" style = "padding-right: 10px; padding-left: 10px;text-decoration: none;color: white;">HOME</a>
<a href="bill.html" style = "padding-right: 10px; padding-left: 10px;text-decoration: none;color: white;">PAY BILL</a>
<a href="Regcom.html" style = "padding-right: 10px; padding-left: 10px;text-decoration: none;color: white;">REGISTER COMPLAINT</a>
<a href="comstatus.html" style = "padding-right: 10px; padding-left: 10px;text-decoration: none;color: white;">COMPLAINT STATUS</a>
</nav>
</div>
<div class="CustName">
<span>Welcome</span>
<span id="CName"></span>
<a href="login.html"> <button
style=" border-radius: 10px;background-color:rgb(241, 163, 117); border-color: aliceblue; text-align: center;width: 20%;">Logout</button></a>
</div>
<div class="File">
<span>Check your Complaint here!</span>
</div>
<div class="complainNumber" style="padding: 5%;">
<label for="">Complaint Number</label>
<input type="text" id="">
</div>
<div class="button">
<input
style="border-radius: 5px;background-color:rgb(86, 202, 173); border-color: aliceblue; text-align: center;width: 15%; padding: 0.5%;"
type="button" value="Reset">
<input
style="border-radius: 5px;background-color:rgb(86, 202, 173); border-color: aliceblue; text-align: center;width: 20%; padding: 0.5%;"
type="button" value="Get Complaint Status">
</div>
</div>
<script>
document.getElementById("CName").innerHTML = localStorage.getItem("c_name")
</script>
</body>
</html>