Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
738 commits
Select commit Hold shift + click to select a range
d6182d5
Rules
nitjofficial Jul 28, 2023
f5a82ac
Merge pull request #277 from wdmc-nitj/main
nitjofficial Jul 28, 2023
e0974c6
test
nitjofficial Jul 28, 2023
2dff587
Merge pull request #278 from wdmc-nitj/main
nitjofficial Jul 28, 2023
bec7629
rules
nitjofficial Jul 28, 2023
d9d1b04
Merge pull request #279 from wdmc-nitj/main
nitjofficial Jul 28, 2023
75dfb02
cc
nitjofficial Jul 28, 2023
5492ddd
Merge pull request #280 from wdmc-nitj/main
nitjofficial Jul 28, 2023
4bcb651
cc
nitjofficial Jul 28, 2023
2e14340
Merge pull request #281 from wdmc-nitj/main
nitjofficial Jul 28, 2023
ed47f7d
cc
nitjofficial Jul 28, 2023
dc6624a
Merge pull request #282 from wdmc-nitj/main
nitjofficial Jul 28, 2023
07f8f8b
cc
nitjofficial Jul 28, 2023
bc4bdb1
Merge pull request #283 from wdmc-nitj/main
nitjofficial Jul 28, 2023
b82ba59
test
nitjofficial Jul 28, 2023
9b0710f
Merge pull request #284 from wdmc-nitj/main
nitjofficial Jul 28, 2023
bf4ca70
testcc
nitjofficial Jul 28, 2023
1a91e80
Merge pull request #285 from wdmc-nitj/main
nitjofficial Jul 28, 2023
a994c4e
cctest
nitjofficial Jul 28, 2023
28d423d
Merge pull request #286 from wdmc-nitj/main
nitjofficial Jul 28, 2023
a08d97a
test
nitjofficial Jul 28, 2023
c36e7a9
Merge pull request #287 from wdmc-nitj/main
nitjofficial Jul 28, 2023
525efb7
testcc
nitjofficial Jul 28, 2023
15525a2
Merge pull request #288 from wdmc-nitj/main
nitjofficial Jul 28, 2023
be52d71
testcc
nitjofficial Jul 28, 2023
fd7b1df
Merge pull request #289 from wdmc-nitj/main
nitjofficial Jul 28, 2023
750a650
structure setup complete
ggsingla Jul 28, 2023
8391354
Code organized
ggsingla Jul 28, 2023
e33d465
cc
nitjofficial Jul 28, 2023
5a1490c
Merge pull request #290 from wdmc-nitj/main
nitjofficial Jul 28, 2023
aed5fa6
data from API
ggsingla Jul 28, 2023
c275b13
Converted to Link
ggsingla Jul 28, 2023
ab2ee10
Merge pull request #291 from wdmc-nitj/main-slider-animation
ggsingla Jul 28, 2023
9898407
Added newpage functionality
ggsingla Jul 28, 2023
25e217c
Merge pull request #292 from wdmc-nitj/main-slider-animation
ggsingla Jul 28, 2023
5043127
Update scholarship.js
harimurugan1989 Jul 29, 2023
fdc2c74
Merge pull request #293 from wdmc-nitj/harimurugan1989-patch-1
harimurugan1989 Jul 29, 2023
3694656
Update sliderTextAnimation.js
harimurugan1989 Jul 29, 2023
e720bbc
Merge pull request #294 from wdmc-nitj/harimurugan1989-patch-1
harimurugan1989 Jul 29, 2023
3e9b2a7
Update sliderTextAnimation.js
harimurugan1989 Jul 29, 2023
5ffb324
Merge pull request #295 from wdmc-nitj/harimurugan1989-patch-1
harimurugan1989 Jul 29, 2023
4fcb20e
Merge pull request #296 from wdmc-nitj/main
nitjofficial Jul 29, 2023
338de1d
Merge pull request #297 from wdmc-nitj/deployment
nitjofficial Jul 29, 2023
d89ab44
scholarship in home page
harimurugan1989 Jul 30, 2023
ad07235
Merge pull request #298 from wdmc-nitj/hari
harimurugan1989 Jul 30, 2023
a0d25c2
Updated search functionality to ignore special characters and conside…
ravinder-rapidfort Jul 31, 2023
1f726a8
Merge pull request #299 from wdmc-nitj/Search-Improvement
harimurugan1989 Jul 31, 2023
bbe7e21
Merge pull request #300 from wdmc-nitj/main
nitjofficial Jul 31, 2023
6b5c4ad
academic
nitjofficial Aug 2, 2023
49d8a63
Merge pull request #301 from wdmc-nitj/main
nitjofficial Aug 2, 2023
ce5569f
pso
nitjofficial Aug 3, 2023
c63165c
Merge pull request #302 from wdmc-nitj/main
nitjofficial Aug 3, 2023
389baa8
Implementation Team
nitjofficial Aug 3, 2023
23114b5
Merge pull request #303 from wdmc-nitj/main
nitjofficial Aug 3, 2023
81bf4b2
revert
nitjofficial Aug 3, 2023
0c25576
Merge pull request #304 from wdmc-nitj/main
nitjofficial Aug 3, 2023
eb675c4
test
nitjofficial Aug 3, 2023
93a0cbe
Merge pull request #305 from wdmc-nitj/main
nitjofficial Aug 3, 2023
2367a6e
Implementation Team
nitjofficial Aug 3, 2023
74c8bff
Merge pull request #306 from wdmc-nitj/main
nitjofficial Aug 3, 2023
eb13601
space
nitjofficial Aug 3, 2023
7318eb7
Merge pull request #307 from wdmc-nitj/main
nitjofficial Aug 3, 2023
bc9a0f8
cw_test
nitjofficial Aug 4, 2023
0d84874
Merge pull request #308 from wdmc-nitj/main
nitjofficial Aug 4, 2023
6aade7a
CW_test
nitjofficial Aug 4, 2023
19116a1
Merge pull request #309 from wdmc-nitj/main
nitjofficial Aug 4, 2023
0cc4953
routing
nitjofficial Aug 5, 2023
a9de18a
Merge pull request #310 from wdmc-nitj/main
nitjofficial Aug 5, 2023
5d4585e
routing
nitjofficial Aug 5, 2023
a4fe755
Merge pull request #311 from wdmc-nitj/main
nitjofficial Aug 5, 2023
2e786ed
test
nitjofficial Aug 5, 2023
c7daef7
Merge pull request #312 from wdmc-nitj/main
nitjofficial Aug 5, 2023
631247e
test
nitjofficial Aug 5, 2023
3b941cb
Merge pull request #313 from wdmc-nitj/main
nitjofficial Aug 5, 2023
9219397
Delete deptTimeTable.js
ichetanmittal Aug 5, 2023
b8d863e
Add files via upload
ichetanmittal Aug 5, 2023
fc03942
Merge pull request #317 from ichetanmittal/deployment
parteekcoder Aug 5, 2023
4b25605
Storage Option updated
ichetanmittal Aug 7, 2023
5f5e3f5
Update HodMessage.js
ichetanmittal Aug 7, 2023
8966592
publications
nitjofficial Aug 8, 2023
645d6f7
Merge pull request #319 from wdmc-nitj/main
nitjofficial Aug 8, 2023
cfd5232
routing
nitjofficial Aug 8, 2023
1612052
Merge pull request #320 from wdmc-nitj/main
nitjofficial Aug 8, 2023
5e18362
Merge pull request #318 from ichetanmittal/deployment
nitjofficial Aug 8, 2023
e35594e
DOI feild added, and link in consultantancy
parteekcoder Aug 10, 2023
8f263d8
Merge pull request #321 from parteekcoder/deployment
YASH-GU24 Aug 10, 2023
0c64c3e
Upcoming Events
nitjofficial Aug 10, 2023
15629f6
Merge pull request #322 from wdmc-nitj/main
nitjofficial Aug 10, 2023
ce84da0
compter to computer
nitjofficial Aug 11, 2023
b5431f9
committee
nitjofficial Aug 11, 2023
176e461
Merge pull request #323 from wdmc-nitj/main
nitjofficial Aug 11, 2023
68baea5
test
nitjofficial Aug 11, 2023
b271723
Merge pull request #325 from wdmc-nitj/main
nitjofficial Aug 11, 2023
1a93cb8
committee
nitjofficial Aug 11, 2023
8871444
Merge pull request #326 from wdmc-nitj/main
nitjofficial Aug 11, 2023
88e2348
e
nitjofficial Aug 11, 2023
1aca178
Merge pull request #327 from wdmc-nitj/main
nitjofficial Aug 11, 2023
6be828f
anti ragging
nitjofficial Aug 13, 2023
cb329a5
Merge pull request #328 from wdmc-nitj/main
nitjofficial Aug 13, 2023
f0ba19d
Admissions and Alumini updated.
TheAnkushAgarwal Aug 13, 2023
6fd331d
revert
nitjofficial Aug 14, 2023
fe424a1
Merge pull request #330 from wdmc-nitj/main
nitjofficial Aug 14, 2023
439ca2f
email update
nitjofficial Aug 14, 2023
218ea37
Merge pull request #331 from wdmc-nitj/main
nitjofficial Aug 14, 2023
9617188
Update dept-controller.js
nitjofficial Aug 14, 2023
d1cbfcf
Merge pull request #332 from wdmc-nitj/testing
nitjofficial Aug 14, 2023
848f799
Update dept-controller.js
nitjofficial Aug 14, 2023
ceb598a
Merge pull request #333 from wdmc-nitj/testing
nitjofficial Aug 14, 2023
124975b
remove student name Header
nitjofficial Aug 14, 2023
25571c6
Merge pull request #334 from wdmc-nitj/Test1
nitjofficial Aug 14, 2023
61e8450
Merge pull request #329 from wdmc-nitj/Ankush
nitjofficial Aug 14, 2023
9c33650
Merge pull request #324 from wdmc-nitj/deployment
nitjofficial Aug 14, 2023
ccee3b1
Merge pull request #335 from wdmc-nitj/main
Namamish Aug 14, 2023
1f6ea15
Addition of Helpline for BSc-BEd
Namamish Aug 14, 2023
ecba976
Updated Admission Updates , and contact details
sushant-dhuria Aug 14, 2023
c0661ec
Merge pull request #337 from wdmc-nitj/teamd_deploy_branch
nitjofficial Aug 16, 2023
378190b
Merge pull request #336 from wdmc-nitj/teamD
nitjofficial Aug 16, 2023
88a4672
Revert "Updated Admission Updates , and contact details"
nitjofficial Aug 17, 2023
46dc639
institute flyers
nitjofficial Aug 17, 2023
67b0a80
Merge pull request #339 from wdmc-nitj/main
nitjofficial Aug 17, 2023
34b0aa3
revert
nitjofficial Aug 17, 2023
47f2485
Merge pull request #340 from wdmc-nitj/main
nitjofficial Aug 17, 2023
024f357
faculty in more than 1 dept
parteekcoder Aug 17, 2023
03bf89b
Update authController.js
parteekcoder Aug 17, 2023
305edf1
senate
nitjofficial Aug 18, 2023
07fe495
Merge pull request #342 from wdmc-nitj/main
nitjofficial Aug 18, 2023
f8a7e5e
Merge pull request #338 from wdmc-nitj/revert-337-teamd_deploy_branch
nitjofficial Aug 18, 2023
b1a917a
Merge pull request #341 from parteekcoder/deployment
nitjofficial Aug 18, 2023
c7cd71f
senate1
nitjofficial Aug 18, 2023
7a0e052
Merge pull request #343 from wdmc-nitj/main
nitjofficial Aug 18, 2023
526f116
spice
nitjofficial Aug 19, 2023
cb2c571
Merge pull request #344 from wdmc-nitj/main
nitjofficial Aug 19, 2023
d2e357b
changes to multi-dept faculty schema
aditygrg2 Aug 20, 2023
870221a
Merge branch 'deployment' of https://github.com/wdmc-nitj/nitj-websit…
aditygrg2 Aug 20, 2023
3ddc4da
Merge branch 'wdmc-nitj-deployment' into deployment
aditygrg2 Aug 20, 2023
abbffa5
Update faculty.js
parteekcoder Aug 21, 2023
226134a
Merge branch 'wdmc-nitj:deployment' into deployment
parteekcoder Aug 21, 2023
6297a5d
Update staff.js
parteekcoder Aug 21, 2023
b5cf7b9
Merge branch 'deployment' of https://github.com/parteekcoder/nitj-web…
parteekcoder Aug 21, 2023
b16763c
women-cell
nitjofficial Aug 22, 2023
8c5b190
Merge pull request #348 from wdmc-nitj/main
nitjofficial Aug 22, 2023
0789050
women
nitjofficial Aug 22, 2023
75d1b71
Merge pull request #349 from wdmc-nitj/main
nitjofficial Aug 22, 2023
7012790
women cell
nitjofficial Aug 22, 2023
7ede683
Merge pull request #350 from wdmc-nitj/main
nitjofficial Aug 22, 2023
d722c83
Merge pull request #345 from aditygrg2/deployment
parteekcoder Aug 22, 2023
9cfa7eb
Merge branch 'wdmc-nitj:deployment' into deployment
parteekcoder Aug 22, 2023
1232727
faculty in multiple dept
parteekcoder Aug 22, 2023
fc85217
Merge pull request #347 from parteekcoder/deployment
aditygrg2 Aug 22, 2023
3e54ff5
flyers css correct
the-akleem91 Aug 23, 2023
b6f84bd
Merge pull request #353 from the-akleem91/frontend
harimurugan1989 Aug 24, 2023
f4d6299
Update faculty.js
parteekcoder Aug 24, 2023
d72dd56
pin and shorts
Kashish-gitt Aug 25, 2023
e62519e
changes in controller
Kashish-gitt Aug 25, 2023
9f0b073
changes removed
Kashish-gitt Aug 25, 2023
34ca90f
Merge pull request #355 from wdmc-nitj/feature/pin-and-shorts
harimurugan1989 Aug 25, 2023
ebe3133
sort pin
Kashish-gitt Aug 25, 2023
b6e4d25
Merge pull request #356 from wdmc-nitj/feature/sorting-pins
harimurugan1989 Aug 25, 2023
8c6814b
Merge pull request #354 from parteekcoder/deployment
nitjofficial Aug 25, 2023
a404d41
News Pinned
the-akleem91 Aug 26, 2023
3b925df
Merge pull request #357 from the-akleem91/frontend
harimurugan1989 Aug 26, 2023
b8fb48f
changes in news section
the-akleem91 Aug 26, 2023
c3cc4ce
News section Fixed
the-akleem91 Aug 26, 2023
f69b571
News section
the-akleem91 Aug 26, 2023
1864ff8
YearlyRanking-updated
aach101 Aug 27, 2023
25f7d5a
Merge pull request #358 from the-akleem91/frontend
harimurugan1989 Aug 27, 2023
f7cbebd
Merge pull request #359 from wdmc-nitj/ranking-update
harimurugan1989 Aug 27, 2023
472a237
Photo Gallary
the-akleem91 Aug 27, 2023
f48b6e5
Revert "YearlyRanking-updated"
harimurugan1989 Aug 28, 2023
6e1274c
Merge pull request #361 from wdmc-nitj/revert-359-ranking-update
harimurugan1989 Aug 28, 2023
d7eec0e
Merge pull request #362 from wdmc-nitj/main
nitjofficial Aug 28, 2023
749d918
Revert "News section updated"
nitjofficial Aug 28, 2023
79754bc
Merge pull request #363 from wdmc-nitj/revert-362-main
nitjofficial Aug 28, 2023
878d5ba
Merge pull request #364 from wdmc-nitj/deployment
harimurugan1989 Aug 28, 2023
90dfb7e
Revert "Deployment"
harimurugan1989 Aug 28, 2023
d560a78
Merge pull request #365 from wdmc-nitj/revert-364-deployment
harimurugan1989 Aug 28, 2023
9a431fa
rti
nitjofficial Aug 28, 2023
46ab099
news-section-corrected
harimurugan1989 Aug 30, 2023
6081aca
Merge pull request #370 from wdmc-nitj/news-corrected
harimurugan1989 Aug 30, 2023
a9fd8d9
yarn updated
harimurugan1989 Aug 30, 2023
858f73e
Merge pull request #373 from wdmc-nitj/news-corrected
harimurugan1989 Aug 30, 2023
72bc034
news is working correctly
Kashish-gitt Aug 30, 2023
a8b87fe
Merge pull request #376 from wdmc-nitj/pins
harimurugan1989 Aug 30, 2023
fbf5484
rti
nitjofficial Aug 31, 2023
28a847f
Merge pull request #378 from wdmc-nitj/main
ggsingla Aug 31, 2023
31647ef
Merge pull request #380 from wdmc-nitj/deployment
ggsingla Aug 31, 2023
ff8a5cd
cards completed
harimurugan1989 Sep 1, 2023
3509b97
International student page cards
harimurugan1989 Sep 1, 2023
34fe3ff
Merge pull request #381 from wdmc-nitj/int-students
harimurugan1989 Sep 1, 2023
42ff141
Revert "Int students"
harimurugan1989 Sep 1, 2023
9188373
Merge pull request #382 from wdmc-nitj/revert-381-int-students
harimurugan1989 Sep 1, 2023
a48a12c
Order-sorted
aach101 Sep 1, 2023
ab33097
Merge pull request #383 from wdmc-nitj/yearlyRanking-updated
harimurugan1989 Sep 1, 2023
c142e84
International Page
the-akleem91 Sep 4, 2023
43ac8bd
News
the-akleem91 Sep 4, 2023
70fbaad
Merge pull request #384 from the-akleem91/frontend
harimurugan1989 Sep 4, 2023
46434a3
add Deans Message
the-akleem91 Sep 5, 2023
aa29f80
international
the-akleem91 Sep 5, 2023
8205e07
Merge pull request #385 from the-akleem91/frontend
harimurugan1989 Sep 5, 2023
ae83193
Update rti-cell.html
nitjofficial Sep 6, 2023
65c12d9
Merge pull request #386 from wdmc-nitj/main
ggsingla Sep 6, 2023
acaf19d
TBI Round 3 added
nitjofficial Sep 7, 2023
bfd6190
Merge pull request #388 from wdmc-nitj/main
nitjofficial Sep 7, 2023
e7bc4be
Merge pull request #387 from wdmc-nitj/apio
ggsingla Sep 7, 2023
46ad442
Merge pull request #390 from wdmc-nitj/main
ggsingla Sep 7, 2023
fe3fcfb
International Page
the-akleem91 Sep 7, 2023
2dd7d8b
Merge pull request #391 from the-akleem91/frontend
harimurugan1989 Sep 7, 2023
b8adae3
internal page reviewed
harimurugan1989 Sep 7, 2023
ee13177
Merge pull request #392 from wdmc-nitj/int-students
harimurugan1989 Sep 7, 2023
200e90b
Merge pull request #393 from wdmc-nitj/main
nitjofficial Sep 7, 2023
ddc3acb
Merge pull request #394 from wdmc-nitj/deployment
nitjofficial Sep 7, 2023
7bc6521
top fixed
the-akleem91 Sep 8, 2023
8fd42dc
admission updates spacing issue solved.🤖
TheAnkushAgarwal Sep 8, 2023
2024807
Merge branch 'main' into frontend
harimurugan1989 Sep 8, 2023
f1e0f91
Merge pull request #395 from the-akleem91/frontend
harimurugan1989 Sep 8, 2023
f400f35
indentation corrected.
TheAnkushAgarwal Sep 8, 2023
5ef5336
Merge pull request #396 from wdmc-nitj/Ankush
dohitdeegwal Sep 8, 2023
f4c2d64
data updated for international student page
harimurugan1989 Sep 10, 2023
ac69b13
Merge pull request #397 from wdmc-nitj/int-students
harimurugan1989 Sep 10, 2023
c9d2698
Merge pull request #398 from wdmc-nitj/main
dohitdeegwal Sep 10, 2023
d29b6f5
Replicate changes from prev commits.
itzzGaurav7 Sep 10, 2023
ac00db2
Merge pull request #399 from itzzGaurav7/100092023-changes
nitjofficial Sep 11, 2023
51c82be
Merge pull request #400 from wdmc-nitj/main
nitjofficial Sep 11, 2023
a072f05
Merge pull request #401 from wdmc-nitj/deployment
nitjofficial Sep 11, 2023
cb710cc
Update faculty.js
parteekcoder Sep 13, 2023
daa4873
Merge pull request #404 from parteekcoder/main
nitjofficial Sep 15, 2023
706bc81
Optimized Footer JS
ggsingla Sep 16, 2023
d0e7267
Footer CSS Updated
ggsingla Sep 16, 2023
1652db9
Merge pull request #405 from wdmc-nitj/footer-updation
harimurugan1989 Sep 16, 2023
9cd84f3
Update navbar.html
nitjofficial Sep 23, 2023
7ebff2d
Merge pull request #406 from wdmc-nitj/apio
nitjofficial Sep 23, 2023
64af634
Update navbar.html
nitjofficial Sep 23, 2023
76282ea
Merge pull request #408 from wdmc-nitj/ERP
nitjofficial Sep 23, 2023
2a471b4
update ERP link
nitjofficial Sep 23, 2023
db2f489
Merge pull request #411 from wdmc-nitj/ERP
nitjofficial Sep 23, 2023
f53cb82
Merge pull request #409 from wdmc-nitj/main
nitjofficial Sep 23, 2023
a1d20d2
Update jobs.js
sarthaksharma39 Sep 25, 2023
2b2b09e
Merge pull request #1 from sarthaksharma39/sarthaksharma39-patch-1
sarthaksharma39 Sep 25, 2023
d1205a2
Update jobs.js
sarthaksharma39 Sep 25, 2023
98d22c1
Update jobs.js
sarthaksharma39 Sep 25, 2023
a5ca51b
Merge pull request #2 from sarthaksharma39/sarthaksharma39-patch-2
sarthaksharma39 Sep 25, 2023
95d0eb9
Merge pull request #415 from sarthaksharma39/main
dohitdeegwal Sep 25, 2023
797ef17
ERP link
nitjofficial Sep 26, 2023
c89801b
Merge branch 'ERP' of https://github.com/wdmc-nitj/nitj-website-deplo…
nitjofficial Sep 26, 2023
33dfdd7
Merge pull request #416 from wdmc-nitj/ERP
nitjofficial Sep 26, 2023
c4361be
Did some change 1.0
Sep 26, 2023
a2b8087
Updated alumni, awards, giving back
Sep 27, 2023
8e08e01
debug faculty button issue
Oct 17, 2023
e9d87df
Changed alumni, html footer,etc
Oct 18, 2023
c377d32
changed alumni portal
Oct 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ next-env.d.ts

package-lock.json

/public/style.css
/public/style.css

/~
2 changes: 0 additions & 2 deletions .vscode/settings.json

This file was deleted.

105 changes: 67 additions & 38 deletions admin_panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ const Testimonial = require("./models/testimonial");
const Timeline = require("./models/timeline");
const upcommingEvent = require("./models/upcomingEvent");
const yearlyRanking = require("./models/yearlyRanking");
const scholarship=require("./models/scholarship");
const initiative=require("./models/initiatives");

// Research Menu
const researchMenuName = "Research";
const Consultancy = require("./models/research/consultancy");
const Events = require("./models/research/events");
// const Events = require("./models/research/events");
const MoUs = require("./models/research/MoUs");
const researchPublications = require("./models/research/researchPublications");
const sponsoredProjects = require("./models/research/sponsoredProjects");
Expand All @@ -73,13 +75,19 @@ const DefaultJobsTab = require("./models/recruitmentUpdates").DefaultJobsTab;
const addmissionHelpline = require("./models/admissions/admissionHelpline");
const addmissionUpdate = require("./models/admissions/admissionUpdate");
const importantLink = require("./models/admissions/importantLink");
const majorProgramme = require("./models/admissions/majorProgramme.js");
const minorProgramme = require("./models/admissions/minorProgramme.js");


const newpage = require("./models/newpage");

const User = require("./models/AdminBroUser");
const { query } = require("express");
const { filter } = require("compression");
const specialCentres = require("./models/specialCentres");
const curriculum = require("./models/curriculum");
const examSchedule = require("./models/examSchedule");
const deptwiseFaculty = require("./models/deptwiseFaculty");

const canModifyUsers = ({ currentAdmin }) =>
currentAdmin && currentAdmin.role === "admin";
Expand Down Expand Up @@ -2139,13 +2147,13 @@ const AdminBroOptions = {
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: Events,
options: {
navigation: researchMenuName,
actions: { list: { isAccessible: isAdmin } },
},
},
// {
// resource: Events,
// options: {
// navigation: researchMenuName,
// actions: { list: { isAccessible: isAdmin } },
// },
// },
{
resource: MoUs,
options: {
Expand Down Expand Up @@ -2250,12 +2258,10 @@ const AdminBroOptions = {
if (currentAdmin.role === "admin") {
return [
"_id",
"department",
"name",
"email",
"password",
"img",
"position",
"education_qualification",
"address",
"gender",
Expand All @@ -2276,7 +2282,6 @@ const AdminBroOptions = {
"event",
"sourceOfInfo",
"show",
"order",
"affiliations",
"createdAt",
"updatedAt",
Expand All @@ -2287,8 +2292,6 @@ const AdminBroOptions = {
"name",
"email",
"img",
"position",
"department",
"education_qualification",
"address",
"gender",
Expand Down Expand Up @@ -2331,12 +2334,10 @@ const AdminBroOptions = {
if (currentAdmin.role === "admin") {
return [
"_id",
"department",
"name",
"email",
"password",
"img",
"position",
"education_qualification",
"address",
"gender",
Expand All @@ -2357,7 +2358,6 @@ const AdminBroOptions = {
"event",
"sourceOfInfo",
"show",
"order",
"affiliations",
"createdAt",
"updatedAt",
Expand All @@ -2368,8 +2368,6 @@ const AdminBroOptions = {
"name",
"email",
"img",
"position",
"department",
"address",
"gender",
"dob",
Expand Down Expand Up @@ -2398,12 +2396,10 @@ const AdminBroOptions = {
if (currentAdmin.role === "admin") {
return [
"_id",
"department",
"name",
"email",
"password",
"img",
"position",
"education_qualification",
"address",
"gender",
Expand All @@ -2424,7 +2420,6 @@ const AdminBroOptions = {
"event",
"sourceOfInfo",
"show",
"order",
"affiliations",
"createdAt",
"updatedAt",
Expand All @@ -2435,8 +2430,6 @@ const AdminBroOptions = {
"name",
"email",
"img",
"position",
"department",
"address",
"gender",
"dob",
Expand Down Expand Up @@ -2465,12 +2458,10 @@ const AdminBroOptions = {
if (currentAdmin.role === "admin") {
return [
"_id",
"department",
"name",
"email",
"password",
"img",
"position",
"education_qualification",
"address",
"gender",
Expand All @@ -2491,7 +2482,6 @@ const AdminBroOptions = {
"event",
"sourceOfInfo",
"show",
"order",
"affiliations",
"createdAt",
"updatedAt",
Expand All @@ -2503,7 +2493,6 @@ const AdminBroOptions = {
"email",
"img",
"position",
"department",
"address",
"gender",
"dob",
Expand Down Expand Up @@ -2532,12 +2521,10 @@ const AdminBroOptions = {
if (currentAdmin.role === "admin") {
return [
"_id",
"department",
"name",
"email",
"password",
"img",
"position",
"education_qualification",
"address",
"gender",
Expand All @@ -2558,7 +2545,6 @@ const AdminBroOptions = {
"event",
"sourceOfInfo",
"show",
"order",
"affiliations",
"createdAt",
"updatedAt",
Expand All @@ -2569,8 +2555,6 @@ const AdminBroOptions = {
"name",
"email",
"img",
"position",
"department",
"address",
"gender",
"dob",
Expand Down Expand Up @@ -2599,12 +2583,10 @@ const AdminBroOptions = {
if (currentAdmin.role === "admin") {
return [
"_id",
"department",
"name",
"email",
"password",
"img",
"position",
"education_qualification",
"address",
"gender",
Expand All @@ -2625,7 +2607,6 @@ const AdminBroOptions = {
"event",
"sourceOfInfo",
"show",
"order",
"affiliations",
"createdAt",
"updatedAt",
Expand All @@ -2636,8 +2617,6 @@ const AdminBroOptions = {
"name",
"email",
"img",
"position",
"department",
"address",
"gender",
"dob",
Expand Down Expand Up @@ -2672,13 +2651,42 @@ const AdminBroOptions = {
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: scholarship,
options: {
navigation: "Scholarship",
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: initiative,
options: {
navigation: "Initiative",
actions: { list: { isAccessible: isAdmin } },
},
},

{
resource: specialCentres,
options: {
navigation: "AcademicsSystem",
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: curriculum,
options: {
navigation: "AcademicsSystem",
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: examSchedule,
options: {
navigation: "AcademicsSystem",
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: AcademicNotices,
options: {
Expand Down Expand Up @@ -2792,6 +2800,13 @@ const AdminBroOptions = {
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: deptwiseFaculty,
options: {
navigation: "Faculty",
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: Tender,
options: {
Expand Down Expand Up @@ -2849,6 +2864,20 @@ const AdminBroOptions = {
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: majorProgramme,
options: {
navigation: "Admissions",
actions: { list: { isAccessible: isAdmin } },
},
},
{
resource: minorProgramme,
options: {
navigation: "Admissions",
actions: { list: { isAccessible: isAdmin } },
},
},

{
resource: Publication,
Expand Down Expand Up @@ -2937,4 +2966,4 @@ const router = AdminBroExpressjs.buildAuthenticatedRouter(admin_panel, {
cookiePassword: "some-secret-password-used-to-secure-cookie",
});

module.exports = { admin_panel, router };
module.exports = { admin_panel, router };
Loading