Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
Topic1
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Weerachai
Topic1
Commits
ad2a5fbf
Commit
ad2a5fbf
authored
Jul 25, 2020
by
Weerachai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first commit
parent
7e556151
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
app.component.ts
src/app/app.component.ts
+0
-2
mock-scores.ts
src/app/mock/mock-scores.ts
+4
-4
No files found.
src/app/app.component.ts
View file @
ad2a5fbf
...
...
@@ -17,8 +17,6 @@ import { SCORES } from './mock/mock-scores';
styleUrls
:
[
'./app.component.scss'
]
})
export
class
AppComponent
{
title
=
'Course Web Application'
;
description
=
'คำอธิบายรายวิชา'
;
students
:
Student
[]
=
STUDENTS
;
courses
:
Course
[]
=
COURSES
;
lecturers
:
Lecturer
[]
=
LECTURERS
;
...
...
src/app/mock/mock-scores.ts
View file @
ad2a5fbf
...
...
@@ -6,9 +6,9 @@ import { STUDENTS } from '../mock/mock-students';
const
students
:
Student
[]
=
STUDENTS
;
export
const
SCORES
:
Score
[]
=
[
{
Student
:
students
[
0
],
score
:
1
0
,
full_mark
:
20
},
{
Student
:
students
[
1
],
score
:
5
,
full_mark
:
2
0
},
{
Student
:
students
[
2
],
score
:
1
5
,
full_mark
:
20
},
{
Student
:
students
[
3
],
score
:
20
,
full_mark
:
2
0
},
{
Student
:
students
[
0
],
score
:
1
1
,
full_mark
:
25
},
{
Student
:
students
[
1
],
score
:
5
,
full_mark
:
2
5
},
{
Student
:
students
[
2
],
score
:
1
9
,
full_mark
:
25
},
{
Student
:
students
[
3
],
score
:
20
,
full_mark
:
2
5
},
];
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