Browse Source

Put username and gamename in the navbar. Remove it on a mobile device.

testing
Rogier Neeleman 4 years ago
parent
commit
eedc985a2e
  1. 1
      app/templates/base.html

1
app/templates/base.html

@ -27,6 +27,7 @@ @@ -27,6 +27,7 @@
{% if current_user.is_anonymous %}
<li><a href="{{ url_for('auth.login') }}">Login</a></li>
{% else %}
<li><a href="#"><div class="hidden-xs hidden-sm">{{ current_user.name }}{% if game is defined %}/{{ game.name }}{% endif %}</div></a></li>
<li><a href="{{ url_for('auth.logout') }}">Logout</a></li>
{% endif %}
</ul>

Loading…
Cancel
Save