1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/templates/main.html

44 lines
No EOL
1.5 KiB
HTML

{% extends 'base.html' %}
{% block pagetitle %}
Pagina principale
{% endblock %}
{% block prehead %}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
{% endblock %}
{% block body %}
<h1 class="super-title">
<img src="{{ url_for('static', filename='FixMeRYGLogo.jpg') }}" alt=""> Royal Games
</h1>
<div class="two-columns">
<div class="left">
{% if not g.logged_in %}
{% include "components/welcome.html" %}
{% endif %}
{% if g.logged_in %}
{% if events %}
{% include "components/eventlist.html" %}
{% endif %}
{% endif %}
{% include "components/memberbox.html" %}
{% if g.logged_in %}
{% include "components/wikibox.html" %}
{% endif %}
</div>
<div class="right">
{% if not g.logged_in %}
{% include "components/whatarewe.html" %}
{% endif %}
{% if g.logged_in %}
{% include "components/questboard.html" %}
{% endif %}
{% include "components/gamestatsbox.html" %}
{% if g.logged_in %}
{% include "components/links.html" %}
{% include "components/diariooftheday.html" %}
{% endif %}
</div>
</div>
{% endblock %}