Compare commits
3 Commits
81bd506e1c
...
3bd6bda6e1
Author | SHA1 | Date |
---|---|---|
Rogier Neeleman | 3bd6bda6e1 | 5 years ago |
Rogier Neeleman | 90109fabc6 | 5 years ago |
Rogier Neeleman | eedc985a2e | 5 years ago |
9 changed files with 128 additions and 69 deletions
@ -1,21 +1,29 @@ |
|||||||
<h2>Game Info</h2> |
<h2>Game Info</h2> |
||||||
<div class="table-responsive"> |
<div class="table"> |
||||||
<table class="table"> |
<table class="table"> |
||||||
<tr> |
<tr> |
||||||
<th>My Role</th> |
<th>My Game</th> |
||||||
<td>{{ current_user.role_in_game(game).name }}</td> |
<td>{{ game.name.title() }}</td> |
||||||
</tr> |
</tr> |
||||||
<tr> |
<tr> |
||||||
<th>Game State</th> |
<th>My Name</th> |
||||||
<td>{{ game.state.name }}</td> |
<td>{{ current_user.name.title() }}</td> |
||||||
</tr> |
</tr> |
||||||
<tr> |
<tr> |
||||||
<th>Start Time</th> |
<th>My Role</th> |
||||||
<td>{% if game.start_time %}{{ moment(game.start_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %}</td> |
<td>{{ current_user.role_in_game(game).name.title() }}</td> |
||||||
</tr> |
</tr> |
||||||
<tr> |
<tr> |
||||||
<th>End Time</th> |
<th>Game State</th> |
||||||
<td>{% if game.end_time %}{{ moment(game.end_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %}</td> |
<td>{{ game.state.name.title() }}</td> |
||||||
</tr> |
</tr> |
||||||
|
<tr> |
||||||
|
<th>Start Time</th> |
||||||
|
<td>{% if game.start_time %}{{ moment(game.start_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %}</td> |
||||||
|
</tr> |
||||||
|
<tr> |
||||||
|
<th>End Time</th> |
||||||
|
<td>{% if game.end_time %}{{ moment(game.end_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %}</td> |
||||||
|
</tr> |
||||||
</table> |
</table> |
||||||
</div> |
</div> |
||||||
|
Loading…
Reference in new issue