Ethan Dalool
1c30ef5785
New frontends folder will hold all front-end interfaces for etiquette. Existing flask site moved here and refers to itself as a package with external launcher. etiquette_site renamed to etiquette_flask
13 lines
No EOL
510 B
HTML
13 lines
No EOL
510 B
HTML
{% macro make_header(session) %}
|
|
<div id="header">
|
|
<a class="header_element" href="/">Etiquette</a>
|
|
<a class="header_element" href="/search">Search</a>
|
|
<a class="header_element" href="/tags">Tags</a>
|
|
{% if session %}
|
|
<a class="header_element" href="/user/{{session.user.username}}">{{session.user.username}}</a>
|
|
<a class="header_element" href="/logout" style="flex:0">Logout</a>
|
|
{% else %}
|
|
<a class="header_element" href="/login">Log in</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endmacro %} |