1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

uiohyhuhui

This commit is contained in:
Steffo 2018-10-07 23:28:41 +02:00
parent fc8da313e4
commit bb6d32547a
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
Royal Games
</h1>
<div class="main-page">
{% if g.time_left %}
{% if g.event_started %}
<div class="halloween">
<div class="box">
<div class="upper-box">

View file

@ -378,7 +378,7 @@ def pre_request():
fl_g.event_started, fl_g.event_progress = db.Halloween.puzzle_status()
fl_g.time_left = datetime.datetime.fromtimestamp(1540999800) - datetime.datetime.now()
fl_g.display_on_main_site = (fl_g.time_left < datetime.timedelta(days=7)) or __debug__
fl_g.css = "spoopy.less" if (fl_g.event_started) else "nryg.less"
fl_g.css = "spoopy.less" if fl_g.event_started else "nryg.less"
fl_g.rygconf = config