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
501a3cb2
Commit
501a3cb2
authored
Oct 30, 2023
by
Janith Gamage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update
parent
0dbfe927
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Project/Frontend/SignConnectPlus/src/pages/learning-management/learning-curriculums-subscribed/tutorial/tutorial.tsx
...ent/learning-curriculums-subscribed/tutorial/tutorial.tsx
+5
-2
Project/Frontend/SignConnectPlus/src/sections/learning-management/learning-curriculums-subscribed/CurriculumSection.tsx
...ent/learning-curriculums-subscribed/CurriculumSection.tsx
+4
-1
No files found.
Project/Frontend/SignConnectPlus/src/pages/learning-management/learning-curriculums-subscribed/tutorial/tutorial.tsx
View file @
501a3cb2
...
@@ -322,7 +322,7 @@ const Tutorial = () => {
...
@@ -322,7 +322,7 @@ const Tutorial = () => {
((
selectedItemContent
?.
taskItemMark
!
*
parseInt
(
marksCalculator
?.
confidence
!
))
/
100
)
!
,
((
selectedItemContent
?.
taskItemMark
!
*
parseInt
(
marksCalculator
?.
confidence
!
))
/
100
)
!
,
0
0
))
))
}
}
dispatch
(
toInitialState
())
dispatch
(
toInitialState
())
}
}
},
[
success
])
},
[
success
])
...
@@ -398,7 +398,10 @@ const Tutorial = () => {
...
@@ -398,7 +398,10 @@ const Tutorial = () => {
</
span
>
</
span
>
</
Typography
>
</
Typography
>
<
Typography
variant=
"h4"
sx=
{
{
pt
:
3
,
pb
:
1
,
zIndex
:
1
}
}
>
<
Typography
variant=
"h4"
sx=
{
{
pt
:
3
,
pb
:
1
,
zIndex
:
1
}
}
>
{
(
data
?.
tutorialMarkUser
!
/ data
?
.tutorialMarks!
)
* 100
}
% Completed
{
((
data
?.
tutorialMarkUser
!
/ data
?
.tutorialMarks!
)
* 100
)
.toLocaleString
(
undefined, {
minimumFractionDigits
:
2
,
maximumFractionDigits
:
2
,
})
}
% Completed
</
Typography
>
</
Typography
>
<
Box
sx=
{
{
maxWidth
:
'
60%
'
}
}
>
<
Box
sx=
{
{
maxWidth
:
'
60%
'
}
}
>
<
LinearProgress
variant=
"determinate"
color=
"success"
value=
{
(
data
?.
tutorialMarkUser
!
/ data
?
.tutorialMarks!
)
* 100
}
/>
<
LinearProgress
variant=
"determinate"
color=
"success"
value=
{
(
data
?.
tutorialMarkUser
!
/ data
?
.tutorialMarks!
)
* 100
}
/>
...
...
Project/Frontend/SignConnectPlus/src/sections/learning-management/learning-curriculums-subscribed/CurriculumSection.tsx
View file @
501a3cb2
...
@@ -53,7 +53,10 @@ const CurriculumSection = ({ curriculum, curriculumIndex }: { curriculum: curric
...
@@ -53,7 +53,10 @@ const CurriculumSection = ({ curriculum, curriculumIndex }: { curriculum: curric
Your learning capacity is 80% as daily analytics
Your learning capacity is 80% as daily analytics
</
Typography
>
</
Typography
>
<
Typography
variant=
"h4"
color=
"white"
sx=
{
{
pt
:
8
,
pb
:
1
,
zIndex
:
1
}
}
>
<
Typography
variant=
"h4"
color=
"white"
sx=
{
{
pt
:
8
,
pb
:
1
,
zIndex
:
1
}
}
>
{
(
curriculum
?.
curriculumMarkUser
!
/ curriculum
?
.curriculumMark!
)
* 100
}
% Completed
{
((
curriculum
?.
curriculumMarkUser
!
/ curriculum
?
.curriculumMark!
)
* 100
)
.toLocaleString
(
undefined, {
minimumFractionDigits
:
2
,
maximumFractionDigits
:
2
,
})
}
% Completed
</
Typography
>
</
Typography
>
<
Box
sx=
{
{
maxWidth
:
'
60%
'
}
}
>
<
Box
sx=
{
{
maxWidth
:
'
60%
'
}
}
>
<
LinearProgress
variant=
"determinate"
color=
"success"
value=
{
(
curriculum
?.
curriculumMarkUser
!
/ curriculum
?
.curriculumMark!
)
* 100
}
/>
<
LinearProgress
variant=
"determinate"
color=
"success"
value=
{
(
curriculum
?.
curriculumMarkUser
!
/ curriculum
?
.curriculumMark!
)
* 100
}
/>
...
...
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