2018-06-01 11:36:30 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block pagetitle %}
|
2018-06-07 13:31:32 +00:00
|
|
|
Pagina principale
|
2018-06-01 11:36:30 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2018-10-02 22:18:41 +00: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-09-27 10:52:41 +00:00
|
|
|
{% block posthead %}
|
|
|
|
<script>
|
2018-10-07 15:19:42 +00:00
|
|
|
function timer() {
|
|
|
|
let now = new Date().getTime();
|
|
|
|
let to = new Date("Oct 31, 2018 15:30:00").getTime();
|
|
|
|
let result = to - now;
|
|
|
|
document.getElementById("time-left").innerHTML = Math.floor(String((result / 3600000))) + "h "
|
|
|
|
+ Math.floor(String((result / 60000) % 60)) + "m "
|
|
|
|
+ Math.floor(String((result / 1000) % 60)) + "s";
|
|
|
|
}
|
2018-09-27 10:52:41 +00:00
|
|
|
|
2018-10-07 15:19:42 +00:00
|
|
|
setInterval(timer, 100);
|
2018-09-27 10:52:41 +00:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-06-01 11:36:30 +00:00
|
|
|
{% block body %}
|
2018-09-27 10:52:41 +00:00
|
|
|
<h1 id="main-title">
|
2018-10-01 15:46:06 +00:00
|
|
|
Royal Games
|
2018-06-01 11:36:30 +00:00
|
|
|
</h1>
|
2018-07-24 17:23:19 +00:00
|
|
|
<div class="main-page">
|
|
|
|
<div class="left">
|
2018-08-08 16:32:41 +00:00
|
|
|
<div class="box">
|
|
|
|
<div class="upper-box">
|
2018-08-09 17:12:59 +00:00
|
|
|
Prossimi eventi
|
2018-08-08 16:32:41 +00:00
|
|
|
</div>
|
|
|
|
<div class="lower-box">
|
|
|
|
{% for event in next_events %}
|
2018-11-03 17:42:56 +00:00
|
|
|
{% include "components/event.html" %}
|
2018-07-24 17:45:12 +00:00
|
|
|
{% endfor %}
|
2018-08-08 16:32:41 +00:00
|
|
|
</div>
|
2018-07-24 17:45:12 +00:00
|
|
|
</div>
|
2018-09-13 22:52:00 +00:00
|
|
|
{% include "components/wikibox.html" %}
|
2018-08-08 16:32:41 +00:00
|
|
|
<div class="box">
|
|
|
|
<div class="upper-box">
|
|
|
|
Citazione casuale dal diario
|
|
|
|
</div>
|
|
|
|
<div class="lower-box">
|
|
|
|
{% include "components/diarioentry.html" %}
|
|
|
|
<a href="/diario">Visualizza tutto</a>
|
|
|
|
</div>
|
2018-07-29 21:59:25 +00:00
|
|
|
</div>
|
2018-08-08 16:32:41 +00:00
|
|
|
|
2018-07-24 17:23:19 +00:00
|
|
|
</div>
|
|
|
|
<div class="right">
|
2018-08-09 17:12:59 +00: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 17:45:12 +00:00
|
|
|
</div>
|
2018-08-09 17:12:59 +00:00
|
|
|
<div class="box">
|
|
|
|
<div class="upper-box">
|
|
|
|
Resoconti
|
|
|
|
</div>
|
|
|
|
<div class="lower-box">
|
|
|
|
<ul>
|
|
|
|
<li><a href="/game/ryg">Royal Games</a></li>
|
2018-11-03 17:45:35 +00:00
|
|
|
{% if g.css == "nryg.less" %}
|
2018-10-07 15:19:42 +00:00
|
|
|
<li><a href="/game/halloween">Halloween</a></li>
|
2018-10-03 17:43:56 +00:00
|
|
|
{% endif %}
|
2018-08-09 17:12:59 +00:00
|
|
|
<li><a href="/game/tg">Telegram</a></li>
|
|
|
|
<li><a href="/game/discord">Discord</a></li>
|
|
|
|
<li><a href="/game/steam">Steam</a></li>
|
|
|
|
<li><a href="/game/dota">Dota 2</a></li>
|
2018-08-16 14:25:05 +00:00
|
|
|
<!--li><a href="/game/rl">Rocket League</a></li-->
|
2018-08-09 17:12:59 +00:00
|
|
|
<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>
|
2018-07-24 17:45:12 +00:00
|
|
|
</div>
|
2018-07-24 17:23:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-01 11:36:30 +00:00
|
|
|
{% endblock %}
|