Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
zesje
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Works on my machine
zesje
Commits
9df3d26b
Commit
9df3d26b
authored
5 years ago
by
Ruben Young On
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.kwant-project.org/works-on-my-machine/zesje
into develop
parents
71fcc55a
a0be891d
Branches
test/add-api-tests
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#18328
passed
5 years ago
Stage: build
Stage: test
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/views/Grade.jsx
+7
-3
7 additions, 3 deletions
client/views/Grade.jsx
client/views/grade/Grade.css
+16
-0
16 additions, 0 deletions
client/views/grade/Grade.css
with
23 additions
and
3 deletions
client/views/Grade.jsx
+
7
−
3
View file @
9df3d26b
...
...
@@ -276,9 +276,13 @@ class Grade extends React.Component {
renderSuggestion
=
{
(
submission
)
=>
{
const
stud
=
submission
.
student
return
(
<
div
>
<
b
>
{
`
${
stud
.
firstName
}
${
stud
.
lastName
}
`
}
</
b
>
<
i
style
=
{
{
float
:
'
right
'
}
}
>
(
{
stud
.
id
}
)
</
i
>
<
div
className
=
'flex-parent'
>
<
b
className
=
'flex-child truncated'
>
{
`
${
stud
.
firstName
}
${
stud
.
lastName
}
`
}
</
b
>
<
i
className
=
'flex-child fixed'
>
(
{
stud
.
id
}
)
</
i
>
</
div
>
)
}
}
...
...
This diff is collapsed.
Click to expand it.
client/views/grade/Grade.css
+
16
−
0
View file @
9df3d26b
.box.is-graded
{
box-shadow
:
0px
0px
6px
#23d160
,
0
0
0
1px
rgba
(
10
,
10
,
10
,
0.1
);
}
.flex-parent
{
display
:
flex
;
align-items
:
center
;
}
.flex-child.truncated
{
flex
:
1
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.flex-child.fixed
{
white-space
:
nowrap
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment