Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-029
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-029
2023-029
Commits
c21e6f61
Commit
c21e6f61
authored
Aug 30, 2023
by
janithgamage1.ed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update
Desc : update project
parent
54b2eedd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
Project/Backend/Server_Node/controllers/marksCalculator.controller.js
...end/Server_Node/controllers/marksCalculator.controller.js
+1
-1
Project/Backend/Server_Node/server.js
Project/Backend/Server_Node/server.js
+7
-1
Project/Frontend/SignConnectPlus/src/layout/MainLayout/Header/HeaderContent/index.tsx
...Plus/src/layout/MainLayout/Header/HeaderContent/index.tsx
+8
-9
No files found.
Project/Backend/Server_Node/controllers/marksCalculator.controller.js
View file @
c21e6f61
...
...
@@ -5,7 +5,7 @@ export const marksCalculator = async (req, res) => {
const
targetClass
=
req
.
body
.
class
;
const
{
curriculumIndex
,
tutorialIndex
}
=
req
.
params
;
console
.
log
(
curriculumIndex
,
tutorialIndex
);
//
console.log(curriculumIndex, tutorialIndex);
try
{
if
(
curriculumIndex
==
1
&&
tutorialIndex
==
1
)
{
...
...
Project/Backend/Server_Node/server.js
View file @
c21e6f61
...
...
@@ -4,6 +4,12 @@ import dotenv from "dotenv";
import
express
from
"
express
"
;
import
mongoose
from
"
mongoose
"
;
import
multer
from
"
multer
"
;
// Set up storage for uploaded images
const
storage
=
multer
.
memoryStorage
();
const
upload
=
multer
({
storage
:
storage
});
//import routes
import
curriculumRoutes
from
"
./routes/curriculum.routes.js
"
;
import
feedbackRoutes
from
"
./routes/feedback.routes.js
"
;
...
...
Project/Frontend/SignConnectPlus/src/layout/MainLayout/Header/HeaderContent/index.tsx
View file @
c21e6f61
//
import { useMemo } from 'react';
import
{
useMemo
}
from
'
react
'
;
// material-ui
import
{
Theme
}
from
'
@mui/material/styles
'
;
import
{
Box
,
useMediaQuery
}
from
'
@mui/material
'
;
import
{
Theme
}
from
'
@mui/material/styles
'
;
// project import
import
Search
from
'
./Search
'
;
import
Localization
from
'
./Localization
'
;
import
Message
from
'
./Message
'
;
import
Profile
from
'
./Profile
'
;
// import Localization from './Localization';
import
Notification
from
'
./Notification
'
;
import
Profile
from
'
./Profile
'
;
import
Search
from
'
./Search
'
;
// import Customization from './Customization';
import
MobileSection
from
'
./MobileSection
'
;
// import MegaMenuSection from './MegaMenuSection';
...
...
@@ -23,13 +23,12 @@ import { MenuOrientation } from 'types/config';
// ==============================|| HEADER - CONTENT ||============================== //
const
HeaderContent
=
()
=>
{
// const { i18n, menuOrientation } = useConfig();
const
{
menuOrientation
}
=
useConfig
();
const
{
i18n
,
menuOrientation
}
=
useConfig
();
const
downLG
=
useMediaQuery
((
theme
:
Theme
)
=>
theme
.
breakpoints
.
down
(
'
lg
'
));
// eslint-disable-next-line react-hooks/exhaustive-deps
//
const localization = useMemo(() => <Localization />, [i18n]);
const
localization
=
useMemo
(()
=>
<
Localization
/>,
[
i18n
]);
// const megaMenu = useMemo(() => <MegaMenuSection />, []);
...
...
@@ -38,7 +37,7 @@ const HeaderContent = () => {
{
menuOrientation
===
MenuOrientation
.
HORIZONTAL
&&
!
downLG
&&
<
DrawerHeader
open=
{
true
}
/>
}
{
!
downLG
&&
<
Search
/>
}
{
/* {!downLG && megaMenu} */
}
{
/* {!downLG && localization} */
}
{
!
downLG
&&
localization
}
{
downLG
&&
<
Box
sx=
{
{
width
:
'
100%
'
,
ml
:
1
}
}
/>
}
<
Notification
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment