-
Notifications
You must be signed in to change notification settings - Fork 0
/
login_feedback.html
84 lines (54 loc) · 2.18 KB
/
login_feedback.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
<!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">
<script
src="https://kit.fontawesome.com/683b4b40e3.js"
crossorigin="anonymous"
>
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap" rel="stylesheet">
<title>Document</title>
<link rel="stylesheet" href="./styles/main.css">
<link rel="stylesheet" href="styles/footer.css">
</head>
<body>
<div id="body"></div>
<div id="footer"></div>
</body>
</html>
<script type="module">
import navbarsidebar from "./scripts/sidebarfeed.js";
var body = document.querySelector("#body");
body.innerHTML = navbarsidebar();
import feedback from "./scripts/feedback.js";
var verticalbox2 = document.getElementById("verticalbox2");
verticalbox2.innerHTML = feedback()
let foot= document.getElementById("footer");
import footer from "./components/footer.js";
foot.innerHTML=footer();
document.querySelector("#menu").style.visibility = "hidden";
document.querySelector("#mainm").addEventListener("click", first);
function first(){
document.querySelector("#menu").style.visibility = "visible";
console.log("Test")
this.removeEventListener("click", first);
document.querySelector("#mainm").addEventListener("click", ()=>{
document.querySelector("#menu").style.visibility = "hidden";
document.querySelector("#mainm").addEventListener("click", first);
})
}
var mobnum = localStorage.getItem("mobileNumber");
document.querySelector("#mobnum").textContent = mobnum;
document.querySelector("#mob").textContent = mobnum;
document.querySelector("#logoutBtn").addEventListener("click", ()=>{
localStorage.setItem("login", false);
window.localStorage.removeItem('user_details');
localStorage.setItem("givedetails", false);
window.location.href = "venues.html";
})
</script>