diff --git a/pages/tournament.js b/pages/tournament.js
index d8a0181..98a42d3 100644
--- a/pages/tournament.js
+++ b/pages/tournament.js
@@ -5,7 +5,7 @@ import {
Card,
CardBody,
Col,
- Container,
+ Container, Input, InputGroup, InputGroupAddon,
ListGroup,
ListGroupItem,
Modal,
@@ -136,10 +136,12 @@ class Match extends React.Component {
function MatchModal(props) {
let title;
+ let actionButton = '';
//possible states: single_team not_ready not_started in_progress team1_won team2_won undecided
switch (props.match.state) {
case 'in_progress':
title = 'Spiel läuft';
+ actionButton =
break;
case 'team1_won':
title = 'Spiel beendet';
@@ -155,6 +157,7 @@ function MatchModal(props) {
break;
case 'not_started':
title = 'Spiel kann gestartet werden';
+ actionButton = ;
break;
case 'undecided':
title = 'Spiel beendet';
@@ -164,11 +167,11 @@ function MatchModal(props) {
|
+ |
+ {props.match.team1} | +
|
+ |
+ {props.match.team2} | +