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>
|
2023-02-21 02:55:12 +00:00
|
|
|
<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>
|
2024-01-09 20:54:34 +00:00
|
|
|
{% for game, data in game_list|items %}
|
|
|
|
<a href=/game{{ data.url }}/><button class="btn btn-success">{{ game }}</button></a>
|
2023-02-21 02:55:12 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="background: #333; color: #f9f9f9; width: 10%; height: 50px; line-height: 50px; text-align: center; float: left;">
|
2023-07-24 02:21:49 +00:00
|
|
|
{% if sesh is defined and sesh["permissions"] >= 2 %}
|
2024-01-09 20:54:34 +00:00
|
|
|
<a href="/sys/"><button class="btn btn-primary">System</button></a>
|
2023-07-24 02:21:49 +00:00
|
|
|
{% endif %}
|
2024-01-09 20:54:34 +00:00
|
|
|
{% if sesh is defined and sesh["user_id"] > 0 %}
|
|
|
|
<a href="/user/"><button class="btn btn-primary">Account</button></a>
|
|
|
|
<a href="/user/logout"><button class="btn btn-danger">Logout</button></a>
|
2023-03-04 02:31:23 +00:00
|
|
|
{% else %}
|
2024-01-09 20:54:34 +00:00
|
|
|
<a href="/gate/"><button class="btn btn-primary">Gate</button></a>
|
2023-03-04 02:31:23 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2023-02-19 20:40:25 +00:00
|
|
|
</div>
|