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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Réouven ASSOULY
zesje
Commits
7fad559a
Commit
7fad559a
authored
7 years ago
by
Thomas Roos
Browse files
Options
Downloads
Patches
Plain Diff
Remove old students file
parent
0dbb2091
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/views/AddStudents.js
+0
-54
0 additions, 54 deletions
client/views/AddStudents.js
with
0 additions
and
54 deletions
client/views/AddStudents.js
deleted
100644 → 0
+
0
−
54
View file @
0dbb2091
import
React
from
'
react
'
;
import
NavBar
from
'
../components/NavBar
'
;
import
Hero
from
'
../components/Hero
'
;
import
Footer
from
'
../components/Footer
'
;
import
ReactTable
from
'
react-table
'
class
AddStudents
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
)
var
that
=
this
;
that
.
state
=
{
students
:
[],
columns
:
[{
Header
:
'
Student #
'
,
accessor
:
'
id
'
},
{
id
:
'
studentName
'
,
Header
:
'
Name
'
,
accessor
:
s
=>
s
.
first_name
+
'
'
+
s
.
last_name
,
},
{
Header
:
'
email
'
,
accessor
:
'
email
'
}]
}
fetch
(
'
/api/students
'
)
.
then
((
response
)
=>
response
.
json
())
.
then
((
students
)
=>
{
that
.
setState
({
students
:
students
})
})
}
render
()
{
return
(
<
div
>
<
NavBar
/>
<
Hero
title
=
'
Add Students
'
subtitle
=
'
Tell me who made this exam
'
/>
<
ReactTable
columns
=
{
this
.
state
.
columns
}
data
=
{
this
.
state
.
students
}
/
>
<
h1
>
React
Router
demo
<
/h1
>
<
Footer
/>
<
/div
>
)
}
}
export
default
AddStudents
;
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