mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
uiohyhuhui
This commit is contained in:
parent
fc8da313e4
commit
bb6d32547a
2 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue