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 @@
{% if current_user.is_anonymous %} {% if current_user.is_anonymous %}
<li><a href="{{ url_for('auth.login') }}">Login</a></li> <li><a href="{{ url_for('auth.login') }}">Login</a></li>
{% else %} {% 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> <li><a href="{{ url_for('auth.logout') }}">Logout</a></li>
{% endif %} {% endif %}
</ul> </ul>

Loading…
Cancel
Save