Burathar
4 years ago
9 changed files with 128 additions and 69 deletions
@ -1,21 +1,29 @@
@@ -1,21 +1,29 @@
|
||||
<h2>Game Info</h2> |
||||
<div class="table-responsive"> |
||||
<div class="table"> |
||||
<table class="table"> |
||||
<tr> |
||||
<th>My Role</th> |
||||
<td>{{ current_user.role_in_game(game).name }}</td> |
||||
</tr> |
||||
<tr> |
||||
<th>Game State</th> |
||||
<td>{{ game.state.name }}</td> |
||||
</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> |
||||
<tr> |
||||
<th>My Game</th> |
||||
<td>{{ game.name.title() }}</td> |
||||
</tr> |
||||
<tr> |
||||
<th>My Name</th> |
||||
<td>{{ current_user.name.title() }}</td> |
||||
</tr> |
||||
<tr> |
||||
<th>My Role</th> |
||||
<td>{{ current_user.role_in_game(game).name.title() }}</td> |
||||
</tr> |
||||
<tr> |
||||
<th>Game State</th> |
||||
<td>{{ game.state.name.title() }}</td> |
||||
</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> |
||||
</div> |
Loading…
Reference in new issue