{% extends "basic.html" %} {% block title %} Who's at the hackerspace? {% endblock %} {% block content %}

Now at hackerspace!

{% if devices|length > 0 %} It looks like someone is {% else %} It doesn't look like anyone {% endif %} is in the hackerspace. This is because there {% if devices|length == 0 %} are no devices {% elif devices|length == 1 %} is 1 device {% else %} are {{ devices|length }} devices {% endif %} on the network. (More precisely, there {% if devices|length == 1 %}is{% else %}are{% endif %} {{ devices|length }} active DHCP lease{%if devices|length != 1%}s{% endif %}.)

{% for user, hwaddr, ip, timestamp, formatted_time in devices %} {% endfor %}
NameLeased since
{% if user %} {% if user.url %} {{ user.login }} {% else %} {{ user.login }} {% endif %} {% else %} Unknown {% endif %}
{{formatted_time}}
{% if unknowns > 0 %}

{% if unknowns == 1 %} Is the unknown device yours? {% else %} Is one of the unknown devices yours? {% endif %} Claim your device!

{% endif %} {% endblock %}