1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
royalnet/templates/main.html
2018-07-24 19:45:12 +02:00

95 lines
No EOL
2.9 KiB
HTML

{% extends 'base.html' %}
{% block pagetitle %}
Pagina principale
{% endblock %}
{% block body %}
<h1>
Royal Games
</h1>
<div class="main-page">
<div class="left">
<div class="box upper-box">
Prossimi eventi
</div>
<div class="box lower-box">
{% for event in next_events %}
{% include "/components/event.html" %}
{% endfor %}
</div>
<div class="box upper-box">
Pagine Wiki
</div>
<div class="box lower-box">
<ul>
{% for page in wiki_pages %}
<li><a href="/wiki/{{ page.key }}">{{ page.key }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="right">
<div class="box upper-box">
Membri
</div>
<div class="box lower-box">
<ul>
{% for royal in royals %}
<li><a href="/profile/{{ royal.username }}">{{ royal.username }}</a></li>
{% endfor %}
</ul>
</div>
<div class="box upper-box">
Resoconti
</div>
<div class="box lower-box">
<ul>
<li><a href="/game/ryg">Royal Games</a></li>
<li><a href="/game/steam">Steam</a></li>
<li><a href="/game/dota">Dota 2</a></li>
<li><a href="/game/rl">Rocket League</a></li>
<li><a href="/game/lol">League of Legends</a></li>
<li><a href="/game/ow">Overwatch</a></li>
<li><a href="/game/osu">osu!</a></li>
</ul>
</div>
<div class="box upper-box">
Diario
</div>
<div class="box lower-box">
{% include "components/diarioentry.html" %}
<a href="/diario">Visualizza tutto</a>
</div>
</div>
</div>
<!--
<h2>Profili</h2>
<ul>
{% for user in royals %}
<li><a href="/profile/{{ user.username }}">{{ user.username }}</a></li>
{% endfor %}
</ul>
<h2>Giochi</h2>
<ul>
<li><a href="/game/ryg">Royal Games</a></li>
<li><a href="/game/steam">Steam</a></li>
<li><a href="/game/dota">Dota 2</a></li>
<li><a href="/game/rl">Rocket League</a></li>
<li><a href="/game/lol">League of Legends</a></li>
<li><a href="/game/ow">Overwatch</a></li>
<li><a href="/game/osu">osu!</a></li>
</ul>
<h2>Wiki</h2>
<ul>
{% for page in wiki_pages %}
<li><a href="/wiki/{{ page.key }}">{{ page.key }}</a></li>
{% endfor %}
</ul>
<h2>Diario</h2>
<ul>
<a href="/diario">Nuovo</a>
</ul>
</div>
-->
{% endblock %}