-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
134 lines (98 loc) · 3.86 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<html>
<head>
<title>Notice-Board</title>
<link rel="stylesheet" type="text/css" href="./css/firstcss.css">
<link rel="stylesheet" type="text/css" href="./css/design1.css">
<link rel="stylesheet" type="text/css" href="./css/loginform.css">
</head>
<body style="background-color:#dcdcdc">
<div class="header">
<ul class="list">
<li class="active">Notice-Board</li>
<li class="notactive" onclick="document.getElementById('id01').style.display='block'"><a>LogIn </a></li>
<li class="notactive" onclick="document.getElementById('id02').style.display='block'"><a>SignUp</a></li>
</ul>
</div>
<div class="second">
<div class="slideshow-container">
<div class="mySlides fade">
<img src="./images/a.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="./images/b.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="./images/c.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="./images/d.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="./images/f.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="./images/g.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="./images/h.jpg" style="width:100%">
</div>
</div>
</div>
<div class="last">
<div class="lastone"></div>
<div class="lastone"></div>
</div>
<div id="id01" class="modal">
<form class="modal-content animate" action="action_page.php">
<div class="container">
<label style="font-family:Arial;">Username</label>
<input type="text" placeholder="Enter Username" name="uname" required>
<label style="font-family:Arial;">Password</label>
<input type="password" placeholder="Enter Password" name="psw" required>
<button style="font-family:Arial;color:white;" type="submit">Login</button>
</div>
<div class="container" style="background-color:#33404d;">
<button style="font-family:Arial;" type="button" onclick="document.getElementById('id01').style.display='none'" class="cancelbtn">Cancel</button>
</div>
</form>
</div>
<div id="id02" class="modal1">
<form class="modal-content animate" action="action_page.php">
<div class="container">
<label style="font-family:Arial;">Name</label>
<input type="text" placeholder="Enter Name" name="name" required>
<label style="font-family:Arial;">Username</label>
<input type="text" placeholder="Enter Username" name="uname" required>
<label style="font-family:Arial;">Roll No.</label>
<input type="text" placeholder="Enter Roll No" name="rollno" required>
<label style="font-family:Arial;">Email</label>
<input type="email" placeholder="Enter Email" name="email" required>
<label style="font-family:Arial;">Phone No.</label>
<input type="number" placeholder="Enter Phone No" name="contact" required>
<label style="font-family:Arial;">Password</label>
<input type="password" placeholder="Enter Password" name="psw" required>
<button style="font-family:Arial;color:white;" type="submit">SignUp</button>
</div>
<div class="container" style="background-color:#33404d;">
<button style="font-family:Arial;" type="button" onclick="document.getElementById('id02').style.display='none'" class="cancelbtn">Cancel</button>
</div>
</form>
</div>
<script>
// Get the modal
var modal = document.getElementById('id01');
var modal1 = document.getElementById('id02');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
else if(event.target == modal1) {
modal1.style.display = "none";
}
}
</script>
<script src = "./js/try.js">
</script>
</body>
</html>