1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-18 07:34:20 +00:00
royalnet/templates/base.html

31 lines
1.2 KiB
HTML
Raw Normal View History

2018-05-07 10:51:24 +00:00
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
2018-06-04 20:54:12 +00:00
<meta name="viewport" content="width=device-width">
2018-05-07 10:51:24 +00:00
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
{% block prehead %}{% endblock %}
2018-05-14 08:43:20 +00:00
<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>
2018-05-07 10:51:24 +00:00
{% block posthead %}{% endblock %}
</head>
<body>
2018-07-15 16:40:25 +00:00
<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>
2018-07-15 16:42:59 +00:00
<a class="btn" href="/logout">Logout</a>
2018-07-15 16:40:25 +00:00
{% else %}
2018-07-15 16:42:59 +00:00
<a class="btn" href="/login">Login</a>
2018-07-15 16:40:25 +00:00
{% endif %}
</span>
</div>
</nav>
2018-05-07 10:51:24 +00:00
{% block body %}{% endblock %}
</body>
</html>