1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-17 23:24:20 +00:00
royalnet/templates/main.html
2019-01-29 19:26:06 +01:00

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 id="royal-games">
<img src="{{ url_for('static', filename='LogoRoyalGames.svg') }}" alt=""> Royal Games
</h1>
<div class="two-columns">
<div class="left">
{% if not g.user %}
{% include "components/welcome.html" %}
{% endif %}
{% if g.user %}
{% if events %}
{% include "components/eventlist.html" %}
{% endif %}
{% endif %}
{% include "components/memberbox.html" %}
{% if g.user %}
{% include "components/wikibox.html" %}
{% endif %}
</div>
<div class="right">
{% if not g.user %}
{% include "components/whatarewe.html" %}
{% endif %}
{% if g.user %}
{% include "components/questboard.html" %}
{% endif %}
{% include "components/gamestatsbox.html" %}
{% if g.user %}
{% include "components/links.html" %}
{% include "components/diariooftheday.html" %}
{% endif %}
</div>
</div>
{% endblock %}