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

98 lines
No EOL
4.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="main-title">
Royal Games
</h1>
<div class="main-page">
<div class="left">
<div class="box">
{% if next_events %}
<div class="upper-box">
Prossimi eventi
</div>
<div class="lower-box">
{% for event in next_events %}
{% include "components/event.html" %}
{% endfor %}
</div>
{% endif %}
</div>
<div class="box">
<div class="upper-box">
Citazione casuale dal diario
</div>
<div class="lower-box">
{% include "components/diarioentry.html" %}
<a href="{{ url_for("page_diario") }}">Visualizza tutto</a>
</div>
</div>
{% include "components/wikibox.html" %}
</div>
<div class="right">
<div class="box">
<div class="upper-box">
Link utili
</div>
<div class="lower-box">
<ul>
{% if g.rygconf['Telegram']['invite_link'] %}
<li><a href="{{ g.rygconf['Telegram']['invite_link'] }}">Link di unione a Telegram</a></li>
{% else %}
<li><i>Link di unione a Telegram disattivato</i></li>
{% endif %}
{% if g.rygconf['Discord']['invite_link'] %}
<li><a href="{{ g.rygconf['Discord']['invite_link'] }}">Link di invito a Discord</a></li>
{% else %}
<li><i>Link di invito a Discord disattivato</i></li>
{% endif %}
<li><a href="https://steamcommunity.com/groups/royalgamescastle">Gruppo Steam Community</a></li>
<li><a href="https://new.reddit.com/r/RoyalGames/">/r/RoyalGames</a></li>
<li><a href="{{ url_for("page_music") }}">Statistiche su Royal Music</a></li>
<li><a href="http://amazon.steffo.eu/royal-music-cache/">File in cache di Royal Music</a></li>
<li><a href="{{ url_for("page_activity") }}">Statistiche sull'attività</a></li>
<li><a href="https://github.com/Steffo99/royalnet">Codice sorgente di Royalnet</a></li>
</ul>
</div>
</div>
<div class="box">
<div class="upper-box">
Membri
</div>
<div class="lower-box">
<ul>
{% for royal in royals %}
<li><a href="/profile/{{ royal.username }}">{{ royal.username }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="box">
<div class="upper-box">
Resoconti
</div>
<div class="lower-box">
<ul>
<li><a href="{{ url_for("page_game", name="ryg") }}">Royal Games</a></li>
<li><a href="{{ url_for("page_game", name="halloween2018") }}">Halloween 2018</a></li>
<li><a href="{{ url_for("page_game", name="tg") }}">Telegram</a></li>
<li><a href="{{ url_for("page_game", name="discord") }}">Discord</a></li>
<li><a href="{{ url_for("page_game", name="steam") }}">Steam</a></li>
<li><a href="{{ url_for("page_game", name="dota") }}">Dota 2</a></li>
<li><a href="{{ url_for("page_game", name="lol") }}">League of Legends</a></li>
<li><a href="{{ url_for("page_game", name="ow") }}">Overwatch</a></li>
<li><a href="{{ url_for("page_game", name="osu") }}">osu!</a></li>
</ul>
</div>
</div>
</div>
</div>
{% endblock %}