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

39 lines
1.7 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-07 15:19:42 +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">
2019-01-29 18:25:34 +00:00
<img src="{{ url_for('static', filename='LogoRoyalGames.svg') }}" alt="" title="👑⭐️ RYG" class="ryg-logo">
2018-07-15 16:40:25 +00:00
<b>Royalnet</b>
<a href="/">Home</a>
</div>
<div class="right">
2018-09-12 23:51:06 +00:00
{% if config["DEBUG"] %}
2019-01-04 01:17:53 +00:00
<span id="debug-mode">DEBUG MODE</span>
2018-09-12 23:51:06 +00:00
{% endif %}
2018-07-15 16:40:25 +00:00
<span class="login-status">
2019-01-09 18:55:27 +00:00
{% if g.user %}
2019-01-08 19:28:33 +00:00
<a href="{{ url_for('page_profile', name=g.user.username) }}">{{ g.user.username }}</a>
2019-01-03 11:40:10 +00:00
<a class="btn" href="{{ url_for('page_logout') }}">Logout</a>
2018-07-15 16:40:25 +00:00
{% else %}
2019-01-03 11:40:10 +00:00
<a class="btn" href="{{ url_for('page_login') }}">Login</a>
2018-07-15 16:40:25 +00:00
{% endif %}
</span>
</div>
</nav>
2019-01-08 18:43:26 +00:00
<div class="omnicontainer">
{% block body %}{% endblock %}
</div>
2018-05-07 10:51:24 +00:00
</body>
</html>