mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-15 00:13:00 -06:00
Add template control flow to display login & sign or username
- Also commit the relevant TTF font for the myspace logo in the previous commit
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
<div class="header-primary">
|
||||
<span id="logo">runnerspace</span>
|
||||
<div class="header-login">
|
||||
{% if logged_in %}
|
||||
Logged in as <a href="/user/{{ user.username }}" class="username">{{ user.username }}</a>
|
||||
{% else %}
|
||||
<a href="/login">Login</a> or <a href="/signup">Sign-up</a>!
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<nav class="header-secondary">
|
||||
|
||||
Reference in New Issue
Block a user