-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_subject.html
126 lines (120 loc) · 5.25 KB
/
add_subject.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Result System | Add Subject</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" />
<link rel="stylesheet" href="style.css" />
<script src="authAdmin.js"></script>
</head>
<body>
<header class="header">
<div class="logo">
<i class="fa-solid fa-swatchbook"></i>
<a href="/">N Institution of Technology</a>
</div>
<div class="header-icons">
<div class="account" onclick="logOut()">
<i class="fa-solid fa-right-from-bracket"></i>
<h4>LogOut</h4>
</div>
</div>
</header>
<div class="container">
<nav>
<div class="side_navbar">
<a href="dashboard.html">Dashboard</a>
<a href="add_student.html">Add Student</a>
<a href="#" class="active">Add Subject</a>
<a href="add_marks.html">Add Marks</a>
</div>
</nav>
<div class="main-body">
<h2>Subject List</h2>
<div class="lists">
<div class="list1">
<div class="row">
<a href="#popup1"><button class="button">Add New Subject</button></a>
<!-- <a href="#">See all</a> -->
<div class="search_box">
<input type="text" placeholder="Search...">
<i class="fa-sharp fa-solid fa-magnifying-glass"></i>
</div>
</div>
<table>
<thead>
<tr>
<th>#</th>
<th>Subject Code</th>
<th>Subject Name</th>
<th>Department</th>
<th colspan="2">Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>123</td>
<td>aaaa</td>
<td>123</td>
<td>123</td>
<td>aaaa</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="popup1" class="popup-container">
<div class="card">
<div class="card_title">
<h1>Add Subject</h1>
</div>
<div class="form">
<form id="addSubjects">
<input type="text" id="subject_code" name="subject_code" placeholder="Enter subject code" required>
<input type="text" id="subject_name" name="subject_name" placeholder="Enter subject name" required>
<select name="department" id="department" required>
<option value="" selected disabled>Select Department</option>
<option value="CSE">CSE</option>
<option value="ISE">ISE</option>
<option value="ME">ME</option>
<option value="CV">CV</option>
<option value="EC">EC</option>
</select>
<p id="errorMessage"></p>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
<div id="popup2" class="popup-container">
<div class="card">
<div class="card_title">
<h1>Update Subject</h1>
</div>
<div class="form">
<form id="updateForm">
<input type="text" id="usubject_code" name="subject_code" placeholder="Enter subject code" required>
<input type="text" id="usubject_name" name="subject_name" placeholder="Enter subject name" required>
<select name="department" id="udepartment" required>
<option value="" selected disabled>Select Department</option>
<option value="CSE">CSE</option>
<option value="ISE">ISE</option>
<option value="ME">ME</option>
<option value="CV">CV</option>
<option value="EC">EC</option>
</select>
<p id="errorMessage"></p>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
<script src="subjects.js"></script>
</body>
</html>
</span>