diff --git a/app/static/css/default.css b/app/static/css/default.css new file mode 100644 index 0000000..e69de29 diff --git a/app/templates/_game_player_info.html b/app/templates/_game_player_info.html index c1d6c65..43d868d 100644 --- a/app/templates/_game_player_info.html +++ b/app/templates/_game_player_info.html @@ -1,21 +1,29 @@
My Role | -{{ current_user.role_in_game(game).name }} | -
---|---|
Game State | -{{ game.state.name }} | -
Start Time | -{% if game.start_time %}{{ moment(game.start_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %} | -
End Time | -{% if game.end_time %}{{ moment(game.end_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %} | -
My Game | +{{ game.name.title() }} | +
My Name | +{{ current_user.name.title() }} | +
My Role | +{{ current_user.role_in_game(game).name.title() }} | +
Game State | +{{ game.state.name.title() }} | +
Start Time | +{% if game.start_time %}{{ moment(game.start_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %} | +
End Time | +{% if game.end_time %}{{ moment(game.end_time).format('DD-MM-YYYY, hh:mm')}}{% else %}-{% endif %} | +
New User? Click to Register!
New User? Click to Register!
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/app/templates/auth/register.html b/app/templates/auth/register.html index af31b5c..54eeb5a 100644 --- a/app/templates/auth/register.html +++ b/app/templates/auth/register.html @@ -2,12 +2,14 @@ {% import 'bootstrap/wtf.html' as wtf %} {% block app_content %} -Already have an account? Click to Sign In!
Already have an account? Click to Sign In!
-{% endblock %} \ No newline at end of file + ++
If you found this page, it probably means someone who is organising a hunt invited you by sending a link or QR-code to this page. You can start playing right away, if and if you get logged out just visit this page again. However, if you want to be sure other people can't steal this account, please set a password. -
- - -{% endblock %} \ No newline at end of file + + + +Player Name | -Times Caught - - (Accepted/Denied/Not reviewed) - - | +Times Caught | Last location | |
---|---|---|---|---|
{{ bunny.user.name }} | -{{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'accepted') |list|length}} / + | {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'accepted') |list|length}} / {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'denied') |list|length}} / {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'none') |list|length}} | @@ -43,15 +38,28 @@ {% endwith %}- + |
{{ game.name }} | -{{ game.state.name}} | +{{ game.state.name.title() }} | {{ game.start_time }} | {{ game.end_time }} | {% for gameplayer in current_user.user_games if gameplayer.game == game %} - {{ gameplayer.role.name }} + {{ gameplayer.role.name.title() }} {% endfor %} |