diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-13 22:32:58 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:01 +0200 |
| commit | 7151ae60cf587a502a7e09d19ebd0fd33e761bf2 (patch) | |
| tree | 5c672458220c52cd192ef9a268a716dee3d38649 /src/components/experiments | |
| parent | f3dbecbf55832df686d6969756640f6f5853f996 (diff) | |
Add routes for experiments UI
Diffstat (limited to 'src/components/experiments')
| -rw-r--r-- | src/components/experiments/ExperimentListComponent.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/components/experiments/ExperimentListComponent.js b/src/components/experiments/ExperimentListComponent.js new file mode 100644 index 00000000..c3e3db8d --- /dev/null +++ b/src/components/experiments/ExperimentListComponent.js @@ -0,0 +1,26 @@ +import React from "react"; + +const ExperimentListContainer = ({experiments}) => ( + <table className="table"> + <thead> + <tr> + <th>Name</th> + <th>Path</th> + <th>Trace</th> + <th>Scheduler</th> + </tr> + </thead> + <tbody> + {experiments.map(experiment => ( + <tr> + <td>{experiment.name}</td> + <td>{experiment.path.name}</td> + <td>{experiment.trace.name}</td> + <td>{experiment.scheduler.name}</td> + </tr> + ))} + </tbody> + </table> +); + +export default ExperimentListContainer; |
