1
0
forked from Hay1tsme/artemis
artemis-bugfix/core/frontend/widgets/topbar.jinja

18 lines
873 B
Plaintext
Raw Normal View History

2023-02-19 20:40:25 +00:00
<div style="background: #333; color: #f9f9f9; width: 10%; height: 50px; line-height: 50px; text-align: center; float: left;">
Navigation
</div>
<div style="background: #333; color: #f9f9f9; width: 80%; height: 50px; line-height: 50px; padding-left: 10px; float: left;">
<a href=/><button class="btn btn-primary">Home</button></a>&nbsp;
{% for game in game_list %}
<a href=game/{{ game.url }}><button class="btn btn-success">{{ game.name }}</button></a>&nbsp;
{% endfor %}
</div>
</div>
<div style="background: #333; color: #f9f9f9; width: 10%; height: 50px; line-height: 50px; text-align: center; float: left;">
{% if sesh is defined and sesh["userId"] > 0 %}
<a href="/user"><button class="btn btn-primary">Account</button></a>
{% else %}
2023-02-19 20:40:25 +00:00
<a href="/gate"><button class="btn btn-primary">Gate</button></a>
{% endif %}
2023-02-19 20:40:25 +00:00
</div>