1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/templates/base.html
2018-07-15 18:42:59 +02:00

31 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
{% block prehead %}{% endblock %}
<link href="{{ url_for('static', filename='nryg.less') }}" 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">
<b>Royalnet</b>
<a href="/">Home</a>
</div>
<div class="right">
<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>