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

47 lines
2.1 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-10-04 10:46:15 +00:00
<link href="{{ url_for('static', filename={{ g["css"] }}) }}" rel="stylesheet/less" type="text/css">
2018-09-05 17:48:34 +00:00
<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 %}
2018-10-04 10:46:15 +00:00
<a href="{{ g["rygconf"]['Telegram']['invite_link'] }}">Telegram</a>
<a href="{{ g["rygconf"]['Discord']['invite_link'] }}">Discord</a>
2018-07-21 20:46:02 +00:00
<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">
2018-09-12 23:51:06 +00:00
{% if config["DEBUG"] %}
<span id="debug-mode">
2018-09-12 23:52:55 +00:00
DEBUG MODE
2018-09-12 23:51:06 +00:00
</span>
{% endif %}
2018-07-15 16:40:25 +00:00
<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>