-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
466bf1e
commit 438b43e
Showing
7 changed files
with
112 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,4 @@ | ||
.App { | ||
text-align: center; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
width: 800px; | ||
margin: 0 auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
export interface ITest { | ||
simulationRuns: ISimulationRuns[] | ||
scenarios: IScenarios[] | ||
} | ||
|
||
export interface IScenarios { | ||
scenarioId: string; | ||
maxnumberOfStops: number; | ||
maxRunningTime: number | ||
} | ||
|
||
export interface ISimulationRuns { | ||
startTime: number; | ||
endTime: number; | ||
scenarioId: string, | ||
carBuild: string, | ||
result: IResult | ||
} | ||
|
||
export interface IResult { | ||
numberOfStops: number | ||
hasCollision: boolean | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import React from 'react' | ||
import { Icon, Label, Menu, Table } from 'semantic-ui-react' | ||
|
||
const LogsTable = () => ( | ||
<Table celled> | ||
<Table.Header> | ||
<Table.Row> | ||
<Table.HeaderCell>scenarioId </Table.HeaderCell> | ||
<Table.HeaderCell>carBuild </Table.HeaderCell> | ||
<Table.HeaderCell>startTime </Table.HeaderCell> | ||
<Table.HeaderCell>runningTime / maxRunningTime </Table.HeaderCell> | ||
<Table.HeaderCell>numberOfStops / maxNumberOfStops </Table.HeaderCell> | ||
<Table.HeaderCell>hasCollision </Table.HeaderCell> | ||
<Table.HeaderCell>doesScenarioPass </Table.HeaderCell> | ||
</Table.Row> | ||
</Table.Header> | ||
<Table.Body> | ||
<Table.Row> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
</Table.Row> | ||
<Table.Row> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
</Table.Row> | ||
<Table.Row> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
<Table.Cell>Cell</Table.Cell> | ||
</Table.Row> | ||
</Table.Body> | ||
|
||
<Table.Footer> | ||
<Table.Row> | ||
<Table.HeaderCell colSpan='7'> | ||
<Menu floated='right' pagination> | ||
<Menu.Item as='a' icon> | ||
<Icon name='chevron left' /> | ||
</Menu.Item> | ||
<Menu.Item as='a'>1</Menu.Item> | ||
<Menu.Item as='a'>2</Menu.Item> | ||
<Menu.Item as='a'>3</Menu.Item> | ||
<Menu.Item as='a'>4</Menu.Item> | ||
<Menu.Item as='a' icon> | ||
<Icon name='chevron right' /> | ||
</Menu.Item> | ||
</Menu> | ||
</Table.HeaderCell> | ||
</Table.Row> | ||
</Table.Footer> | ||
</Table> | ||
) | ||
|
||
export default LogsTable |