File tree Expand file tree Collapse file tree
Html/Student Registration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Admin Panel</ title >
7+ < link rel ="stylesheet " href ="style.css ">
8+ </ head >
9+ < body >
10+
11+ < ul >
12+ < li > < a class ="active " href ="login.html "> Student Login</ a > </ li >
13+ < li > < a href ="register.html "> Register</ a > </ li >
14+ < li > < a href ="#admin "> Admin</ a > </ li >
15+
16+ </ ul >
17+ < h2 > Admin Panel</ h2 >
18+ < p > Welcome, Admin!</ p >
19+ < h3 > Manage Students</ h3 >
20+
21+ <!-- Display students list (use back-end to populate this) -->
22+ < table border ="1 ">
23+ < tr >
24+ < th > Class</ th >
25+ < th > Section</ th >
26+ < th > Roll Number</ th >
27+ < th > Actions</ th >
28+ </ tr >
29+ <!-- Sample row -->
30+ < tr >
31+ < td > 10</ td >
32+ < td > A</ td >
33+ < td > 102</ td >
34+ < td >
35+ < button > Edit</ button >
36+ < button > Delete</ button >
37+ </ td >
38+ </ tr >
39+ </ table >
40+ </ body >
41+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Document</ title >
7+ </ head >
8+ < body >
9+
10+ </ body >
11+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Student Login</ title >
7+ < link rel ="stylesheet " href ="style.css ">
8+ </ head >
9+ < body >
10+ < ul >
11+ < li > < a class ="active " href ="#Student Login "> Student Login</ a > </ li >
12+ < li > < a href ="register.html "> Register</ a > </ li >
13+ < li > < a href ="admin.html "> Admin</ a > </ li >
14+
15+ </ ul >
16+ < h2 > Student Login</ h2 >
17+ < form >
18+ < label for ="roll_number "> Roll Number:</ label >
19+ < input type ="text " id ="roll_number " name ="roll_number " required > < br > < br >
20+
21+ < label for ="password "> Password:</ label >
22+ < input type ="password " id ="password " name ="password " required > < br > < br >
23+
24+ < input type ="submit " value ="Login ">
25+ </ form >
26+ </ body >
27+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Student Registration</ title >
7+ < link rel ="stylesheet " href ="style.css ">
8+ </ head >
9+ < body >
10+ < ul >
11+ < li > < a class ="active " href ="login.html "> Student Login</ a > </ li >
12+ < li > < a href ="#register "> Register</ a > </ li >
13+ < li > < a href ="admin.html "> Admin</ a > </ li >
14+
15+ </ ul >
16+ < h2 > Student Registration</ h2 >
17+ < form >
18+ < label for ="class "> Class:</ label >
19+ < input type ="text " id ="class " name ="class " required > < br > < br >
20+
21+ < label for ="section "> Section:</ label >
22+ < input type ="text " id ="section " name ="section " required > < br > < br >
23+
24+ < label for ="roll_number "> Roll Number:</ label >
25+ < input type ="text " id ="roll_number " name ="roll_number " required > < br > < br >
26+
27+ < label for ="password "> Password:</ label >
28+ < input type ="password " id ="password " name ="password " required > < br > < br >
29+
30+ < input type ="submit " value ="Register ">
31+ </ form >
32+ </ body >
33+ </ html >
Original file line number Diff line number Diff line change 1+ body {
2+ font-family : Arial, sans-serif;
3+ background-color : # f0f8ff ;
4+ color : # 333 ;
5+ padding : 20px ;
6+ text-align : center;
7+ }
8+
9+ h2 {
10+ color : # 4682b4 ;
11+ }
12+
13+ form {
14+ margin : 0 auto;
15+ width : 300px ;
16+ }
17+
18+ input [type = text ], input [type = password ] {
19+ width : 100% ;
20+ padding : 10px ;
21+ margin : 8px 0 ;
22+ box-sizing : border-box;
23+ }
24+
25+ input [type = submit ] {
26+ background-color : # 4682b4 ;
27+ color : white;
28+ padding : 10px 20px ;
29+ border : none;
30+ cursor : pointer;
31+ }
32+
33+ input [type = submit ]: hover {
34+ background-color : # 4169e1 ;
35+ }
You can’t perform that action at this time.
0 commit comments