Course Info
diff --git a/client/src/Pages/CourseTable.jsx b/client/src/Pages/CourseTable.jsx
index 587ab90..e97aa61 100644
--- a/client/src/Pages/CourseTable.jsx
+++ b/client/src/Pages/CourseTable.jsx
@@ -50,36 +50,42 @@ const CourseTable = () => {
};
return (
- <>
+
{/* Pass setCourses to FilterPage so it can update the course list */}
-
-
-
-
- | CourseID |
- Course Name |
- Status |
-
-
-
- {courses.length > 0 ? (
- courses.map((course) => (
- handleRowClick(course)}>
- | {course.courseId} |
- {course.name} |
- {getStatus(course.courseId)} |
+
+
+
+
+
+ | CourseID |
+ Course Name |
+ Status |
- ))
- ) : (
-
- | No courses available |
-
- )}
-
-
+
+
+ {courses.length > 0 ? (
+ courses.map((course) => (
+ handleRowClick(course)}>
+ | {course.courseId} |
+ {course.name} |
+ {getStatus(course.courseId)} |
+
+ ))
+ ) : (
+
+ | No courses available |
+
+ )}
+
+
+
- >
+
);
};
diff --git a/client/src/Pages/DepartmentConsolidated.jsx b/client/src/Pages/DepartmentConsolidated.jsx
index 646bb6f..6adcd2f 100644
--- a/client/src/Pages/DepartmentConsolidated.jsx
+++ b/client/src/Pages/DepartmentConsolidated.jsx
@@ -3,6 +3,7 @@ import axios from "axios";
import Navbar from "./Navbar";
import Footer from "./Footer";
+
const DepartmentConsolidated = () => {
const [searchQuery, setSearchQuery] = useState("");
const [data, setData] = useState([]);
@@ -55,9 +56,15 @@ const DepartmentConsolidated = () => {
};
return (
- <>
+
);
};
diff --git a/client/src/Pages/Footer.jsx b/client/src/Pages/Footer.jsx
index 6ead07e..8046f06 100644
--- a/client/src/Pages/Footer.jsx
+++ b/client/src/Pages/Footer.jsx
@@ -4,7 +4,7 @@ const contributors = [
{ name: "Harshitha Shetty", github: "https://github.com/HarshithaShetty27" },
{ name: "Harikrishnan Gopal", github: "https://github.com/hk151109" },
{ name: "Suhrud Korgaokar", github: "https://github.com/amNobodyyy" },
- { name: "Hasya Aburi", github: "https://github.com/ayoitshasya" }
+ { name: "Hasya Abburi", github: "https://github.com/ayoitshasya" }
];
const footerStyle = {
@@ -13,9 +13,10 @@ const footerStyle = {
textAlign: "center",
padding: "16px",
width: "100%",
- position: "relative",
+ position: "relative", // Change from "fixed" to "relative"
bottom: "0",
- boxShadow: "0px -2px 10px rgba(0, 0, 0, 0.2)"
+ boxShadow: "0px -2px 10px rgba(0, 0, 0, 0.2)",
+ marginTop: "30px"
};
const linkStyle = {
diff --git a/client/src/Pages/PanelConsolidated.jsx b/client/src/Pages/PanelConsolidated.jsx
index e20ebd1..e7d9885 100644
--- a/client/src/Pages/PanelConsolidated.jsx
+++ b/client/src/Pages/PanelConsolidated.jsx
@@ -57,9 +57,13 @@ const PanelConsolidated = () => {
};
return (
- <>
+
);
};
diff --git a/client/src/Pages/courseConsolidated.jsx b/client/src/Pages/courseConsolidated.jsx
index 0d6850d..d205e54 100644
--- a/client/src/Pages/courseConsolidated.jsx
+++ b/client/src/Pages/courseConsolidated.jsx
@@ -451,10 +451,14 @@ const CourseConsolidated = () => {
return (
- <>
+
);
};
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..4b77f93
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,6 @@
+{
+ "name": "appointment_to_examiner",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {}
+}
diff --git a/server/package-lock.json b/server/package-lock.json
index 77b0993..6a871bd 100644
--- a/server/package-lock.json
+++ b/server/package-lock.json
@@ -21,6 +21,7 @@
"express-session": "^1.18.0",
"googleapis": "^134.0.0",
"jsonwebtoken": "^9.0.2",
+ "mongodb": "^6.15.0",
"mongoose": "^8.9.5",
"mongoose-findorcreate": "^4.0.0",
"multer": "^1.4.5-lts.1",
@@ -263,9 +264,9 @@
}
},
"node_modules/bson": {
- "version": "6.10.1",
- "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.1.tgz",
- "integrity": "sha512-P92xmHDQjSKPLHqFxefqMxASNq/aWJMEZugpCjf+AF/pgcUpMMQCg7t7+ewko0/u8AapvF3luf/FoehddEK+sA==",
+ "version": "6.10.3",
+ "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.3.tgz",
+ "integrity": "sha512-MTxGsqgYTwfshYWTRdmZRC+M7FnG1b4y7RO7p2k3X24Wq0yv1m77Wsj0BzlPzd/IowgESfsruQCUToa7vbOpPQ==",
"license": "Apache-2.0",
"engines": {
"node": ">=16.20.1"
@@ -1479,13 +1480,13 @@
}
},
"node_modules/mongodb": {
- "version": "6.12.0",
- "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.12.0.tgz",
- "integrity": "sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==",
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.15.0.tgz",
+ "integrity": "sha512-ifBhQ0rRzHDzqp9jAQP6OwHSH7dbYIQjD3SbJs9YYk9AikKEettW/9s/tbSFDTpXcRbF+u1aLrhHxDFaYtZpFQ==",
"license": "Apache-2.0",
"dependencies": {
"@mongodb-js/saslprep": "^1.1.9",
- "bson": "^6.10.1",
+ "bson": "^6.10.3",
"mongodb-connection-string-url": "^3.0.0"
},
"engines": {
@@ -1562,6 +1563,52 @@
"integrity": "sha512-wi0vrTmazWBeZn8wHVdb8NEa+ZrAbnmfI8QltnFeIgvC33VlnooapvPSk21W22IEhs0vZ0cBz0MmXcc7eTTSZQ==",
"license": "MIT"
},
+ "node_modules/mongoose/node_modules/mongodb": {
+ "version": "6.12.0",
+ "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.12.0.tgz",
+ "integrity": "sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@mongodb-js/saslprep": "^1.1.9",
+ "bson": "^6.10.1",
+ "mongodb-connection-string-url": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=16.20.1"
+ },
+ "peerDependencies": {
+ "@aws-sdk/credential-providers": "^3.188.0",
+ "@mongodb-js/zstd": "^1.1.0 || ^2.0.0",
+ "gcp-metadata": "^5.2.0",
+ "kerberos": "^2.0.1",
+ "mongodb-client-encryption": ">=6.0.0 <7",
+ "snappy": "^7.2.2",
+ "socks": "^2.7.1"
+ },
+ "peerDependenciesMeta": {
+ "@aws-sdk/credential-providers": {
+ "optional": true
+ },
+ "@mongodb-js/zstd": {
+ "optional": true
+ },
+ "gcp-metadata": {
+ "optional": true
+ },
+ "kerberos": {
+ "optional": true
+ },
+ "mongodb-client-encryption": {
+ "optional": true
+ },
+ "snappy": {
+ "optional": true
+ },
+ "socks": {
+ "optional": true
+ }
+ }
+ },
"node_modules/mongoose/node_modules/ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
diff --git a/server/package.json b/server/package.json
index f85fd00..ee51746 100644
--- a/server/package.json
+++ b/server/package.json
@@ -30,6 +30,7 @@
"express-session": "^1.18.0",
"googleapis": "^134.0.0",
"jsonwebtoken": "^9.0.2",
+ "mongodb": "^6.15.0",
"mongoose": "^8.9.5",
"mongoose-findorcreate": "^4.0.0",
"multer": "^1.4.5-lts.1",