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

98 lines
4.5 KiB
HTML
Raw Normal View History

2018-06-01 13:36:30 +02:00
{% extends 'base.html' %}
{% block pagetitle %}
2018-06-07 15:31:32 +02:00
Pagina principale
2018-06-01 13:36:30 +02:00
{% endblock %}
2018-10-03 00:18:41 +02:00
{% block prehead %}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
{% endblock %}
2018-06-01 13:36:30 +02:00
{% block body %}
2018-09-27 12:52:41 +02:00
<h1 id="main-title">
2018-10-01 17:46:06 +02:00
Royal Games
2018-06-01 13:36:30 +02:00
</h1>
2018-07-24 19:23:19 +02:00
<div class="main-page">
<div class="left">
2018-08-08 18:32:41 +02:00
<div class="box">
2019-01-02 17:47:13 +01:00
{% 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 %}
2018-07-24 19:45:12 +02:00
</div>
2018-08-08 18:32:41 +02:00
<div class="box">
<div class="upper-box">
Citazione casuale dal diario
</div>
<div class="lower-box">
{% include "components/diarioentry.html" %}
2019-01-03 14:13:23 +01:00
<a href="{{ url_for("page_diario") }}">Visualizza tutto</a>
2018-08-08 18:32:41 +02:00
</div>
2018-07-29 23:59:25 +02:00
</div>
2019-01-02 17:53:31 +01:00
{% include "components/wikibox.html" %}
2018-07-24 19:23:19 +02:00
</div>
<div class="right">
2018-11-18 17:38:02 +01:00
<div class="box">
<div class="upper-box">
Link utili
</div>
<div class="lower-box">
<ul>
2019-01-03 12:40:10 +01:00
{% 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 %}
2018-11-18 17:38:02 +01:00
<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>
2019-01-03 12:40:10 +01:00
<li><a href="{{ url_for("page_music") }}">Statistiche su Royal Music</a></li>
2018-11-18 17:38:02 +01:00
<li><a href="http://amazon.steffo.eu/royal-music-cache/">File in cache di Royal Music</a></li>
2019-01-03 14:13:23 +01:00
<li><a href="{{ url_for("page_activity") }}">Statistiche sull'attività</a></li>
2019-01-03 15:15:28 +01:00
<li><a href="https://github.com/Steffo99/royalnet">Codice sorgente di Royalnet</a></li>
2018-11-18 17:38:02 +01:00
</ul>
</div>
</div>
2018-08-09 19:12:59 +02:00
<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>
2018-07-24 19:45:12 +02:00
</div>
2018-08-09 19:12:59 +02:00
<div class="box">
<div class="upper-box">
Resoconti
</div>
<div class="lower-box">
<ul>
2019-01-03 14:13:23 +01:00
<li><a href="{{ url_for("page_game", name="ryg") }}">Royal Games</a></li>
2019-01-03 14:56:04 +01:00
<li><a href="{{ url_for("page_game", name="halloween2018") }}">Halloween 2018</a></li>
2019-01-03 14:13:23 +01:00
<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>
2018-08-09 19:12:59 +02:00
</ul>
</div>
2018-07-24 19:45:12 +02:00
</div>
2018-07-24 19:23:19 +02:00
</div>
</div>
2018-06-01 13:36:30 +02:00
{% endblock %}