Skip to content
Snippets Groups Projects
space-status.html 765 B
Newer Older
Lukas Ruge's avatar
Lukas Ruge committed
<div id="event_soon">
{% capture nowunix %}{{'now' | date: '%s'}}{% endcapture -%}
{% for e in site.events -%}
    {% capture event_start_plus %}{{e.eventdate  | date: '%s' | minus: 86400 }}{% endcapture -%}
    {% capture event_start %}{{e.eventdate  | date: '%s' }}{% endcapture -%}
    {% if event_start_plus < nowunix and event_start > nowunix -%}
      <p id="nextevent"> {{ e.eventdate | date: "%d.%m.%Y %H:%M" }}: {{e.title}}</p>
    {% endif -%}
{% endfor -%}
</div>
Lukas Ruge's avatar
Lukas Ruge committed
<div id="spaceopen" class="chaotikum-about">
Lukas Ruge's avatar
Lukas Ruge committed
  Ob der Nobreakspace offen ist siehst du <a href='https://status.nobreakspace.org' target='_blank'>hier</a><p>Oder aktiviere Javascript</p>
Lukas Ruge's avatar
Lukas Ruge committed
</div>
Lukas Ruge's avatar
Lukas Ruge committed
<div class="presence" id="presence" style="width: 80%; margin:0 auto; margin-top: -20px;">
</div>