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

42 lines
1.9 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-07-22 15:15:29 +00:00
<meta name="keywords" content="Royal Games, RYG, gaming">
2018-05-07 10:51:24 +00:00
{% block prehead %}{% endblock %}
2018-07-22 15:15:29 +00:00
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
2018-07-31 17:15:52 +00:00
<link href="{{ url_for('static', filename='pygments.css') }}" rel="stylesheet" type="text/css">
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">
2018-07-29 16:00:30 +00:00
<img src="{{ url_for('static', filename='FixMeRYGLogo.jpg') }}" class="ryg-logo">
2018-07-15 16:40:25 +00:00
<b>Royalnet</b>
<a href="/">Home</a>
2018-07-21 20:46:02 +00:00
<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>
2018-07-15 16:40:25 +00:00
</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>