1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +00:00
royalnet/templates/base.html

39 lines
No EOL
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="keywords" content="Royal Games, RYG, gaming">
{% block prehead %}{% endblock %}
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
<link href="{{ url_for('static', filename='pygments.css') }}" rel="stylesheet" type="text/css">
<link href="{{ url_for('static', filename=g.css) }}" rel="stylesheet/less" type="text/css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.0.2/less.min.js"></script>
{% block posthead %}{% endblock %}
</head>
<body>
<nav>
<div class="left">
<img src="{{ url_for('static', filename='FixMeRYGLogo.jpg') }}" class="ryg-logo">
<b>Royalnet</b>
<a href="/">Home</a>
</div>
<div class="right">
{% if config["DEBUG"] %}
<span id="debug-mode">
DEBUG MODE
</span>
{% endif %}
<span class="login-status">
{% if session.get('username') is not none %}
<a href="/profile/{{ session.get('username') }}">{{ session.get('username') }}</a>
<a class="btn" href="/logout">Logout</a>
{% else %}
<a class="btn" href="/login">Login</a>
{% endif %}
</span>
</div>
</nav>
{% block body %}{% endblock %}
</body>
</html>