mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
40 lines
No EOL
1.7 KiB
HTML
40 lines
No EOL
1.7 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='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>
|
|
<span class="desktop-only">
|
|
{% if session.get('username') is not none %}
|
|
<a href="{{ config['Telegram']['invite_link'] }}">Telegram</a>
|
|
<a href="{{ config['Discord']['invite_link'] }}">Discord</a>
|
|
<a href="https://steamcommunity.com/groups/royalgamescastle">Steam</a>
|
|
<a href="https://new.reddit.com/r/RoyalGames/">/r/RoyalGames</a>
|
|
{% endif %}
|
|
</span>
|
|
</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> |