1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-02-17 10:53:57 +00:00
royalnet/templates/base.html

40 lines
1.7 KiB
HTML
Raw Normal View History

2018-05-07 12:51:24 +02:00
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
2018-06-04 22:54:12 +02:00
<meta name="viewport" content="width=device-width">
2018-07-22 17:15:29 +02:00
<meta name="keywords" content="Royal Games, RYG, gaming">
2018-05-07 12:51:24 +02:00
{% block prehead %}{% endblock %}
2018-07-22 17:15:29 +02:00
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
2018-07-31 19:15:52 +02:00
<link href="{{ url_for('static', filename='pygments.css') }}" rel="stylesheet" type="text/css">
2018-10-07 17:19:42 +02:00
<link href="{{ url_for('static', filename=g.css) }}" rel="stylesheet/less" type="text/css">
2018-09-05 19:48:34 +02:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.0.2/less.min.js"></script>
2018-05-07 12:51:24 +02:00
{% block posthead %}{% endblock %}
</head>
<body>
2018-07-15 18:40:25 +02:00
<nav>
<div class="left">
2019-01-03 12:40:10 +01:00
<img src="{{ url_for('static', filename='FixMeRYGLogo.jpg') }}" alt="" class="ryg-logo">
2018-07-15 18:40:25 +02:00
<b>Royalnet</b>
<a href="/">Home</a>
</div>
<div class="right">
2018-09-13 01:51:06 +02:00
{% if config["DEBUG"] %}
2019-01-04 02:17:53 +01:00
<span id="debug-mode">DEBUG MODE</span>
2018-09-13 01:51:06 +02:00
{% endif %}
2018-07-15 18:40:25 +02:00
<span class="login-status">
2019-01-09 19:55:27 +01:00
{% if g.user %}
2019-01-08 21:03:18 +01:00
<img src="{{ g.user.get_gravatar_url() }}" class="gravatar">
2019-01-08 20:28:33 +01:00
<a href="{{ url_for('page_profile', name=g.user.username) }}">{{ g.user.username }}</a>
2019-01-03 12:40:10 +01:00
<a class="btn" href="{{ url_for('page_logout') }}">Logout</a>
2018-07-15 18:40:25 +02:00
{% else %}
2019-01-03 12:40:10 +01:00
<a class="btn" href="{{ url_for('page_login') }}">Login</a>
2018-07-15 18:40:25 +02:00
{% endif %}
</span>
</div>
</nav>
2019-01-08 19:43:26 +01:00
<div class="omnicontainer">
{% block body %}{% endblock %}
</div>
2018-05-07 12:51:24 +02:00
</body>
</html>